net/mlx5e: Write vlan list into vport context
authorSaeed Mahameed <saeedm@mellanox.com>
Tue, 1 Dec 2015 16:03:17 +0000 (18:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 17:08:45 +0000 (12:08 -0500)
commitaad9e6e41e5e595528e316871bbc5be78a8a1eb4
tree1c8b1529b65b84511108e0b3943b29d72a95f1fe
parent5e55da1d5a5f5ffd2038def3bfdcb2f8f3a0418a
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>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_flow_table.c