]> git.baikalelectronics.ru Git - kernel.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)
commitc6b8e18362428ab2c9d9bce24728812d58640ed7
tree89563afaa259866bd1a0b7f8a818b4c96d2596a7
parent234fe6490ae12cb652b831cb23f9d443b9008983
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