Files
linux/drivers
Jesper Dangaard Brouer d201ea9ebc mlx4: Add XDP frame size and adjust max XDP MTU
The mlx4 drivers size of memory backing the RX packet is stored in
frag_stride. For XDP mode this will be PAGE_SIZE (normally 4096).
For normal mode frag_stride is 2048.

Also adjust MLX4_EN_MAX_XDP_MTU to take tailroom into account.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Cc: Saeed Mahameed <saeedm@mellanox.com>
Link: https://lore.kernel.org/bpf/158945341893.97035.2688142527052329942.stgit@firesoul
2020-05-14 21:21:55 -07:00
..
2020-03-23 07:59:38 +01:00
2020-04-10 11:32:22 +02:00
2020-03-09 11:12:19 +01:00
2020-04-04 18:07:59 -07:00
2020-04-16 13:52:31 -07:00
2020-03-19 23:04:32 -05:00
2020-04-26 09:43:05 -07:00
2020-04-17 06:05:29 -04:00
2020-03-23 08:04:08 +01:00
2020-04-20 10:19:22 -04:00
2020-03-19 07:41:03 +01:00