]> git.droids-corp.org - dpdk.git/commit
net/mlx5: remove DevX flag duplication
authorMichael Baum <michaelba@nvidia.com>
Mon, 14 Feb 2022 09:34:59 +0000 (11:34 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Mon, 21 Feb 2022 10:36:44 +0000 (11:36 +0100)
commit6dc0cbc6c640ce042cb7d1241d9a4202e49307c8
tree40cc91668b0e340598584e83dad8e5b0a7ada959
parent538205614f9c4bcf0073fa51192cae0ce2e1ca60
net/mlx5: remove DevX flag duplication

The sharing device context structure has a field named "devx" which
indicates if DevX is supported.
The common configure structure has also field named "devx" with the same
meaning.

There is no need for this duplication, because there is a reference to
the common structure from within the sharing device context structure.

This patch removes it from sharing device context structure and uses the
common config structure instead.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/mlx5/linux/mlx5_verbs.c
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_ethdev.c
drivers/net/mlx5/mlx5_flow.c
drivers/net/mlx5/mlx5_flow_dv.c
drivers/net/mlx5/mlx5_trigger.c
drivers/net/mlx5/windows/mlx5_os.c