]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Implement ndo_get_phys_port_id
authorHadar Hen Zion <hadarh@mellanox.com>
Thu, 19 Dec 2013 19:20:13 +0000 (21:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Dec 2013 00:04:43 +0000 (19:04 -0500)
commit43ec8f6958efeaf4ad7283a8490f88176126e0d2
treebd2b4760063a1e08d4dd31b7bac2c0d75897ed15
parent26506fd88dfe81118e5272034f668b86de15d2f5
net/mlx4_en: Implement ndo_get_phys_port_id

Use the port GUID read from the firmware to identify the physical port.
This port identifier is available via ndo_get_phys_port_id for both PF
and VF net-devices.

Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c