diff options
Diffstat (limited to 'sys/dev/cxgb/common/cxgb_ctl_defs.h')
-rw-r--r-- | sys/dev/cxgb/common/cxgb_ctl_defs.h | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/sys/dev/cxgb/common/cxgb_ctl_defs.h b/sys/dev/cxgb/common/cxgb_ctl_defs.h index 5909955888543..e96f497bd4c37 100644 --- a/sys/dev/cxgb/common/cxgb_ctl_defs.h +++ b/sys/dev/cxgb/common/cxgb_ctl_defs.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2007 Chelsio Communications. All rights reserved. + * Copyright (C) 2003-2006 Chelsio Communications. All rights reserved. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or @@ -12,7 +12,6 @@ #ifndef _CXGB3_OFFLOAD_CTL_DEFS_H #define _CXGB3_OFFLOAD_CTL_DEFS_H - enum { GET_MAX_OUTSTANDING_WR, GET_TX_MAX_CHUNK, @@ -25,9 +24,6 @@ enum { GET_IFF_FROM_MAC, GET_DDP_PARAMS, GET_PORTS, - FAILOVER, - FAILOVER_DONE, - FAILOVER_CLEAR, ULP_ISCSI_GET_PARAMS, ULP_ISCSI_SET_PARAMS, @@ -38,6 +34,14 @@ enum { RDMA_CQ_DISABLE, RDMA_CTRL_QP_SETUP, RDMA_GET_MEM, + + FAILOVER, + FAILOVER_DONE, + FAILOVER_CLEAR, + + GET_CPUIDX_OF_QSET, + + GET_RX_PAGE_INFO, }; /* @@ -81,7 +85,7 @@ struct ddp_params { struct adap_ports { unsigned int nports; /* number of ports on this adapter */ - struct ifnet *lldevs[4]; + struct net_device *lldevs[2]; }; /* @@ -102,6 +106,14 @@ struct ulp_iscsi_info { }; /* + * Offload TX/RX page information. + */ +struct ofld_page_info { + unsigned int page_size; /* Page size, should be a power of 2 */ + unsigned int num; /* Number of pages */ +}; + +/* * Structure used to return information to the RDMA layer. */ struct rdma_info { |