diff options
author | Jesper Dangaard Brouer <[email protected]> | 2020-05-14 12:50:18 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-05-14 21:21:55 -0700 |
commit | d201ea9ebc519fb34ad9ef1f49ab2ab31f5111ea (patch) | |
tree | 2e795958ceb00dd9477337388146931ad21e936f /tools/perf/scripts/python/netdev-times.py | |
parent | 08fc1cfd2d250be853d33d6505ae11ff52b83b74 (diff) |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Cc: Saeed Mahameed <[email protected]>
Link: https://lore.kernel.org/bpf/158945341893.97035.2688142527052329942.stgit@firesoul
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions