bnx2x, cnic: Disable iSCSI if DCBX negotiation is successful
authorDmitry Kravkov <dmitry@broadcom.com>
Fri, 1 Apr 2011 00:04:22 +0000 (17:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Apr 2011 00:04:22 +0000 (17:04 -0700)
commitfab0dc89f0d98459c6ce7fa27422949ac15837fa
treecd7d169e81ff9028d746f2540302d677b17f30cf
parent3b7f817e47bb66ae4d82ed73689a521af70a5410
bnx2x, cnic: Disable iSCSI if DCBX negotiation is successful

With current bnx2x firmware 6.2.9, iSCSI is not supported in DCB
network, so we need to disable it.  Add cnic command to disconnect
iSCSI connections and prevent future connections when DCBX negotiation
succeeds.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_dcb.c
drivers/net/bnx2x/bnx2x_dcb.h
drivers/net/bnx2x/bnx2x_main.c
drivers/net/cnic.c
drivers/net/cnic.h
drivers/net/cnic_if.h