bnx2x: Add ndo_get_phys_port_id support
authorYuval Mintz <yuvalmin@broadcom.com>
Wed, 9 Oct 2013 14:06:28 +0000 (16:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Oct 2013 18:55:13 +0000 (14:55 -0400)
commit3d7d562ca4a884089344eb13451b5903a18d3817
tree5d3f9cc7175ed152d6451b438cc7975df594afa3
parentc2bb06db59eaf92eb5ca9c6faed590597c6ceccb
bnx2x: Add ndo_get_phys_port_id support

Each network interface (either PF or VF) is identified by its port's MAC id.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.h