| /drivers/scsi/fnic/ |
| 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 189 0, fnic->name, fnic); in fnic_request_intr() 208 fnic->msix[i].devid = fnic; in fnic_request_intr() 215 fnic->msix[fnic->err_intr_offset].devid = fnic; in fnic_request_intr() 286 fnic->copy_wq_base = fnic->rq_count + fnic->raw_wq_count; in fnic_set_intr_mode_msix() [all …]
|
| A D | fnic_fcs.c | 67 struct fnic *fnic = *((struct fnic **) shost_priv(shost)); in fnic_get_host_port_state() local 122 struct fnic *fnic = iport->fnic; in fnic_fdls_learn_fcoe_macs() local 149 iport->fnic = fnic; 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 734 struct fnic *fnic = iport->fnic; in fnic_send_fcoe_frame() local 756 struct fnic *fnic = iport->fnic; in fnic_send_fip_frame() local 777 struct fnic *fnic = container_of(work, struct fnic, flush_work); in fnic_flush_tx() local 796 struct fnic *fnic = iport->fnic; in fnic_fdls_register_portid() local 909 struct fnic *fnic = iport->fnic; in fnic_fdls_add_tport() local [all …]
|
| 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() argument 434 err = vnic_dev_notify_set(fnic->vdev, fnic->wq_copy_count + fnic->copy_wq_base); in fnic_notify_set() 449 struct fnic *fnic = timer_container_of(fnic, t, notify_timer); in fnic_notify_timer() local 508 static int fnic_cleanup(struct fnic *fnic) in fnic_cleanup() argument 563 static void fnic_iounmap(struct fnic *fnic) in fnic_iounmap() argument 679 struct fnic *fnic = *((struct fnic **) shost_priv(host)); in fnic_mq_map_queues_cpus() local 705 struct fnic *fnic; in fnic_probe() local [all …]
|
| A D | fnic_scsi.c | 1757 struct fnic *fnic; member 1766 struct fnic *fnic = iter_data->fnic; in fnic_rport_abort_io_iter() local 1881 .fnic = fnic, in fnic_rport_exch_reset() 2007 struct fnic *fnic; in fnic_abort_cmd() local 2343 struct fnic *fnic; member 2353 struct fnic *fnic = iter_data->fnic; in fnic_pending_aborts_iter() local 2507 .fnic = fnic, in fnic_clean_pending_aborts() 2540 struct fnic *fnic; in fnic_device_reset() local 2855 struct fnic *fnic; in fnic_reset() local 2951 struct fnic *fnic = iter_data->fnic; in fnic_abts_pending_iter() local [all …]
|
| A D | fip.c | 16 void fnic_fcoe_reset_vlans(struct fnic *fnic) in fnic_fcoe_reset_vlans() argument 30 FNIC_FIP_DBG(KERN_INFO, fnic->host, fnic->fnic_num, in fnic_fcoe_reset_vlans() 38 void fnic_fcoe_send_vlan_req(struct fnic *fnic) in fnic_fcoe_send_vlan_req() argument 56 fnic->set_vlan(fnic, 0); in fnic_fcoe_send_vlan_req() 724 struct fnic *fnic = container_of(work, struct fnic, fip_timer_work); in fnic_work_on_fip_timer() local 780 struct fnic *fnic = timer_container_of(fnic, t, retry_fip_timer); in fnic_handle_fip_timer() local 793 struct fnic *fnic = timer_container_of(fnic, t, enode_ka_timer); in fnic_handle_enode_ka_timer() local 846 struct fnic *fnic = timer_container_of(fnic, t, vn_ka_timer); in fnic_handle_vn_ka_timer() local 952 fnic->set_vlan(fnic, vlan->vid); in fnic_vlan_discovery_timeout() 959 fnic->set_vlan(fnic, vlan->vid); in fnic_vlan_discovery_timeout() [all …]
|
| A D | fnic_res.c | 22 int fnic_get_vnic_config(struct fnic *fnic) in fnic_get_vnic_config() argument 190 void fnic_get_res_counts(struct fnic *fnic) in fnic_get_res_counts() argument 194 fnic->wq_copy_count = fnic->config.wq_copy_count; in fnic_get_res_counts() 208 void fnic_free_vnic_resources(struct fnic *fnic) in fnic_free_vnic_resources() argument 228 int fnic_alloc_vnic_resources(struct fnic *fnic) in fnic_alloc_vnic_resources() argument 248 fnic->wq_count, fnic->wq_copy_count, in fnic_alloc_vnic_resources() 249 fnic->raw_wq_count, fnic->rq_count); in fnic_alloc_vnic_resources() 252 fnic->cq_count, fnic->intr_count, in fnic_alloc_vnic_resources() 257 err = vnic_wq_alloc(fnic->vdev, &fnic->wq[i], i, in fnic_alloc_vnic_resources() 276 err = vnic_rq_alloc(fnic->vdev, &fnic->rq[i], i, in fnic_alloc_vnic_resources() [all …]
|
| 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 416 struct fnic *fnic = iport->fnic; in fdls_start_fabric_timer() local 441 struct fnic *fnic = iport->fnic; in fdls_start_tport_timer() local 571 struct fnic *fnic = iport->fnic; in fdls_send_rscn_resp() local 604 struct fnic *fnic = iport->fnic; in fdls_send_logo_resp() local [all …]
|
| A D | fnic.h | 350 struct fnic *fnic; member 488 void fnic_clear_intr_mode(struct fnic *fnic); argument 489 int fnic_set_intr_mode(struct fnic *fnic); 491 void fnic_free_intr(struct fnic *fnic); 492 int fnic_request_intr(struct fnic *fnic); 526 void fnic_log_q_error(struct fnic *fnic); 558 void fnic_scsi_unload(struct fnic *fnic); 561 struct fnic *fnic); 564 struct fnic *fnic; member 580 fnic_scsi_io_iter(struct fnic *fnic, in fnic_scsi_io_iter() argument [all …]
|
| A D | fip.h | 123 void fnic_fcoe_process_vlan_resp(struct fnic *fnic, struct fip_header *fiph); 124 void fnic_fcoe_fip_discovery_resp(struct fnic *fnic, struct fip_header *fiph); 125 void fnic_fcoe_process_flogi_resp(struct fnic *fnic, struct fip_header *fiph); 128 void fnic_fcoe_send_vlan_req(struct fnic *fnic); 129 void fnic_fcoe_start_fcf_discovery(struct fnic *fnic); 130 void fnic_fcoe_start_flogi(struct fnic *fnic); 131 void fnic_fcoe_process_cvl(struct fnic *fnic, struct fip_header *fiph); 132 void fnic_vlan_discovery_timeout(struct fnic *fnic); 138 fnic_debug_dump_fip_frame(struct fnic *fnic, struct ethhdr *eth, in fnic_debug_dump_fip_frame() argument 145 FNIC_FCS_DBG(KERN_DEBUG, fnic->host, fnic->fnic_num, in fnic_debug_dump_fip_frame() [all …]
|
| A D | fnic_debugfs.c | 11 struct fnic *fnic); 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 518 fnic->reset_stats = val; in fnic_reset_stats_write() 520 if (fnic->reset_stats) { in fnic_reset_stats_write() 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() argument 691 fnic, in fnic_stats_debugfs_init() 696 fnic, in fnic_stats_debugfs_init() 708 void fnic_stats_debugfs_remove(struct fnic *fnic) in fnic_stats_debugfs_remove() argument [all …]
|
| A D | fnic_fdls.h | 264 struct fnic *fnic; member 386 void fnic_del_fabric_timer_sync(struct fnic *fnic); 387 void fnic_del_tport_timer_sync(struct fnic *fnic, 400 void fnic_fdls_init(struct fnic *fnic, int usefip); 403 void fnic_fcoe_send_vlan_req(struct fnic *fnic); 415 void fnic_fcoe_send_vlan_req(struct fnic *fnic); 416 void fnic_common_fip_cleanup(struct fnic *fnic); 417 int fdls_fip_recv_frame(struct fnic *fnic, void *frame); 425 void fnic_scsi_fcpio_reset(struct fnic *fnic); 427 void fnic_rport_exch_reset(struct fnic *fnic, u32 fcid);
|
| A D | fnic_attrs.c | 14 struct fnic *fnic = in fnic_show_state() local 15 *((struct fnic **) shost_priv(class_to_shost(dev))); in fnic_show_state() 17 return sysfs_emit(buf, "%s\n", fnic_state_str[fnic->state]); in fnic_show_state() 29 struct fnic *fnic = in fnic_show_link_state() local 30 *((struct fnic **) shost_priv(class_to_shost(dev))); in fnic_show_link_state() 33 ((fnic->iport.state != FNIC_IPORT_STATE_INIT) && in fnic_show_link_state() 34 (fnic->iport.state != FNIC_IPORT_STATE_LINK_WAIT)) ? in fnic_show_link_state()
|
| A D | fnic_res.h | 226 struct fnic; 228 int fnic_get_vnic_config(struct fnic *); 229 int fnic_alloc_vnic_resources(struct fnic *); 230 void fnic_free_vnic_resources(struct fnic *); 231 void fnic_get_res_counts(struct fnic *); 232 int fnic_set_nic_config(struct fnic *fnic, u8 rss_default_cpu,
|
| A D | Makefile | 2 obj-$(CONFIG_FCOE_FNIC) += fnic.o 4 fnic-y := \
|
| A D | fnic_trace.c | 470 int fnic_get_debug_info(struct stats_debug_info *info, struct fnic *fnic) in fnic_get_debug_info() argument 472 struct fnic_iport_s *iport = &fnic->iport; in fnic_get_debug_info() 484 fnic->name, fnic->fnic_num, in fnic_get_debug_info() 485 fnic_role_to_str(fnic->role), in fnic_get_debug_info() 486 fnic_state_to_str(fnic->state)); in fnic_get_debug_info() 512 spin_lock_irqsave(&fnic->fnic_lock, flags); in fnic_get_debug_info() 520 spin_unlock_irqrestore(&fnic->fnic_lock, flags); in fnic_get_debug_info()
|
| /drivers/scsi/ |
| A D | Makefile | 44 obj-$(CONFIG_FCOE_FNIC) += fnic/
|
| A D | Kconfig | 627 The module will be called fnic.
|