]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Put the common XDP code into a function
authorMaxim Mikityanskiy <maximmi@mellanox.com>
Fri, 1 Mar 2019 11:12:55 +0000 (13:12 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 1 May 2019 21:39:16 +0000 (14:39 -0700)
commit0e7e0dfd9e5284603284ddf155ee0d704219a54d
tree38ed8ef39f661e5704de4e5474b59ddf9e3f1389
parentb83f7ac1fc2e26efb9a3e9a1c6ee60726e131116
net/mlx5e: Put the common XDP code into a function

The same code that returns XDP frames and releases pages is used both in
mlx5e_poll_xdpsq_cq and mlx5e_free_xdpsq_descs. Create a function that
cleans up an MPWQE.

Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c