net/mlx5e: Introduce the mlx5e_flush_rq function
[ Upstream commit d9ba64de ] 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> Stable-dep-of: 1e662209 ("net/mlx5e: Update rx ring hw mtu upon each rx-fcs flag change") Signed-off-by:
Sasha Levin <sashal@kernel.org>
parent
e4e4e93d
Please register or sign in to comment