mlx4: fix support for multiple vlan filters
authorOlga Shern <olgas@mellanox.com>
Tue, 30 Jun 2015 09:27:57 +0000 (11:27 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 1 Jul 2015 09:02:51 +0000 (11:02 +0200)
commit1c214ab7f0251259fac9cc96fa9961c68096052e
treefe87f01e1f65928817abd246cd3fb10ffc881260
parent2d402df2629852a99f0d856c2f7f4d730968e85b
mlx4: fix support for multiple vlan filters

This commit fixes the "Multiple RX VLAN filters can be configured, but only
the first one works" bug. Since a single flow specification cannot contain
several VLAN definitions, the flows table is extended with MLX4_MAX_VLAN_IDS
possible specifications per configured MAC address.

Signed-off-by: Olga Shern <olgas@mellanox.com>
Signed-off-by: Or Ami <ora@mellanox.com>
Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx4/mlx4.c