Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2008 05:26:19 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 134629 for review
Message-ID:  <200802020526.m125QJoA066323@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134629

Change 134629 by kmacy@kmacy:storage:toehead on 2008/02/02 05:26:00

	register handler for CPL_{GET,SET}_TCB_RPL

Affected files ...

.. //depot/projects/toehead/sys/dev/cxgb/cxgb_offload.c#4 edit

Differences ...

==== //depot/projects/toehead/sys/dev/cxgb/cxgb_offload.c#4 (text+ko) ====

@@ -959,7 +959,7 @@
 do_bad_cpl(struct t3cdev *dev, struct mbuf *m)
 {
 	log(LOG_ERR, "%s: received bad CPL command 0x%x\n", dev->name,
-	    *mtod(m, uint32_t *));
+	    0xFF & *mtod(m, uint32_t *));
 	return (CPL_RET_BUF_DONE | CPL_RET_BAD_MSG);
 }
 
@@ -1432,7 +1432,9 @@
 	t3_register_cpl_handler(CPL_RX_DATA_DDP, do_hwtid_rpl);
 	t3_register_cpl_handler(CPL_RX_DDP_COMPLETE, do_hwtid_rpl);
 	t3_register_cpl_handler(CPL_ISCSI_HDR, do_hwtid_rpl);
-
+	t3_register_cpl_handler(CPL_GET_TCB_RPL, do_hwtid_rpl);
+	t3_register_cpl_handler(CPL_SET_TCB_RPL, do_hwtid_rpl);
+	
 	EVENTHANDLER_REGISTER(route_arp_update_event, cxgb_arp_update_event,
 	    NULL, EVENTHANDLER_PRI_ANY);
 	EVENTHANDLER_REGISTER(route_redirect_event, cxgb_redirect_event,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802020526.m125QJoA066323>