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)
commit121e89275471dccbd5b252e40ad6a823fa0527f7
tree99e162b3f4d25d3bf6aae760ebc064d15d44b8c0
parent619a8f2a42f1031cdbd74435b6a9191eb4913139
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