Alexander Duyck
a0ca153f98
GRE: Disable segmentation offloads w/ CSUM and we are encapsulated via FOU
...
This patch fixes an issue I found in which we were dropping frames if we
had enabled checksums on GRE headers that were encapsulated by either FOU
or GUE. Without this patch I was barely able to get 1 Gb/s of throughput.
With this patch applied I am now at least getting around 6 Gb/s.
The issue is due to the fact that with FOU or GUE applied we do not provide
a transport offset pointing to the GRE header, nor do we offload it in
software as the GRE header is completely skipped by GSO and treated like a
VXLAN or GENEVE type header. As such we need to prevent the stack from
generating it and also prevent GRE from generating it via any interface we
create.
Fixes: c3483384ee511 ("gro: Allow tunnel stacking in the case of FOU/GUE")
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-07 16:56:33 -04:00
..
2016-03-28 17:59:29 +02:00
2016-03-21 22:56:38 -04:00
2015-08-25 13:38:50 -07:00
2016-03-07 14:55:04 -05:00
2015-04-03 12:11:15 -04:00
2015-07-29 22:44:04 -07:00
2016-03-13 23:28:35 -04:00
2015-05-28 11:23:20 +08:00
2016-03-22 15:59:23 -04:00
2015-07-24 22:46:11 -07:00
2015-09-09 14:19:50 -07:00
2015-11-04 21:34:37 -05:00
2016-02-01 15:56:08 -08:00
2016-04-07 16:56:33 -04:00
2015-08-10 14:03:54 -07:00
2016-04-07 16:56:33 -04:00
2016-03-01 17:18:44 -05:00
2016-03-08 12:34:12 -05:00
2016-02-24 13:38:18 -05:00
2016-03-14 19:38:09 -04:00
2016-01-05 22:25:57 -05:00
2016-02-12 05:28:32 -05:00
2015-09-21 16:32:29 -07:00
2015-08-28 13:32:36 -07:00
2016-03-01 17:36:47 -05:00
2016-02-16 20:42:54 -05:00
2016-04-07 16:56:33 -04:00
2016-02-16 20:42:54 -05:00
2016-03-01 17:18:44 -05:00
2016-03-08 12:34:12 -05:00
2016-02-23 00:09:14 -05:00
2016-03-27 22:35:02 -04:00
2016-03-08 12:34:12 -05:00
2015-12-25 23:32:23 -05:00
2015-04-03 12:11:15 -04:00
2016-01-29 19:39:09 -08:00
2016-02-18 14:34:54 -05:00
2015-12-03 21:09:12 -05:00
2016-02-17 16:15:46 -05:00
2016-02-17 16:15:46 -05:00
2015-09-29 20:21:32 +02:00
2016-03-02 15:00:55 -05:00
2016-02-16 20:42:54 -05:00
2014-09-19 17:15:31 -04:00
2016-02-23 00:09:14 -05:00
2016-02-18 11:31:36 -05:00
2016-03-19 10:05:34 -07:00
2016-02-16 20:42:54 -05:00
2015-07-09 14:22:52 -07:00
2015-07-09 14:22:52 -07:00
2015-09-25 13:00:38 -07:00
2015-09-17 22:35:07 -07:00
2015-10-23 02:46:52 -07:00
2015-12-15 23:26:52 -05:00
2016-03-19 10:05:34 -07:00
2015-07-09 14:22:52 -07:00
2015-07-09 14:22:52 -07:00
2015-07-09 14:22:52 -07:00
2015-07-09 14:22:52 -07:00
2016-02-23 00:09:14 -05:00
2016-03-19 10:05:34 -07:00
2014-05-03 19:23:07 -04:00
2016-03-08 12:34:12 -05:00
2016-03-14 14:55:26 -04:00
2016-02-11 08:55:33 -05:00
2016-03-14 14:55:26 -04:00
2016-03-01 17:18:44 -05:00
2015-10-21 07:00:53 -07:00
2015-07-09 14:22:52 -07:00
2016-02-07 14:35:11 -05:00
2015-07-09 14:22:52 -07:00
2015-04-29 17:10:38 -04:00
2015-07-09 14:22:52 -07:00
2015-05-05 19:50:09 -04:00
2016-01-11 17:25:16 -05:00
2016-03-19 10:05:34 -07:00
2012-03-11 23:42:51 -07:00
2016-01-04 22:49:59 -05:00
2015-03-02 13:06:31 -05:00
2016-03-23 14:19:08 -04:00
2016-02-23 19:11:56 -05:00
2016-03-22 15:53:50 -04:00
2014-05-23 16:28:53 -04:00
2015-09-17 17:18:37 -07:00
2013-12-26 13:43:21 -05:00
2015-03-25 14:07:04 -04:00
2015-10-24 06:54:12 -07:00
2015-12-22 16:26:31 -05:00
2014-06-30 07:49:47 +02:00
2013-12-18 16:58:20 -05:00
2013-05-31 17:19:05 -07:00