]> git.droids-corp.org - dpdk.git/commit
net/mlx5: remove HCA attribute structure duplication
authorMichael Baum <michaelba@nvidia.com>
Mon, 14 Feb 2022 09:34:58 +0000 (11:34 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Mon, 21 Feb 2022 10:36:43 +0000 (11:36 +0100)
commit538205614f9c4bcf0073fa51192cae0ce2e1ca60
tree4eec95ebb274accdb746c412d9004544150ce9f7
parentcfe0639b3046887c4688c08d47ed36c3f9f12324
net/mlx5: remove HCA attribute structure duplication

The HCA attribute structure is field of net configure structure.
It is also field of common configure structure.

There is no need for this duplication, because there is a reference to
the common structure from within the net structures.

This patch removes it from net configure structure and uses the common
config structure instead.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
13 files changed:
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_devx.c
drivers/net/mlx5/mlx5_ethdev.c
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow_dv.c
drivers/net/mlx5/mlx5_flow_flex.c
drivers/net/mlx5/mlx5_flow_meter.c
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_trigger.c
drivers/net/mlx5/mlx5_txpp.c
drivers/net/mlx5/windows/mlx5_os.c