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