History

gro: add ability to control gro max packet size

Eric Dumazet suggested to allow users to modify max GRO packet size. We have seen GRO being disabled by users of appliances (such as wifi access points) because of claimed bufferbloat issues, or some work arounds in sch_cake, to split GRO/GSO packets. Instead of disabling GRO completely, one can chose to limit the maximum packet size of GRO packets, depending on their latency constraints. This patch adds a per device gro_max_size attribute that can be changed with ip link command. ip link set dev eth0 gro_max_size 16000

Coco Li committed 4 years ago

Commit eac1b931 parent 007747a6 files · +41 −1Browse files

Showing the changes to include/uapi/linux (1 of 6 files). Show all

Unified · Split

include/uapi/linux/if_link.h+1−0
@@ -347,6 +347,7 @@ enum { · 346 unmodified lines
347 */347 */
348 IFLA_PARENT_DEV_NAME,348 IFLA_PARENT_DEV_NAME,
349 IFLA_PARENT_DEV_BUS_NAME,349 IFLA_PARENT_DEV_BUS_NAME,
350 IFLA_GRO_MAX_SIZE,
350 351
351 __IFLA_MAX352 __IFLA_MAX
352};353};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t