]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Use bitmap field for profile features
authorTariq Toukan <tariqt@nvidia.com>
Sun, 5 Dec 2021 10:31:47 +0000 (12:31 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 22 Dec 2021 03:08:56 +0000 (19:08 -0800)
commit6c72cb05d4b877300cb23df32f7451bdc55d2940
tree89563afaa259866bd1a0b7f8a818b4c96d2596a7
parent08ab0ff47bf72aa404e35247a48a7070b07fccbf
net/mlx5e: Use bitmap field for profile features

Use a features bitmap field in mlx5e_profile to declare profile support
state of the different features.  Let it replace the existing
rx_ptp_support boolean. It will be extended to cover more features in a
downstream patch.

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c