Andre Oppermann
3c914c547e
Allow drivers to specify a maximum TSO length in bytes if they are
...
limited in the amount of data they can handle at once.
Drivers can set ifp->if_hw_tsomax before calling ether_ifattach() to
change the limit.
The lowest allowable size is IP_MAXPACKET / 8 (8192 bytes) as anything
less wouldn't be very useful anymore. The upper limit is still at
IP_MAXPACKET (65536 bytes). Raising it requires further auditing of
the IPv4/v6 code path's as the length field in the IP header would
overflow leading to confusion in firewalls and others packet handler on
the real size of the packet.
The placement into "struct ifnet" is a bit hackish but the best place
that was found. When the stack/driver boundary is updated it should
be handled in a better way.
Submitted by: cperciva (earlier version)
Reviewed by: cperciva
Tested by: cperciva
MFC after: 1 week (using spare struct members to preserve ABI)
2013-06-03 12:55:13 +00:00
..
2011-04-13 11:28:46 +00:00
2012-08-17 01:49:51 +00:00
2013-03-17 07:37:10 +00:00
2011-11-07 15:43:11 +00:00
2011-04-12 08:13:18 +00:00
2013-05-04 19:16:26 +00:00
2012-06-18 17:11:24 +00:00
2013-04-26 12:50:32 +00:00
2013-04-26 12:50:32 +00:00
2013-05-11 10:51:32 +00:00
2013-04-26 12:50:32 +00:00
2013-03-16 08:58:28 +00:00
2012-07-31 08:04:49 +00:00
2011-10-15 16:28:06 +00:00
2012-12-05 08:04:20 +00:00
2012-01-24 14:27:14 +00:00
2013-01-25 20:14:27 +00:00
2013-05-06 16:42:18 +00:00
2011-06-06 12:55:02 +00:00
2012-01-09 08:50:22 +00:00
2012-10-13 09:31:01 +00:00
2013-05-06 16:42:18 +00:00
2013-04-21 21:28:38 +00:00
2013-04-27 23:36:01 +00:00
2013-04-09 07:11:22 +00:00
2013-04-26 12:50:32 +00:00
2013-04-26 12:50:32 +00:00
2012-10-22 21:09:03 +00:00
2012-08-07 07:52:25 +00:00
2012-11-02 01:20:55 +00:00
2013-03-20 10:35:33 +00:00
2013-05-11 19:05:38 +00:00
2012-12-05 08:04:20 +00:00
2013-05-06 16:42:18 +00:00
2013-05-06 16:42:18 +00:00
2012-10-22 21:09:03 +00:00
2013-04-16 19:32:12 +00:00
2012-07-02 19:44:18 +00:00
2013-03-16 08:58:28 +00:00
2012-10-12 09:24:24 +00:00
2013-04-26 12:50:32 +00:00
2013-04-12 16:29:15 +00:00
2012-05-04 21:00:32 +00:00
2012-12-05 08:04:20 +00:00
2013-02-09 17:26:14 +00:00
2012-06-28 16:01:08 +00:00
2012-12-05 08:04:20 +00:00
2012-05-23 11:26:28 +00:00
2012-08-04 08:03:30 +00:00
2012-06-24 21:25:54 +00:00
2012-09-06 07:03:56 +00:00
2013-03-31 18:27:46 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-05-23 11:26:28 +00:00
2012-09-07 13:36:42 +00:00
2013-02-11 13:57:03 +00:00
2012-06-28 16:01:08 +00:00
2013-02-09 17:26:14 +00:00
2012-09-07 13:36:42 +00:00
2012-05-23 11:26:28 +00:00
2013-05-24 09:21:18 +00:00
2012-05-23 11:26:28 +00:00
2013-05-17 21:45:52 +00:00
2013-02-09 17:26:14 +00:00
2013-05-10 18:09:38 +00:00
2013-02-11 21:02:49 +00:00
2012-11-26 16:44:03 +00:00
2012-11-25 14:25:08 +00:00
2012-05-23 11:26:28 +00:00
2013-02-09 17:26:14 +00:00
2013-02-09 17:26:14 +00:00
2012-06-25 17:15:09 +00:00
2013-02-09 08:27:08 +00:00
2012-05-23 11:26:28 +00:00
2012-10-29 20:47:32 +00:00
2013-02-11 21:02:49 +00:00
2012-10-29 20:47:32 +00:00
2013-02-09 17:26:14 +00:00
2013-06-02 10:35:08 +00:00
2012-11-17 20:04:04 +00:00
2013-03-07 04:42:20 +00:00
2012-10-22 21:09:03 +00:00
2012-10-19 14:00:03 +00:00
2013-06-03 12:55:13 +00:00
2013-02-21 17:00:35 +00:00
2012-05-24 23:03:23 +00:00
2012-06-19 07:34:13 +00:00
2012-06-19 07:34:13 +00:00
2013-06-03 12:55:13 +00:00
2013-02-01 14:21:09 +00:00
2012-02-15 16:09:56 +00:00
2013-06-03 12:55:13 +00:00
2013-02-01 14:21:09 +00:00
2012-10-28 18:07:34 +00:00
2013-03-04 11:09:56 +00:00
2012-11-27 19:07:28 +00:00
2012-12-05 08:04:20 +00:00
2013-01-26 01:41:42 +00:00
2013-06-03 12:55:13 +00:00
2013-02-01 15:32:20 +00:00
2013-01-26 00:57:29 +00:00
2012-08-21 18:09:33 +00:00
2012-12-08 12:51:06 +00:00
2012-03-27 15:14:29 +00:00
2013-02-01 15:32:20 +00:00