Lines Matching defs:qedi_ctx
262 struct qedi_ctx { struct
263 struct qedi_dbg_ctx dbg_ctx;
264 struct Scsi_Host *shost;
265 struct pci_dev *pdev;
266 struct qed_dev *cdev;
267 struct qed_dev_iscsi_info dev_info;
268 struct qed_int_info int_info;
269 struct qedi_glbl_q_params *p_cpuq;
270 struct global_queue **global_queues;
272 struct qedi_uio_dev *udev;
273 struct list_head ll2_skb_list;
274 spinlock_t ll2_lock; /* Light L2 lock */
275 spinlock_t hba_lock; /* per port lock */
276 struct task_struct *ll2_recv_thread;
277 unsigned long qedi_err_flags;
281 unsigned long flags;
288 u8 mac[ETH_ALEN];
289 u32 src_ip[4];
290 u8 ip_type;
293 dma_addr_t hw_p_cpuq;
295 struct qedi_bdq_buf bdq[QEDI_BDQ_NUM];
296 void *bdq_pbl;
297 dma_addr_t bdq_pbl_dma;
298 size_t bdq_pbl_mem_size;
299 void *bdq_pbl_list;
300 dma_addr_t bdq_pbl_list_dma;
301 u8 bdq_pbl_list_num_entries;
302 struct qedi_nvm_iscsi_image *iscsi_image;
303 dma_addr_t nvm_buf_dma;
304 void __iomem *bdq_primary_prod;
305 void __iomem *bdq_secondary_prod;
306 u16 bdq_prod_idx;
307 u16 rq_num_entries;
309 u32 max_sqes;
310 u8 num_queues;
311 u32 max_active_conns;
312 s32 msix_count;
314 struct iscsi_cid_queue cid_que;
315 struct qedi_endpoint **ep_tbl;
316 struct qedi_portid_tbl lcl_port_tbl;
319 struct qed_sb_info *sb_array;
320 struct qedi_fastpath *fp_array;
321 struct qed_iscsi_tid tasks;
325 atomic_t link_state;
330 unsigned long task_idx_map[MAX_ISCSI_TASK_ENTRIES / BITS_PER_LONG];
331 struct qedi_itt_map *itt_map;
332 u16 tid_reuse_count[QEDI_MAX_ISCSI_TASK];
333 struct qed_pf_params pf_params;
335 struct workqueue_struct *tmf_thread;
336 struct workqueue_struct *offload_thread;
338 u16 ll2_mtu;
340 struct workqueue_struct *dpc_wq;
341 struct delayed_work recovery_work;
342 struct delayed_work board_disable_work;
344 spinlock_t task_idx_lock; /* To protect gbl context */
345 s32 last_tidx_alloc;
346 s32 last_tidx_clear;
371 struct qedi_ctx *qedi; argument