Files
linux/drivers
Maxim Mikityanskiy 9ded70fa1d 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>
2022-03-18 13:51:14 -07:00
..
2022-03-04 12:02:19 +00:00
2022-01-22 08:33:37 +02:00
2022-01-22 08:33:37 +02:00
2022-03-07 11:40:40 +00:00
2021-12-29 10:54:50 +01:00
2022-01-22 08:33:37 +02:00