PERFORCE change 128376 for review

Kip Macy kmacy at FreeBSD.org
Tue Oct 30 18:20:06 PDT 2007


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

Change 128376 by kmacy at kmacy:storage:toestack on 2007/10/31 01:19:41

	make TXQ index values explicit

Affected files ...

.. //depot/projects/toestack/sys/dev/cxgb/cxgb_adapter.h#9 edit

Differences ...

==== //depot/projects/toestack/sys/dev/cxgb/cxgb_adapter.h#9 (text+ko) ====

@@ -151,11 +151,9 @@
 #define RSPQ_Q_SIZE	1024
 #define TX_ETH_Q_SIZE	1024
 
-/*
- * Types of Tx queues in each queue set.  Order here matters, do not change.
- * XXX TOE is not implemented yet, so the extra queues are just placeholders.
- */
-enum { TXQ_ETH, TXQ_OFLD, TXQ_CTRL };
+enum { TXQ_ETH = 0,
+       TXQ_OFLD = 1,
+       TXQ_CTRL = 2, };
 
 
 /* careful, the following are set on priv_flags and must not collide with


More information about the p4-projects mailing list