diff options
author | Hans Westgaard Ry <hans.westgaard.ry@oracle.com> | 2016-02-03 08:26:57 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-09 09:28:06 (GMT) |
commit | 5f74f82ea34c0da80ea0b49192bb5ea06e063593 (patch) | |
tree | d0c5e30a637a99cb780e47193167c3a8aa655659 /net/xfrm | |
parent | 9cf7490360bf2c46a16b7525f899e4970c5fc144 (diff) | |
download | linux-5f74f82ea34c0da80ea0b49192bb5ea06e063593.tar.xz |
net:Add sysctl_max_skb_frags
Devices may have limits on the number of fragments in an skb they support.
Current codebase uses a constant as maximum for number of fragments one
skb can hold and use.
When enabling scatter/gather and running traffic with many small messages
the codebase uses the maximum number of fragments and may thereby violate
the max for certain devices.
The patch introduces a global variable as max number of fragments.
Signed-off-by: Hans Westgaard Ry <hans.westgaard.ry@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions