]> 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)
commitced9d31728460a560932f1705dad616a44c80fbf
tree38ed8ef39f661e5704de4e5474b59ddf9e3f1389
parenta34061193bc42fbb3f4ea41ca3ac511da574f5bd
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