Lines Matching defs:cnic_local
209 struct cnic_local { struct
219 unsigned long cnic_local_flags; argument
225 struct cnic_dev *dev;
227 struct cnic_eth_dev *ethdev;
229 struct cnic_uio_dev *udev;
231 int l2_rx_ring_size;
232 int l2_single_buf_size;
234 u16 *rx_cons_ptr;
235 u16 *tx_cons_ptr;
236 u16 rx_cons;
237 u16 tx_cons;
239 struct cnic_dma kwq_info;
240 struct kwqe **kwq;
242 struct cnic_dma kwq_16_data_info;
244 u16 max_kwq_idx;
246 u16 kwq_prod_idx;
247 u32 kwq_io_addr;
249 u16 *kwq_con_idx_ptr;
250 u16 kwq_con_idx;
252 struct kcq_info kcq1;
253 struct kcq_info kcq2;
255 union {
262 } status_blk;
263 dma_addr_t status_blk_map;
265 struct host_sp_status_block *bnx2x_def_status_blk;
267 u32 status_blk_num;
268 u32 bnx2x_igu_sb_id;
269 u32 int_num;
270 u32 last_status_idx;
271 struct work_struct cnic_irq_bh_work;
273 struct kcqe *completed_kcq[MAX_COMPLETED_KCQE];
275 struct cnic_sock *csk_tbl;
276 struct cnic_id_tbl csk_port_tbl;
278 struct cnic_dma gbl_buf_info;
280 struct cnic_iscsi *iscsi_tbl;
281 struct cnic_context *ctx_tbl;
282 struct cnic_id_tbl cid_tbl;
283 atomic_t iscsi_conn;
284 u32 iscsi_start_cid;
286 u32 fcoe_init_cid;
287 u32 fcoe_start_cid;
288 struct cnic_id_tbl fcoe_cid_tbl;
290 u32 max_cid_space;
293 int num_iscsi_tasks;
294 int num_ccells;
295 int task_array_size;
296 int r2tq_size;
297 int hq_size;
298 int num_cqs;
300 struct delayed_work delete_task;
302 struct cnic_ctx *ctx_arr;
303 int ctx_blks;
304 int ctx_blk_size;
305 unsigned long ctx_align;
306 int cids_per_blk;
308 u32 chip_id;
309 int func;
311 u32 shmem_base;
313 struct cnic_ops *cnic_ops;
314 int (*start_hw)(struct cnic_dev *);
315 void (*stop_hw)(struct cnic_dev *);
316 void (*setup_pgtbl)(struct cnic_dev *,
318 int (*alloc_resc)(struct cnic_dev *);
319 void (*free_resc)(struct cnic_dev *);
320 int (*start_cm)(struct cnic_dev *);
321 void (*stop_cm)(struct cnic_dev *);
322 void (*enable_int)(struct cnic_dev *);
323 void (*disable_int_sync)(struct cnic_dev *);
324 void (*ack_int)(struct cnic_dev *);
325 void (*arm_int)(struct cnic_dev *, u32 index);
326 void (*close_conn)(struct cnic_sock *, u32 opcode);