@@ -479,7 +479,6 @@ int fnic_set_intr_mode_msix(struct fnic *fnic);
479
479
void fnic_free_intr (struct fnic * fnic );
480
480
int fnic_request_intr (struct fnic * fnic );
481
481
482
- int fnic_send (struct fc_lport * , struct fc_frame * );
483
482
void fnic_free_wq_buf (struct vnic_wq * wq , struct vnic_wq_buf * buf );
484
483
void fnic_handle_frame (struct work_struct * work );
485
484
void fnic_tport_event_handler (struct work_struct * work );
@@ -499,11 +498,9 @@ int fnic_abort_cmd(struct scsi_cmnd *);
499
498
int fnic_device_reset (struct scsi_cmnd * );
500
499
int fnic_eh_host_reset_handler (struct scsi_cmnd * sc );
501
500
int fnic_host_reset (struct Scsi_Host * shost );
502
- int fnic_reset (struct Scsi_Host * );
503
- void fnic_scsi_cleanup (struct fc_lport * );
504
- void fnic_scsi_abort_io (struct fc_lport * );
505
- void fnic_empty_scsi_cleanup (struct fc_lport * );
506
- void fnic_exch_mgr_reset (struct fc_lport * , u32 , u32 );
501
+ void fnic_reset (struct Scsi_Host * shost );
502
+ int fnic_issue_fc_host_lip (struct Scsi_Host * shost );
503
+ void fnic_scsi_fcpio_reset (struct fnic * fnic );
507
504
int fnic_wq_copy_cmpl_handler (struct fnic * fnic , int copy_work_to_do , unsigned int cq_index );
508
505
int fnic_wq_cmpl_handler (struct fnic * fnic , int );
509
506
int fnic_flogi_reg_handler (struct fnic * fnic , u32 );
@@ -515,7 +512,8 @@ const char *fnic_state_to_str(unsigned int state);
515
512
void fnic_mq_map_queues_cpus (struct Scsi_Host * host );
516
513
void fnic_log_q_error (struct fnic * fnic );
517
514
void fnic_handle_link_event (struct fnic * fnic );
518
-
515
+ void fnic_stats_debugfs_init (struct fnic * fnic );
516
+ void fnic_stats_debugfs_remove (struct fnic * fnic );
519
517
int fnic_is_abts_pending (struct fnic * , struct scsi_cmnd * );
520
518
521
519
void fnic_handle_fip_frame (struct work_struct * work );
@@ -536,6 +534,13 @@ int fnic_get_desc_by_devid(struct pci_dev *pdev, char **desc,
536
534
void fnic_fdls_link_status_change (struct fnic * fnic , int linkup );
537
535
void fnic_delete_fcp_tports (struct fnic * fnic );
538
536
void fnic_flush_tport_event_list (struct fnic * fnic );
537
+ int fnic_count_ioreqs_wq (struct fnic * fnic , u32 hwq , u32 portid );
538
+ unsigned int fnic_count_ioreqs (struct fnic * fnic , u32 portid );
539
+ unsigned int fnic_count_all_ioreqs (struct fnic * fnic );
540
+ unsigned int fnic_count_lun_ioreqs_wq (struct fnic * fnic , u32 hwq ,
541
+ struct scsi_device * device );
542
+ unsigned int fnic_count_lun_ioreqs (struct fnic * fnic ,
543
+ struct scsi_device * device );
539
544
540
545
struct fnic_scsi_iter_data {
541
546
struct fnic * fnic ;
0 commit comments