Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2008 05:06:58 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 133913 for review
Message-ID:  <200801230506.m0N56wO9021762@repoman.freebsd.org>

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

Change 133913 by kmacy@kmacy:storage:toehead on 2008/01/23 05:06:20

	re-format and add condvar

Affected files ...

.. //depot/projects/toehead/sys/dev/cxgb/ulp/tom/cxgb_toepcb.h#2 edit

Differences ...

==== //depot/projects/toehead/sys/dev/cxgb/ulp/tom/cxgb_toepcb.h#2 (text+ko) ====

@@ -30,45 +30,49 @@
 #ifndef CXGB_TOEPCB_H_
 #define CXGB_TOEPCB_H_
 #include <sys/bus.h>
+#include <sys/condvar.h>
 #include <dev/cxgb/sys/mbufq.h>
 
 struct toepcb {
-	struct toedev *tp_toedev;
-	struct l2t_entry *tp_l2t;
-	pr_ctloutput_t *tp_ctloutput;
-	unsigned int tp_tid;
-	int tp_wr_max;
-	int tp_wr_avail;
-	int tp_wr_unacked;
-	int tp_delack_mode;
-	int tp_mtu_idx;
-	int tp_ulp_mode;
-	int tp_qset_idx;
-	int tp_mss_clamp;
-	int tp_qset;
-	int tp_flags;
-	int tp_enqueued_bytes;
-	int tp_page_count;
-	int tp_state;
+	struct toedev 		*tp_toedev;
+	struct l2t_entry 	*tp_l2t;
+	pr_ctloutput_t 		*tp_ctloutput;
+	unsigned int 		tp_tid;
+	int 			tp_wr_max;
+	int 			tp_wr_avail;
+	int 			tp_wr_unacked;
+	int 			tp_delack_mode;
+	int 			tp_mtu_idx;
+	int 			tp_ulp_mode;
+	int 			tp_qset_idx;
+	int 			tp_mss_clamp;
+	int 			tp_qset;
+	int 			tp_flags;
+	int 			tp_enqueued_bytes;
+	int 			tp_page_count;
+	int 			tp_state;
 
-	tcp_seq tp_iss;
-	tcp_seq tp_delack_seq;
-	tcp_seq tp_rcv_wup;
-	tcp_seq tp_copied_seq;
-	uint64_t tp_write_seq;
+	tcp_seq 		tp_iss;
+	tcp_seq 		tp_delack_seq;
+	tcp_seq 		tp_rcv_wup;
+	tcp_seq 		tp_copied_seq;
+	uint64_t 		tp_write_seq;
 
-	volatile int tp_refcount;
-	vm_page_t *tp_pages;
+	volatile int 		tp_refcount;
+	vm_page_t 		*tp_pages;
 	
-	struct tcpcb *tp_tp;
-	struct mbuf  *tp_m_last;
-	bus_dma_tag_t	tp_tx_dmat;
-	bus_dmamap_t	tp_dmamap;
+	struct tcpcb 		*tp_tp;
+	struct mbuf  		*tp_m_last;
+	bus_dma_tag_t		tp_tx_dmat;
+	bus_dma_tag_t		tp_rx_dmat;
+	bus_dmamap_t		tp_dmamap;
 
-	LIST_ENTRY(toepcb) synq_entry;
-	struct mbuf_head wr_list;
-	struct mbuf_head out_of_order_queue;
-	struct ddp_state tp_ddp_state;
+	LIST_ENTRY(toepcb) 	synq_entry;
+	struct mbuf_head 	wr_list;
+	struct mbuf_head 	out_of_order_queue;
+	struct ddp_state 	tp_ddp_state;
+	struct cv		tp_cv;
+			   
 };
 
 static inline void



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