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
..
2016-01-21 19:36:08 +01:00
2016-01-18 12:10:45 -08:00
2016-01-05 18:04:58 +01:00
2015-11-16 15:41:49 +00:00
2016-01-20 18:42:30 -08:00
2016-01-13 09:26:40 -08:00
2015-12-23 08:37:10 -07:00
2015-12-22 09:38:34 -07:00
2015-12-06 12:46:31 +01:00
2016-01-30 13:35:32 -08:00
2015-10-31 19:05:59 -04:00
2016-01-08 01:12:06 +01:00
2015-10-30 01:47:27 -04:00
2015-12-28 13:41:50 +01:00
2016-01-15 17:56:32 -08:00
2015-11-25 09:22:00 -07:00
2015-10-23 05:44:28 -07:00
2016-01-20 17:09:18 -08:00
2015-12-14 10:03:46 +01:00
2016-01-15 17:56:32 -08:00
2016-01-15 17:56:32 -08:00
2015-11-23 09:44:58 +01:00
2016-01-15 17:56:32 -08:00
2015-10-27 18:55:31 -07:00
2015-12-04 22:46:26 +01:00
2015-10-20 22:10:45 +08:00
2016-01-21 11:52:16 -08:00
2016-01-14 16:08:23 -08:00
2016-01-14 16:08:23 -08:00
2016-01-04 13:19:55 -05:00
2016-01-22 17:02:18 -08:00
2016-01-21 11:52:16 -08:00
2016-01-31 09:10:19 -08:00
2016-01-15 17:56:32 -08:00
2016-01-07 14:31:27 -05:00
2015-10-22 08:59:18 -07:00
2015-11-16 09:23:47 +01:00
2016-01-15 17:56:32 -08:00
2016-01-10 22:13:15 -05:00
2015-12-13 19:59:48 -08:00
2016-01-04 16:11:11 -05:00
2016-02-09 04:28:06 -05:00
2016-01-04 10:20:19 -05:00
2015-11-13 21:53:18 -08:00
2015-11-05 14:36:09 -05:00
2016-01-15 22:34:39 +01:00
2015-11-23 09:44:58 +01:00
2015-12-21 15:28:11 -07:00
2016-01-12 20:47:02 +02:00
2016-01-15 17:56:32 -08:00
2016-01-14 16:00:49 -08:00
2015-12-03 07:24:29 -08:00