sfc: implement ndo_get_phys_port_name
authorBert Kenward <bkenward@solarflare.com>
Tue, 10 Jan 2017 16:23:56 +0000 (16:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Jan 2017 19:16:17 +0000 (14:16 -0500)
commitac019f08953278a280cb30849c3ebab9a7df31de
treecdedd3cccf73bbaec28e78c8e935dca63d354732
parent08a7b29be9734adab7f64a7675764a39ab7d29e1
sfc: implement ndo_get_phys_port_name

Output is of the form p<port-number>.
Note that the port numbers don't necessarily map one-to-one to physical
 cages, partly because of 4x10G port modes on QSFP+ and partly because
 of hw/fw implementation details.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/efx.c