net/mlx5e: CQ and RQ don't need priv pointer
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 14 Mar 2017 17:43:52 +0000 (19:43 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 27 Mar 2017 12:08:18 +0000 (15:08 +0300)
commita43b25daef78610ccef025d59f82ce8e0c42ab6c
treef3d6b722beadf6a4032929b10f95fa6bfea8c850
parent6a9764efb255f49a91e229799c38d5c1c9361987
net/mlx5e: CQ and RQ don't need priv pointer

Remove mlx5e_priv pointer from CQ and RQ structs,
it was needed only to access mdev pointer from priv pointer.

Instead we now pass mdev where needed.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@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_am.c
drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c