summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@nvidia.com>2021-12-05 12:31:47 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-12-21 19:08:56 -0800
commit6c72cb05d4b877300cb23df32f7451bdc55d2940 (patch)
tree89563afaa259866bd1a0b7f8a818b4c96d2596a7 /drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c
parent08ab0ff47bf72aa404e35247a48a7070b07fccbf (diff)
downloadlinux-stable-6c72cb05d4b877300cb23df32f7451bdc55d2940.tar.gz
linux-stable-6c72cb05d4b877300cb23df32f7451bdc55d2940.tar.bz2
linux-stable-6c72cb05d4b877300cb23df32f7451bdc55d2940.zip
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c
index 5308f23702bc..0b86e78dbc0e 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c
@@ -350,7 +350,6 @@ static const struct mlx5e_profile mlx5i_pkey_nic_profile = {
.rx_handlers = &mlx5i_rx_handlers,
.max_tc = MLX5I_MAX_NUM_TC,
.rq_groups = MLX5E_NUM_RQ_GROUPS(REGULAR),
- .rx_ptp_support = false,
};
const struct mlx5e_profile *mlx5i_pkey_get_profile(void)