OSDN Git Service

bnx2x: Fix VF MAC removal
authorShahed Shaikh <Shahed.Shaikh@qlogic.com>
Thu, 25 Jun 2015 12:19:25 +0000 (15:19 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jun 2015 13:30:35 +0000 (06:30 -0700)
commitbb9e9c1d2093135f55bf72697498b3eb6137b66b
treef8cfc11ec97262407fe5c73e132a4a4a1f545b7a
parentad6afbe9578d1fa26680faf78c846bd8c00d1d6e
bnx2x: Fix VF MAC removal

There's a bug in today's driver where VF requests to add/remove MAC filters
always reach the Hypervisor as add requests.
This prevents the VF from changing its MAC address, as it cannot remove the
previously configured MAC and runs out of MAC credits.

Signed-off-by: Shahed Shaikh <Shahed.Shaikh@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c