]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Hardware accelerated 802.1ad works only on the first port
authorAmir Vadai <amirv@mellanox.com>
Tue, 28 Jul 2015 10:19:19 +0000 (13:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2015 19:21:56 +0000 (12:21 -0700)
commitf218c46e0fd01c5da68b1292f5e324617253ca1c
tree41c899ef42548414df2ed0e39335ef68c85bc91b
parent069101fa58ccef873f684217e7c1c6334d572a7a
net/mlx4_en: Hardware accelerated 802.1ad works only on the first port

Fix mistakenly used, hard coded, port number in get_phv_bit()

Fixes: 37af3af ("net/mlx4_core: Preparations for 802.1ad VLAN support")
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c