]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
be2net: fix pmac_id for BE3 VFs
authorSathya Perla <sathya.perla@emulex.com>
Tue, 23 Jul 2013 09:55:01 +0000 (15:25 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jul 2013 22:41:52 +0000 (15:41 -0700)
commitb5bb9776b143dcf7931c6e00330bf8d518376760
treedb59108f5f8760b131f94d0a87ec3c90515e9f49
parent04a060280a083860e4d4723b878d69af1ba53ec9
be2net: fix pmac_id for BE3 VFs

For BE3 VFs, the permanent MAC is added by its PF. The VF can retrieve its
pmac_id only via the IFACE_CREATE cmd. This is not true for Lancer and SH-R
VFs which get the pmac_id by issuing a ADD_IFACE_MAC cmd. So, use this
hack only for BE3 VFs.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c