adapter.h (284052) | adapter.h (284089) |
---|---|
1/*- 2 * Copyright (c) 2011 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) 2011 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/adapter.h 284052 2015-06-06 09:28:40Z np $ | 27 * $FreeBSD: stable/10/sys/dev/cxgbe/adapter.h 284089 2015-06-06 18:00:36Z np $ |
28 * 29 */ 30 31#ifndef __T4_ADAPTER_H__ 32#define __T4_ADAPTER_H__ 33 34#include <sys/kernel.h> 35#include <sys/bus.h> --- 145 unchanged lines hidden (view full) --- 181 182enum { 183 /* adapter flags */ 184 FULL_INIT_DONE = (1 << 0), 185 FW_OK = (1 << 1), 186 /* INTR_DIRECT = (1 << 2), No longer used. */ 187 MASTER_PF = (1 << 3), 188 ADAP_SYSCTL_CTX = (1 << 4), | 28 * 29 */ 30 31#ifndef __T4_ADAPTER_H__ 32#define __T4_ADAPTER_H__ 33 34#include <sys/kernel.h> 35#include <sys/bus.h> --- 145 unchanged lines hidden (view full) --- 181 182enum { 183 /* adapter flags */ 184 FULL_INIT_DONE = (1 << 0), 185 FW_OK = (1 << 1), 186 /* INTR_DIRECT = (1 << 2), No longer used. */ 187 MASTER_PF = (1 << 3), 188 ADAP_SYSCTL_CTX = (1 << 4), |
189 TOM_INIT_DONE = (1 << 5), | 189 /* TOM_INIT_DONE= (1 << 5), No longer used */ |
190 BUF_PACKING_OK = (1 << 6), 191 192 CXGBE_BUSY = (1 << 9), 193 194 /* port flags */ 195 DOOMED = (1 << 0), 196 PORT_INIT_DONE = (1 << 1), 197 PORT_SYSCTL_CTX = (1 << 2), --- 548 unchanged lines hidden (view full) --- 746 void *iscsi_softc; 747#endif 748 struct l2t_data *l2t; /* L2 table */ 749 struct tid_info tids; 750 751 uint16_t doorbells; 752 int open_device_map; 753#ifdef TCP_OFFLOAD | 190 BUF_PACKING_OK = (1 << 6), 191 192 CXGBE_BUSY = (1 << 9), 193 194 /* port flags */ 195 DOOMED = (1 << 0), 196 PORT_INIT_DONE = (1 << 1), 197 PORT_SYSCTL_CTX = (1 << 2), --- 548 unchanged lines hidden (view full) --- 746 void *iscsi_softc; 747#endif 748 struct l2t_data *l2t; /* L2 table */ 749 struct tid_info tids; 750 751 uint16_t doorbells; 752 int open_device_map; 753#ifdef TCP_OFFLOAD |
754 int offload_map; | 754 int offload_map; /* ports with IFCAP_TOE enabled */ 755 int active_ulds; /* ULDs activated on this adapter */ |
755#endif 756 int flags; 757 758 char ifp_lockname[16]; 759 struct mtx ifp_lock; 760 struct ifnet *ifp; /* tracer ifp */ 761 struct ifmedia media; 762 int traceq; /* iq used by all tracers, -1 if none */ --- 311 unchanged lines hidden --- | 756#endif 757 int flags; 758 759 char ifp_lockname[16]; 760 struct mtx ifp_lock; 761 struct ifnet *ifp; /* tracer ifp */ 762 struct ifmedia media; 763 int traceq; /* iq used by all tracers, -1 if none */ --- 311 unchanged lines hidden --- |