Hans Westgaard Ry 5f74f82ea3 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>
2016-02-09 04:28:06 -05:00
..
2015-12-31 00:53:10 -05:00
2016-01-12 17:06:53 -05:00
2015-04-02 14:04:59 -04:00
2015-10-08 04:27:03 -07:00
2016-01-04 22:49:58 -05:00
2015-05-17 23:41:11 -04:00
2015-11-22 11:54:10 -05:00
2016-02-09 04:28:06 -05:00
2016-02-09 04:28:06 -05:00
2015-10-26 22:24:22 -07:00
2015-10-08 05:26:35 -07:00