projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
375ef2b
)
net/mlx5e: Declare bitmap using kernel macro
author
Gal Pressman
<
[email protected]
>
Mon, 18 Sep 2017 10:09:18 +0000
(13:09 +0300)
committer
Saeed Mahameed
<
[email protected]
>
Thu, 9 Nov 2017 04:27:02 +0000
(13:27 +0900)
Replace explicit declaration of bitmap with DECLARE_BITMAP kernel macro.
Signed-off-by: Gal Pressman <
[email protected]
>
Reviewed-by: Maor Gottlieb <
[email protected]
>
Signed-off-by: Saeed Mahameed <
[email protected]
>
drivers/net/ethernet/mellanox/mlx5/core/en.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/en.h
b/drivers/net/ethernet/mellanox/mlx5/core/en.h
index eba5db75214bf7a33fc1f2440d3f09d696b550ad..f952796e9e8286bcac8c338fbfdae4464319b2fa 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/en.h
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/en.h
@@
-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;