aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <maximmi@nvidia.com>2022-10-01 21:56:18 -0700
committerJakub Kicinski <kuba@kernel.org>2022-10-03 16:55:26 -0700
commit082a9edf12fef88400172e7d1b131d65a3ed492e (patch)
treeafc83e8c72d80a0b85b1c100d6cb84c68696274c /init
parenta4388da51ad56366d330144975e50f162a10bd8b (diff)
net/mlx5e: xsk: Flush RQ on XSK activation to save memory
The regular RQ remains open after opening an XSK socket, in order to guarantee that closing the XSK socket never fails due to an error when reopening the regular RQ. To save memory, the regular RQ can be deactivated and flushed, releasing all pages, when an XSK socket is open. 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 'init')
0 files changed, 0 insertions, 0 deletions