diff options
author | Maxim Mikityanskiy <maximmi@nvidia.com> | 2022-01-31 18:41:31 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-03-18 23:51:14 +0300 |
commit | 9ded70fa1d8186135090f09638db7d8126dca0db (patch) | |
tree | cf3e111333b27a69213572dd91365202532d352e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c090451633f89c292316e928f970d082d7e8295f (diff) | |
download | linux-9ded70fa1d8186135090f09638db7d8126dca0db.tar.xz |
net/mlx5e: Don't prefill WQEs in XDP SQ in the multi buffer mode
When MPWQE is disabled, mlx5e_open_xdpsq() prefills the common fields of
WQEs in the XDP SQ to save time when sending packets.
mlx5e_xmit_xdp_frame() runs on the prefilled fields, however, sending
multi buffer XDP frames would require changing some of these fields on a
per-packet basis. Besides that, mlx5e_xmit_xdp_frame() will be used as a
fallback to send multi buffer XDP frames when MPWQE is enabled (MPWQE
can only handle linear packets).
In order to prepare for XDP multi buffer support, this commit introduces
a mode for mlx5e_xmit_xdp_frame() that fills all the fields itself.
Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions