Lines Matching defs:bnx2fc_rport
290 struct bnx2fc_rport { struct
291 struct fcoe_port *port;
292 struct fc_rport *rport;
293 struct fc_rport_priv *rdata;
294 void __iomem *ctx_base;
296 u32 io_timeout;
297 u32 fcoe_conn_id;
298 u32 context_id;
299 u32 sid;
300 int dev_type;
302 unsigned long flags;
313 u8 src_addr[ETH_ALEN];
314 u32 max_sqes;
315 u32 max_rqes;
316 u32 max_cqes;
317 atomic_t free_sqes;
319 struct b577xx_doorbell_set_prod sq_db;
320 struct b577xx_fcoe_rx_doorbell rx_db;
322 struct fcoe_sqe *sq;
323 dma_addr_t sq_dma;
324 u16 sq_prod_idx;
325 u8 sq_curr_toggle_bit;
326 u32 sq_mem_size;
328 struct fcoe_cqe *cq;
329 dma_addr_t cq_dma;
330 u16 cq_cons_idx;
331 u8 cq_curr_toggle_bit;
332 u32 cq_mem_size;
334 void *rq;
335 dma_addr_t rq_dma;
336 u32 rq_prod_idx;
337 u32 rq_cons_idx;
338 u32 rq_mem_size;
340 void *rq_pbl;
341 dma_addr_t rq_pbl_dma;
342 u32 rq_pbl_size;
344 struct fcoe_xfrqe *xferq;
345 dma_addr_t xferq_dma;
346 u32 xferq_mem_size;
348 struct fcoe_confqe *confq;
349 dma_addr_t confq_dma;
350 u32 confq_mem_size;
352 void *confq_pbl;
353 dma_addr_t confq_pbl_dma;
354 u32 confq_pbl_size;
356 struct fcoe_conn_db *conn_db;
357 dma_addr_t conn_db_dma;
358 u32 conn_db_mem_size;
360 struct fcoe_sqe *lcq;
361 dma_addr_t lcq_dma;
362 u32 lcq_mem_size;
364 void *ofld_req[4];
365 dma_addr_t ofld_req_dma[4];
366 void *enbl_req;
367 dma_addr_t enbl_req_dma;
369 spinlock_t tgt_lock;
370 spinlock_t cq_lock;
371 atomic_t num_active_ios;
372 u32 flush_in_prog;
373 unsigned long timestamp;
374 unsigned long retry_delay_timestamp;
375 struct list_head free_task_list;
376 struct bnx2fc_cmd *pending_queue[BNX2FC_SQ_WQES_MAX+1];
377 struct list_head active_cmd_queue;
378 struct list_head els_queue;
379 struct list_head io_retire_queue;
380 struct list_head active_tm_queue;
382 struct timer_list ofld_timer;
383 wait_queue_head_t ofld_wait;
385 struct timer_list upld_timer;
386 wait_queue_head_t upld_wait;