Martin KaFai Lau
b45f0674b9
mlx4: xdp: Allow raising MTU up to one page minus eth and vlan hdrs
...
When XDP is active in mlx4, mlx4 is using one page/pkt.
At the same time (i.e. when XDP is active), it is currently
limiting MTU to be FRAG_SZ0 - ETH_HLEN - (2 * VLAN_HLEN)
which is 1514 in x86. AFAICT, we can at least raise the MTU
limit up to PAGE_SIZE - ETH_HLEN - (2 * VLAN_HLEN) which this
patch is doing. It will be useful in the next patch which
allows XDP program to extend the packet by adding new header(s).
Note: In the earlier XDP patches, there is already existing guard
to ensure the page/pkt scheme only applies when XDP is active
in mlx4.
Signed-off-by: Martin KaFai Lau <kafai@fb.com >
Acked-by: Saeed Mahameed <saeedm@mellanox.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2016-12-08 14:25:13 -05:00
..
2016-11-09 13:25:14 -05:00
2016-10-13 09:36:57 -04:00
2016-11-09 13:25:12 -05:00
2016-10-13 09:36:57 -04:00
2016-11-13 00:56:26 -05:00
2016-10-18 11:34:22 -04:00
2016-12-08 13:00:02 -05:00
2016-11-15 22:05:54 -05:00
2016-11-09 13:25:12 -05:00
2016-12-03 12:29:53 -05:00
2016-10-26 17:21:59 -04:00
2016-12-03 12:29:53 -05:00
2016-12-08 11:27:46 -05:00
2016-10-13 09:36:57 -04:00
2016-11-29 18:57:36 -05:00
2016-11-15 22:46:30 -05:00
2016-12-03 12:29:53 -05:00
2016-12-07 10:59:26 -05:00
2016-11-30 10:29:02 -05:00
2016-12-03 12:29:53 -05:00
2016-12-05 15:34:33 -05:00
2016-12-08 13:21:39 -05:00
2016-12-03 12:29:53 -05:00
2016-12-06 21:33:19 -05:00
2016-11-02 15:32:53 -04:00
2016-10-13 09:36:57 -04:00
2016-10-13 09:36:57 -04:00
2016-10-18 11:34:20 -04:00
2016-12-06 21:33:19 -05:00
2016-10-17 13:03:02 -04:00
2016-10-04 02:11:51 -04:00
2016-12-06 21:33:19 -05:00
2016-10-13 09:36:57 -04:00
2016-12-06 11:41:57 -05:00
2016-10-13 09:36:57 -04:00
2016-10-13 09:36:57 -04:00
2016-11-30 14:26:26 -05:00
2016-12-06 21:38:24 -08:00
2016-12-08 11:29:21 -05:00
2016-12-03 12:29:53 -05:00
2016-12-08 14:25:13 -05:00
2016-10-18 11:34:22 -04:00
2016-10-13 09:36:57 -04:00
2016-10-13 09:36:57 -04:00
2016-10-20 14:47:53 -04:00
2016-10-26 17:21:59 -04:00
2016-10-18 11:34:20 -04:00
2016-12-08 14:25:13 -05:00
2016-10-13 09:36:57 -04:00
2016-10-18 11:34:22 -04:00
2016-10-13 09:36:57 -04:00
2016-10-18 11:34:22 -04:00
2016-10-13 09:36:57 -04:00
2016-10-18 11:34:22 -04:00
2016-12-08 14:25:13 -05:00
2016-12-03 12:29:53 -05:00
2016-10-13 09:36:57 -04:00
2016-12-05 13:38:43 -05:00
2016-12-03 12:29:53 -05:00
2016-12-03 19:29:35 -05:00
2016-10-18 11:34:22 -04:00
2016-10-13 09:36:57 -04:00
2016-12-03 16:11:00 -05:00
2016-10-13 09:36:57 -04:00
2016-10-13 09:36:57 -04:00
2016-10-13 09:36:57 -04:00
2016-11-15 16:33:35 -05:00
2016-12-08 13:07:10 -05:00
2016-11-22 13:27:16 -05:00
2016-12-03 12:29:53 -05:00
2016-10-18 11:34:22 -04:00
2016-12-07 11:13:48 -05:00
2016-10-18 11:34:21 -04:00
2016-11-15 10:54:36 -05:00
2016-10-13 09:36:57 -04:00
2016-10-18 11:34:22 -04:00
2016-10-13 09:36:57 -04:00
2016-12-08 11:34:03 -05:00
2016-10-13 09:36:57 -04:00
2016-11-15 16:33:35 -05:00
2016-10-13 09:36:57 -04:00
2016-10-13 09:36:57 -04:00
2016-12-05 15:30:04 -05:00
2016-10-13 09:36:57 -04:00
2016-10-20 14:51:08 -04:00
2016-12-06 11:24:28 -05:00
2016-10-13 09:36:57 -04:00
2016-11-15 16:33:35 -05:00
2016-12-06 11:24:28 -05:00
2016-10-13 09:36:57 -04:00