]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Receive s-tagged packets in promiscuous mode
authorMohamad Haj Yahia <mohamad@mellanox.com>
Sun, 9 Oct 2016 14:05:31 +0000 (17:05 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 19 Jan 2017 21:19:56 +0000 (23:19 +0200)
commitffa2c67c5329913349c21fe714a4de49c8251fd3
treede7890c7e5da0166ac45030d881816976dabac73
parentd27199422f7338d450fd0ea33071e570e1361172
net/mlx5e: Receive s-tagged packets in promiscuous mode

Today when the driver enter to promiscuous mode or vlan
filter is disabled, we add flow rule to receive any c-taggd
packets, therefore s-tagged packets are dropped.
In order to receive s-tagged packets as well we need to add
flow rule to receive any s-tagged packet.

Fixes: f8e7e0d518a5 ('net/mlx5e: Rename en_flow_table.c to en_fs.c')
Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c