be2net: support ndo_get_phys_port_id()
authorSriharsha Basavapatna <sriharsha.basavapatna@avagotech.com>
Wed, 22 Jul 2015 05:45:12 +0000 (11:15 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jul 2015 05:41:22 +0000 (22:41 -0700)
Add be_get_phys_port_id() function to report physical port id. The port id
should be unique across different be2net devices in the system. We use the
chip serial number along with the physical port number for this.

Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_cmds.h
drivers/net/ethernet/emulex/benet/be_main.c