]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Refactor RQ XDP_TX indication
authorTariq Toukan <tariqt@mellanox.com>
Tue, 12 Dec 2017 13:46:49 +0000 (15:46 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 30 Mar 2018 23:55:05 +0000 (16:55 -0700)
commitbdc208316896d26091a361c7fdd53bb5227d34c5
tree99e162b3f4d25d3bf6aae760ebc064d15d44b8c0
parentbe33a776c6cc35796831188111ab980c3ab231c6
net/mlx5e: Refactor RQ XDP_TX indication

Make the xdp_xmit indication available for Striding RQ
by taking it out of the type-specific union.
This refactor is a preparation for a downstream patch that
adds XDP support over Striding RQ.
In addition, use a bitmap instead of a boolean for possible
future flags.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c