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