diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2015-12-01 16:03:17 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-03 17:08:45 (GMT) |
commit | aad9e6e41e5e595528e316871bbc5be78a8a1eb4 (patch) | |
tree | 1c8b1529b65b84511108e0b3943b29d72a95f1fe /drivers/net/ethernet/mellanox/mlx5/core/en.h | |
parent | 5e55da1d5a5f5ffd2038def3bfdcb2f8f3a0418a (diff) | |
download | linux-aad9e6e41e5e595528e316871bbc5be78a8a1eb4.tar.xz |
net/mlx5e: Write vlan list into vport context
Each Vport/vNIC must notify underlying e-Switch layer
for vlan table changes in-order to update SR-IOV FDB tables.
We do that at vlan_rx_add_vid and vlan_rx_kill_vid ndos.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h index 69f1c1a..89313d4 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h @@ -465,6 +465,7 @@ enum { }; struct mlx5e_vlan_db { + unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; u32 active_vlans_ft_ix[VLAN_N_VID]; u32 untagged_rule_ft_ix; u32 any_vlan_rule_ft_ix; |