diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2020-05-14 13:50:18 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-05-15 07:21:55 +0300 |
commit | d201ea9ebc519fb34ad9ef1f49ab2ab31f5111ea (patch) | |
tree | 2e795958ceb00dd9477337388146931ad21e936f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 08fc1cfd2d250be853d33d6505ae11ff52b83b74 (diff) | |
download | linux-d201ea9ebc519fb34ad9ef1f49ab2ab31f5111ea.tar.xz |
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions