Searched refs:fnic (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/scsi/fnic/ |
| H A D | fnic_isr.c | 20 struct fnic *fnic = data; in fnic_isr_legacy() local 24 pba = vnic_intr_legacy_pba(fnic->legacy_pba); in fnic_isr_legacy() 28 fnic->fnic_stats.misc_stats.last_isr_time = jiffies; in fnic_isr_legacy() 29 atomic64_inc(&fnic->fnic_stats.misc_stats.isr_count); in fnic_isr_legacy() 32 vnic_intr_return_all_credits(&fnic->intr[FNIC_INTX_NOTIFY]); in fnic_isr_legacy() 33 fnic_handle_link_event(fnic); in fnic_isr_legacy() 37 vnic_intr_return_all_credits(&fnic->intr[FNIC_INTX_ERR]); in fnic_isr_legacy() 38 fnic_log_q_error(fnic); in fnic_isr_legacy() 42 atomic64_inc(&fnic->fnic_stats.misc_stats.intx_dummy); in fnic_isr_legacy() 43 vnic_intr_return_all_credits(&fnic->intr[FNIC_INTX_DUMMY]); in fnic_isr_legacy() [all …]
|
| H A D | fnic_res.c | 22 int fnic_get_vnic_config(struct fnic *fnic) in fnic_get_vnic_config() argument 24 struct vnic_fc_config *c = &fnic->config; in fnic_get_vnic_config() 29 err = vnic_dev_spec(fnic->vdev, \ in fnic_get_vnic_config() 33 dev_err(&fnic->pdev->dev, "Error getting %s, %d\n", #m, err); \ in fnic_get_vnic_config() 62 dev_info(&fnic->pdev->dev, "vNIC role not defined (def role: FC Init)\n"); in fnic_get_vnic_config() 144 dev_info(&fnic->pdev->dev, "fNIC MAC addr %p wq/wq_copy/rq %d/%d/%d\n", in fnic_get_vnic_config() 145 fnic->data_src_addr, in fnic_get_vnic_config() 148 dev_info(&fnic->pdev->dev, "fNIC node wwn 0x%llx port wwn 0x%llx\n", in fnic_get_vnic_config() 150 dev_info(&fnic->pdev->dev, "fNIC ed_tov %d ra_tov %d\n", in fnic_get_vnic_config() 152 dev_info(&fnic->pdev->dev, "fNIC mtu %d intr timer %d\n", in fnic_get_vnic_config() [all …]
|
| H 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 …]
|
| H A D | fnic_debugfs.c | 11 struct fnic *fnic); 470 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_read() local 474 len = sprintf(buf, "%u\n", fnic->reset_stats); in fnic_reset_stats_read() 498 struct fnic *fnic = (struct fnic *)debug->i_private; in fnic_reset_stats_write() local 499 struct fnic_stats *stats = &fnic->fnic_stats; in fnic_reset_stats_write() 518 fnic->reset_stats = val; in fnic_reset_stats_write() 520 if (fnic->reset_stats) { in fnic_reset_stats_write() 525 atomic64_set(&fnic->io_cmpl_skip, in fnic_reset_stats_write() 581 struct fnic *fnic = inode->i_private; in fnic_stats_debugfs_open() local 582 struct fnic_stats *fnic_stats = &fnic->fnic_stats; in fnic_stats_debugfs_open() [all …]
|
| H 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()
|
| H 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,
|
| H A D | Makefile | 2 obj-$(CONFIG_FCOE_FNIC) += fnic.o 4 fnic-y := \
|
| H A D | fnic_trace.c | 463 int fnic_get_debug_info(struct stats_debug_info *info, struct fnic *fnic) in fnic_get_debug_info() argument 465 struct fnic_iport_s *iport = &fnic->iport; in fnic_get_debug_info() 477 fnic->name, fnic->fnic_num, in fnic_get_debug_info() 478 fnic_role_to_str(fnic->role), in fnic_get_debug_info() 479 fnic_state_to_str(fnic->state)); in fnic_get_debug_info() 505 spin_lock_irqsave(&fnic->fnic_lock, flags); in fnic_get_debug_info() 513 spin_unlock_irqrestore(&fnic->fnic_lock, flags); in fnic_get_debug_info()
|
| /linux/drivers/scsi/ |
| H A D | Makefile | 44 obj-$(CONFIG_FCOE_FNIC) += fnic/
|
| /linux/ |
| H A D | MAINTAINERS | 6209 F: drivers/scsi/fnic/
|