Deleted Added
full compact
cxgb_toepcb.h (237263) cxgb_toepcb.h (239544)
1/*-
2 * Copyright (c) 2007-2009, Chelsio Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,

--- 10 unchanged lines hidden (view full) ---

19 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 * POSSIBILITY OF SUCH DAMAGE.
26 *
1/*-
2 * Copyright (c) 2007-2009, Chelsio Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,

--- 10 unchanged lines hidden (view full) ---

19 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 * POSSIBILITY OF SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/dev/cxgb/ulp/tom/cxgb_toepcb.h 237263 2012-06-19 07:34:13Z np $
27 * $FreeBSD: head/sys/dev/cxgb/ulp/tom/cxgb_toepcb.h 239544 2012-08-21 22:23:17Z np $
28 */
29#ifndef CXGB_TOEPCB_H_
30#define CXGB_TOEPCB_H_
31#include <sys/bus.h>
32#include <sys/condvar.h>
33#include <sys/mbufq.h>
34
35#define TP_DATASENT (1 << 0)
36#define TP_TX_WAIT_IDLE (1 << 1)
37#define TP_FIN_SENT (1 << 2)
38#define TP_ABORT_RPL_PENDING (1 << 3)
39#define TP_ABORT_SHUTDOWN (1 << 4)
40#define TP_ABORT_RPL_RCVD (1 << 5)
41#define TP_ABORT_REQ_RCVD (1 << 6)
42#define TP_ATTACHED (1 << 7)
43#define TP_CPL_DONE (1 << 8)
44#define TP_IS_A_SYNQ_ENTRY (1 << 9)
45#define TP_ABORT_RPL_SENT (1 << 10)
46#define TP_SEND_FIN (1 << 11)
28 */
29#ifndef CXGB_TOEPCB_H_
30#define CXGB_TOEPCB_H_
31#include <sys/bus.h>
32#include <sys/condvar.h>
33#include <sys/mbufq.h>
34
35#define TP_DATASENT (1 << 0)
36#define TP_TX_WAIT_IDLE (1 << 1)
37#define TP_FIN_SENT (1 << 2)
38#define TP_ABORT_RPL_PENDING (1 << 3)
39#define TP_ABORT_SHUTDOWN (1 << 4)
40#define TP_ABORT_RPL_RCVD (1 << 5)
41#define TP_ABORT_REQ_RCVD (1 << 6)
42#define TP_ATTACHED (1 << 7)
43#define TP_CPL_DONE (1 << 8)
44#define TP_IS_A_SYNQ_ENTRY (1 << 9)
45#define TP_ABORT_RPL_SENT (1 << 10)
46#define TP_SEND_FIN (1 << 11)
47#define TP_SYNQE_EXPANDED (1 << 12)
47
48struct toepcb {
49 TAILQ_ENTRY(toepcb) link; /* toep_list */
50 int tp_flags;
51 struct toedev *tp_tod;
52 struct l2t_entry *tp_l2t;
53 int tp_tid;
54 int tp_wr_max;

--- 40 unchanged lines hidden ---
48
49struct toepcb {
50 TAILQ_ENTRY(toepcb) link; /* toep_list */
51 int tp_flags;
52 struct toedev *tp_tod;
53 struct l2t_entry *tp_l2t;
54 int tp_tid;
55 int tp_wr_max;

--- 40 unchanged lines hidden ---