]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Keep VF assigned MAC in the PF admin table
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 4 Jun 2013 05:13:29 +0000 (05:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2013 19:58:24 +0000 (12:58 -0700)
commit6ef316594bb352c2a6abe27e2786224ba8b54af7
treef0cb7041061c1d2222d069bb2be8a948a9ee0ec1
parent171557fc096c227571868eacd7a84e169d74cbb3
net/mlx4_core: Keep VF assigned MAC in the PF admin table

MAC addresses assigned by the PF to VFs were not kept in the PF driver
admin table. As a result, displaying the VF MACs from the PF interface
to user space showed zero address where in fact the VF got non-zero
address from the PF, fix that.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c