net/mlx5e: Reorganize struct mlx5e_rq
authorTariq Toukan <tariqt@mellanox.com>
Mon, 13 Feb 2017 16:41:30 +0000 (18:41 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 3 Sep 2017 03:34:08 +0000 (06:34 +0300)
commitb45d8b50b8264cac7b2f1245ca04a2f009038ac7
tree57376abbdb4128713f9a137bf5927157d1cc575b
parent32d9b70a053a835b4dfb33158fc03795ea103e44
net/mlx5e: Reorganize struct mlx5e_rq

Bring fast-path fields together, and combine RX WQE mutual
exclusive fields into a union.

Page-reuse and XDP are mutually exclusive and cannot be used at
the same time.
Use a union to combine their footprints.

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_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c