Deleted Added
full compact
offload.h (265426) offload.h (270297)
1/*-
2 * Copyright (c) 2010 Chelsio Communications, Inc.
3 * All rights reserved.
4 * Written by: Navdeep Parhar <np@FreeBSD.org>
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

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

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

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: stable/10/sys/dev/cxgbe/offload.h 265426 2014-05-06 07:21:50Z np $
27 * $FreeBSD: stable/10/sys/dev/cxgbe/offload.h 270297 2014-08-21 19:54:02Z np $
28 *
29 */
30
31#ifndef __T4_OFFLOAD_H__
32#define __T4_OFFLOAD_H__
33
34#define INIT_ULPTX_WRH(w, wrlen, atomic, tid) do { \
35 (w)->wr_hi = htonl(V_FW_WR_OP(FW_ULPTX_WR) | V_FW_WR_ATOMIC(atomic)); \

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

148 int ddp_thres;
149 int rx_coalesce;
150};
151
152int t4_register_uld(struct uld_info *);
153int t4_unregister_uld(struct uld_info *);
154int t4_activate_uld(struct adapter *, int);
155int t4_deactivate_uld(struct adapter *, int);
28 *
29 */
30
31#ifndef __T4_OFFLOAD_H__
32#define __T4_OFFLOAD_H__
33
34#define INIT_ULPTX_WRH(w, wrlen, atomic, tid) do { \
35 (w)->wr_hi = htonl(V_FW_WR_OP(FW_ULPTX_WR) | V_FW_WR_ATOMIC(atomic)); \

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

148 int ddp_thres;
149 int rx_coalesce;
150};
151
152int t4_register_uld(struct uld_info *);
153int t4_unregister_uld(struct uld_info *);
154int t4_activate_uld(struct adapter *, int);
155int t4_deactivate_uld(struct adapter *, int);
156void t4_iscsi_init(struct ifnet *, unsigned int, const unsigned int *);
156#endif
157#endif
157
158#endif
158#endif