PERFORCE change 133056 for review

Steve Wise swise at FreeBSD.org
Fri Jan 11 09:32:16 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=133056

Change 133056 by swise at swise:vic10:iwarp on 2008/01/11 17:31:23

	Don't count neg_adv abort_req_rss messages as real aborts
	
	Negative advice messages should _not_ count toward the 2 abort
	requests needed to indicate an abort request.

Affected files ...

.. //depot/projects/iwarp/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_iwch_cm.c#10 edit

Differences ...

==== //depot/projects/iwarp/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_iwch_cm.c#10 (text+ko) ====

@@ -1546,6 +1546,13 @@
 	int ret;
 	int state;
 
+	if (is_neg_adv_abort(req->status)) {
+		PDBG("%s neg_adv_abort ep %p tid %d\n", __FUNCTION__, ep,
+		     ep->hwtid);
+		t3_l2t_send_event(ep->com.tdev, ep->l2t);
+		return CPL_RET_BUF_DONE;
+	}
+
 	/*
 	 * We get 2 peer aborts from the HW.  The first one must
 	 * be ignored except for scribbling that we need one more.
@@ -1555,13 +1562,6 @@
 		return CPL_RET_BUF_DONE;
 	}
 
-	if (is_neg_adv_abort(req->status)) {
-		PDBG("%s neg_adv_abort ep %p tid %d\n", __FUNCTION__, ep,
-		     ep->hwtid);
-		t3_l2t_send_event(ep->com.tdev, ep->l2t);
-		return CPL_RET_BUF_DONE;
-	}
-
 	state = state_read(&ep->com);
 	PDBG("%s ep %p state %u\n", __FUNCTION__, ep, state);
 	switch (state) {


More information about the p4-projects mailing list