bnx2x, cnic, bnx2i, bnx2fc: Fix bnx2i and bnx2fc regressions.
authorMichael Chan <mchan@broadcom.com>
Wed, 18 Sep 2013 08:50:38 +0000 (01:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Sep 2013 16:24:32 +0000 (12:24 -0400)
commitf78afb356303e5f78750321a63809ef5c2d13c0d
tree43a8bc46cb32647d59d73c1a66d7b920173d85c5
parent4bdc944729032c9eb8aabadc7f36c01d83fd34e5
bnx2x, cnic, bnx2i, bnx2fc: Fix bnx2i and bnx2fc regressions.

commit b9871bcfd211d316adee317608dab44c58d6ea2d
    bnx2x: VF RSS support - PF side

changed the configuration of the doorbell HW and it broke iSCSI and FCoE.
We fix this by making compatible changes to the doorbell address in bnx2i
and bnx2fc.  For the userspace driver, we need to pass a modified CID
so that the existing userspace driver will calculate the correct doorbell
address and continue to work.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Michael Chan <mchan@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/cnic.c
drivers/scsi/bnx2fc/bnx2fc.h
drivers/scsi/bnx2fc/bnx2fc_hwi.c
drivers/scsi/bnx2i/bnx2i.h
drivers/scsi/bnx2i/bnx2i_hwi.c