Skip to contentSkip to conversation

bnx2x: properly handle CFC DEL in cnic flow

PATCH In review Dmitry Kravkov 1 participant 1 message May 22, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/4 bnx2x: properly handle CFC DEL in cnic flow

From: Vladislav Zolotarov <[email protected]>

---
 drivers/net/bnx2x/bnx2x_main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/net/bnx2x/bnx2x_main.c +2 -1
index a97a4a1..e237bea 100644
@@ -3669,7 +3669,8 @@ static int  bnx2x_cnic_handle_cfc_del(struct bnx2x *bp, u32 cid,
 				      union event_ring_elem *elem)
 {
 	if (!bp->cnic_eth_dev.starting_cid  ||
-	    cid < bp->cnic_eth_dev.starting_cid)
+	    (cid < bp->cnic_eth_dev.starting_cid &&
+	    cid != bp->cnic_eth_dev.iscsi_l2_cid))
 		return 1;
 
 	DP(BNX2X_MSG_SP, "got delete ramrod for CNIC CID %d\n", cid);
Signature · 1 line
1.7.2.2