diff options
author | Maxim Mikityanskiy <maximmi@nvidia.com> | 2022-09-30 09:29:02 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-01 13:30:21 -0700 |
commit | d9ba64deb2f1ad58eb3067c7485518f3e96559ee (patch) | |
tree | 5d33cebb58ddd47dc048a917e5205b0280bb4415 /drivers/net/ethernet/mellanox/mlx5/core/en/rx_res.c | |
parent | net/mlx5e: xsk: Support XDP metadata on XSK RQs (diff) | |
download | linux-dev-d9ba64deb2f1ad58eb3067c7485518f3e96559ee.tar.xz linux-dev-d9ba64deb2f1ad58eb3067c7485518f3e96559ee.zip |
net/mlx5e: Introduce the mlx5e_flush_rq function
Add a function to flush an RQ: clean up descriptors, release pages and
reset the RQ. This procedure is used by the recovery flow, and it will
also be used in a following commit to free some memory when switching a
channel to the XSK mode.
Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en/rx_res.c')
0 files changed, 0 insertions, 0 deletions