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)
commit35e455f47ac2e7fbc0c25871a4e91c563ff78ce1
tree41c899ef42548414df2ed0e39335ef68c85bc91b
parent3e24a65f9d2b9e2befacf5823e01ee158fdfedad
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: 77fc29c ("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