net/mlx5: Remove extra indirection while storing QPN
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 6 Apr 2020 08:17:44 +0000 (11:17 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sun, 19 Apr 2020 12:53:19 +0000 (15:53 +0300)
commitf93f4f4f31492468d5c6903e35cc0e31a9cb2c48
treed367f5fc87977710bd0d581a2b874cd649eaa72f
parenta452e0e43669d5223f3f2264d0d4f08acdba98c0
net/mlx5: Remove extra indirection while storing QPN

The FPGA, SW steering and IPoIB need to have only QPN from the
mlx5_core_qp struct, so reduce memory footprint by storing QPN
directly.

Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c
drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.h
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h