]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee3090c061b3ff5c8caea7faaad2753350f57fdf
tree57376abbdb4128713f9a137bf5927157d1cc575b
parent231d9e6b3e97249b38d47c8430d63af6ed60c015
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