/linux/drivers/scsi/fnic/ |
H A D | fnic.h | 350 struct fnic *fnic; member 362 struct fnic { struct 363 int fnic_num; argument 364 enum fnic_role_e role; argument 365 struct fnic_iport_s iport; argument 369 struct fnic_msix_entry msix[FNIC_MSIX_INTR_MAX]; argument 378 unsigned int fnic_max_tag_id; argument 389 struct dentry *fnic_stats_debugfs_host; argument 390 struct dentry *fnic_stats_debugfs_file; argument 391 struct dentry *fnic_reset_debugfs_file; argument [all …]
|
H A D | fnic_fcs.c | 39 static inline void fnic_fdls_set_fcoe_srcmac(struct fnic *fnic, in fnic_fdls_set_fcoe_srcmac() 54 static inline void fnic_fdls_set_fcoe_dstmac(struct fnic *fnic, in fnic_fdls_set_fcoe_dstmac() 67 struct fnic *fnic = *((struct fnic **) shost_priv(shost)); in fnic_get_host_port_state() local 81 void fnic_fdls_link_status_change(struct fnic *fnic, int linkup) in fnic_fdls_link_status_change() 122 struct fnic *fnic = iport->fnic; in fnic_fdls_learn_fcoe_macs() local 143 void fnic_fdls_init(struct fnic *fnic, int usefip) in fnic_fdls_init() 165 struct fnic *fnic = container_of(work, struct fnic, link_work); in fnic_handle_link() local 285 struct fnic *fnic = container_of(work, struct fnic, frame_work); in fnic_handle_frame() local 329 struct fnic *fnic = container_of(work, struct fnic, fip_frame_work); in fnic_handle_fip_frame() local 370 static inline int fnic_import_rq_eth_pkt(struct fnic *fnic, void *fp) in fnic_import_rq_eth_pkt() [all …]
|
H A D | fnic_main.c | 183 struct fnic *fnic = *((struct fnic **) shost_priv(shost)); in fnic_get_host_speed() local 248 struct fnic *fnic = *((struct fnic **) shost_priv(host)); in fnic_get_stats() local 359 struct fnic *fnic = *((struct fnic **) shost_priv(host)); in fnic_reset_host_stats() local 383 void fnic_log_q_error(struct fnic *fnic) in fnic_log_q_error() 407 void fnic_handle_link_event(struct fnic *fnic) in fnic_handle_link_event() 422 static int fnic_notify_set(struct fnic *fnic) in fnic_notify_set() 449 struct fnic *fnic = from_timer(fnic, t, notify_timer); in fnic_notify_timer() local 456 static void fnic_notify_timer_start(struct fnic *fnic) in fnic_notify_timer_start() 508 static int fnic_cleanup(struct fnic *fnic) in fnic_cleanup() 563 static void fnic_iounmap(struct fnic *fnic) in fnic_iounmap() [all …]
|
H A D | fnic_isr.c | 20 struct fnic *fnic = data; in fnic_isr_legacy() local 62 struct fnic *fnic = data; in fnic_isr_msi() local 82 struct fnic *fnic = data; in fnic_isr_msix_rq() local 99 struct fnic *fnic = data; in fnic_isr_msix_wq() local 115 struct fnic *fnic = data; in fnic_isr_msix_wq_copy() local 141 struct fnic *fnic = data; in fnic_isr_msix_err_notify() local 153 void fnic_free_intr(struct fnic *fnic) in fnic_free_intr() 175 int fnic_request_intr(struct fnic *fnic) in fnic_request_intr() 242 int fnic_set_intr_mode_msix(struct fnic *fnic) in fnic_set_intr_mode_msix() 322 int fnic_set_intr_mode(struct fnic *fnic) in fnic_set_intr_mode() [all …]
|
H A D | fip.c | 16 void fnic_fcoe_reset_vlans(struct fnic *fnic) in fnic_fcoe_reset_vlans() 38 void fnic_fcoe_send_vlan_req(struct fnic *fnic) in fnic_fcoe_send_vlan_req() 102 void fnic_fcoe_process_vlan_resp(struct fnic *fnic, struct fip_header *fiph) in fnic_fcoe_process_vlan_resp() 188 void fnic_fcoe_start_fcf_discovery(struct fnic *fnic) in fnic_fcoe_start_fcf_discovery() 249 void fnic_fcoe_fip_discovery_resp(struct fnic *fnic, struct fip_header *fiph) in fnic_fcoe_fip_discovery_resp() 354 void fnic_fcoe_start_flogi(struct fnic *fnic) in fnic_fcoe_start_flogi() 448 void fnic_fcoe_process_flogi_resp(struct fnic *fnic, struct fip_header *fiph) in fnic_fcoe_process_flogi_resp() 571 void fnic_common_fip_cleanup(struct fnic *fnic) in fnic_common_fip_cleanup() 612 void fnic_fcoe_process_cvl(struct fnic *fnic, struct fip_header *fiph) in fnic_fcoe_process_cvl() 689 int fdls_fip_recv_frame(struct fnic *fnic, void *frame) in fdls_fip_recv_frame() [all …]
|
H A D | fnic_scsi.c | 111 static void fnic_release_ioreq_buf(struct fnic *fnic, in fnic_release_ioreq_buf() 130 fnic_count_portid_ioreqs_iter(struct fnic *fnic, struct scsi_cmnd *sc, in fnic_count_portid_ioreqs_iter() 144 unsigned int fnic_count_ioreqs(struct fnic *fnic, u32 portid) in fnic_count_ioreqs() 156 unsigned int fnic_count_all_ioreqs(struct fnic *fnic) in fnic_count_all_ioreqs() 162 fnic_count_lun_ioreqs_iter(struct fnic *fnic, struct scsi_cmnd *sc, in fnic_count_lun_ioreqs_iter() 176 fnic_count_lun_ioreqs(struct fnic *fnic, struct scsi_device *scsi_device) in fnic_count_lun_ioreqs() 189 static int free_wq_copy_descs(struct fnic *fnic, struct vnic_wq_copy *wq, unsigned int hwq) in free_wq_copy_descs() 226 __fnic_set_state_flags(struct fnic *fnic, unsigned long st_flags, in __fnic_set_state_flags() 248 int fnic_fw_reset_handler(struct fnic *fnic) in fnic_fw_reset_handler() 302 int fnic_flogi_reg_handler(struct fnic *fnic, u32 fc_id) in fnic_flogi_reg_handler() [all …]
|
H A D | fdls_disc.c | 102 struct fnic *fnic = iport->fnic; in fdls_alloc_frame() local 127 struct fnic *fnic = iport->fnic; in fdls_alloc_oxid() local 167 struct fnic *fnic = iport->fnic; in fdls_free_oxid_idx() local 193 struct fnic *fnic = iport->fnic; in fdls_reclaim_oxid_handler() local 261 struct fnic *fnic = iport->fnic; in fdls_schedule_oxid_free() local 308 struct fnic *fnic = iport->fnic; in fdls_schedule_oxid_free_retry_work() local 407 void fnic_del_fabric_timer_sync(struct fnic *fnic) in fnic_del_fabric_timer_sync() 416 void fnic_del_tport_timer_sync(struct fnic *fnic, in fnic_del_tport_timer_sync() 430 struct fnic *fnic = iport->fnic; in fdls_start_fabric_timer() local 455 struct fnic *fnic = iport->fnic; in fdls_start_tport_timer() local [all …]
|
H A D | fnic_res.c | 22 int fnic_get_vnic_config(struct fnic *fnic) in fnic_get_vnic_config() 171 int fnic_set_nic_config(struct fnic *fnic, u8 rss_default_cpu, in fnic_set_nic_config() 190 void fnic_get_res_counts(struct fnic *fnic) in fnic_get_res_counts() 208 void fnic_free_vnic_resources(struct fnic *fnic) in fnic_free_vnic_resources() 228 int fnic_alloc_vnic_resources(struct fnic *fnic) in fnic_alloc_vnic_resources()
|
H A D | fnic_debugfs.c | 470 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_read() local 498 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_write() local 581 struct fnic *fnic = inode->i_private; in fnic_stats_debugfs_open() local 680 int fnic_stats_debugfs_init(struct fnic *fnic) in fnic_stats_debugfs_init() 708 void fnic_stats_debugfs_remove(struct fnic *fnic) in fnic_stats_debugfs_remove()
|
H A D | fnic_attrs.c | 14 struct fnic *fnic = in fnic_show_state() local 29 struct fnic *fnic = in fnic_show_link_state() local
|
H A D | fip.h | 138 fnic_debug_dump_fip_frame(struct fnic *fnic, struct ethhdr *eth, in fnic_debug_dump_fip_frame() 155 fnic_debug_dump_fip_frame(struct fnic *fnic, struct ethhdr *eth, in fnic_debug_dump_fip_frame()
|
H A D | fnic_trace.c | 470 int fnic_get_debug_info(struct stats_debug_info *info, struct fnic *fnic) in fnic_get_debug_info()
|
H A D | fnic_fdls.h | 264 struct fnic *fnic; member
|