Commit 03eda954 authored by Gal Pressman's avatar Gal Pressman Committed by Saeed Mahameed
Browse files

net/mlx5e: Declare bitmap using kernel macro



Replace explicit declaration of bitmap with DECLARE_BITMAP kernel macro.

Signed-off-by: default avatarGal Pressman <galp@mellanox.com>
Reviewed-by: default avatarMaor Gottlieb <maorg@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
parent 375ef2b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -655,7 +655,7 @@ struct mlx5e_tc_table {

struct mlx5e_vlan_table {
	struct mlx5e_flow_table		ft;
	unsigned long active_cvlans[BITS_TO_LONGS(VLAN_N_VID)];
	DECLARE_BITMAP(active_cvlans, VLAN_N_VID);
	struct mlx5_flow_handle	*active_cvlans_rule[VLAN_N_VID];
	struct mlx5_flow_handle	*untagged_rule;
	struct mlx5_flow_handle	*any_cvlan_rule;