bnx2x: Fix VF flr flow
authorAriel Elior <ariele@broadcom.com>
Tue, 21 Jan 2014 08:31:20 +0000 (10:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Jan 2014 07:12:59 +0000 (23:12 -0800)
commit076d1329583ed6db92ebf05bc00335339fd369b1
treed32c1a3779bfac27722a7123430b80dd8079f0ff
parent14e481445da8028900464fa90e2908d96fee71a8
bnx2x: Fix VF flr flow

When a VF originating from a given PF is flr-ed, that PF gets an interrupt
from the chip management and takes a part in the flr process.

This patch fixes several corner cases in which the driver performs its part
of the flr flow out-of-order, causing the FW to assert due to badly timed
messages received from the driver.

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