/linux-3.4.99/drivers/scsi/fnic/ |
D | fnic_isr.c | 32 struct fnic *fnic = data; in fnic_isr_legacy() local 36 pba = vnic_intr_legacy_pba(fnic->legacy_pba); in fnic_isr_legacy() 41 vnic_intr_return_all_credits(&fnic->intr[FNIC_INTX_NOTIFY]); in fnic_isr_legacy() 42 fnic_handle_link_event(fnic); in fnic_isr_legacy() 46 vnic_intr_return_all_credits(&fnic->intr[FNIC_INTX_ERR]); in fnic_isr_legacy() 47 fnic_log_q_error(fnic); in fnic_isr_legacy() 51 work_done += fnic_wq_copy_cmpl_handler(fnic, -1); in fnic_isr_legacy() 52 work_done += fnic_wq_cmpl_handler(fnic, -1); in fnic_isr_legacy() 53 work_done += fnic_rq_cmpl_handler(fnic, -1); in fnic_isr_legacy() 55 vnic_intr_return_credits(&fnic->intr[FNIC_INTX_WQ_RQ_COPYWQ], in fnic_isr_legacy() [all …]
|
D | fnic_main.c | 159 struct fnic *fnic = lport_priv(lp); in fnic_get_host_speed() local 160 u32 port_speed = vnic_dev_port_speed(fnic->vdev); in fnic_get_host_speed() 177 struct fnic *fnic = lport_priv(lp); in fnic_get_stats() local 182 if (time_before(jiffies, fnic->stats_time + HZ / FNIC_STATS_RATE_LIMIT)) in fnic_get_stats() 184 fnic->stats_time = jiffies; in fnic_get_stats() 186 spin_lock_irqsave(&fnic->fnic_lock, flags); in fnic_get_stats() 187 ret = vnic_dev_stats_dump(fnic->vdev, &fnic->stats); in fnic_get_stats() 188 spin_unlock_irqrestore(&fnic->fnic_lock, flags); in fnic_get_stats() 191 FNIC_MAIN_DBG(KERN_DEBUG, fnic->lport->host, in fnic_get_stats() 196 vs = fnic->stats; in fnic_get_stats() [all …]
|
D | fnic_fcs.c | 39 static void fnic_set_eth_mode(struct fnic *); 43 struct fnic *fnic = container_of(work, struct fnic, link_work); in fnic_handle_link() local 48 spin_lock_irqsave(&fnic->fnic_lock, flags); in fnic_handle_link() 50 if (fnic->stop_rx_link_events) { in fnic_handle_link() 51 spin_unlock_irqrestore(&fnic->fnic_lock, flags); in fnic_handle_link() 55 old_link_down_cnt = fnic->link_down_cnt; in fnic_handle_link() 56 old_link_status = fnic->link_status; in fnic_handle_link() 57 fnic->link_status = vnic_dev_link_status(fnic->vdev); in fnic_handle_link() 58 fnic->link_down_cnt = vnic_dev_link_down_cnt(fnic->vdev); in fnic_handle_link() 60 if (old_link_status == fnic->link_status) { in fnic_handle_link() [all …]
|
D | fnic_res.c | 34 int fnic_get_vnic_config(struct fnic *fnic) in fnic_get_vnic_config() argument 36 struct vnic_fc_config *c = &fnic->config; in fnic_get_vnic_config() 41 err = vnic_dev_spec(fnic->vdev, \ in fnic_get_vnic_config() 45 shost_printk(KERN_ERR, fnic->lport->host, \ in fnic_get_vnic_config() 146 shost_printk(KERN_INFO, fnic->lport->host, in fnic_get_vnic_config() 149 fnic->ctlr.ctl_src_addr, in fnic_get_vnic_config() 152 shost_printk(KERN_INFO, fnic->lport->host, in fnic_get_vnic_config() 155 shost_printk(KERN_INFO, fnic->lport->host, in fnic_get_vnic_config() 158 shost_printk(KERN_INFO, fnic->lport->host, in fnic_get_vnic_config() 161 shost_printk(KERN_INFO, fnic->lport->host, in fnic_get_vnic_config() [all …]
|
D | fnic_scsi.c | 103 static void fnic_cleanup_io(struct fnic *fnic, int exclude_id); 105 static inline spinlock_t *fnic_io_lock_hash(struct fnic *fnic, in fnic_io_lock_hash() argument 110 return &fnic->io_req_lock[hash]; in fnic_io_lock_hash() 117 static void fnic_release_ioreq_buf(struct fnic *fnic, in fnic_release_ioreq_buf() argument 122 pci_unmap_single(fnic->pdev, io_req->sgl_list_pa, in fnic_release_ioreq_buf() 129 fnic->io_sgl_pool[io_req->sgl_type]); in fnic_release_ioreq_buf() 131 pci_unmap_single(fnic->pdev, io_req->sense_buf_pa, in fnic_release_ioreq_buf() 136 static int free_wq_copy_descs(struct fnic *fnic, struct vnic_wq_copy *wq) in free_wq_copy_descs() argument 139 if (!fnic->fw_ack_recd[0]) in free_wq_copy_descs() 146 if (wq->to_clean_index <= fnic->fw_ack_index[0]) in free_wq_copy_descs() [all …]
|
D | fnic.h | 147 struct fnic { struct 223 static inline struct fnic *fnic_from_ctlr(struct fcoe_ctlr *fip) in fnic_from_ctlr() argument 225 return container_of(fip, struct fnic, ctlr); in fnic_from_ctlr() 231 void fnic_clear_intr_mode(struct fnic *fnic); 232 int fnic_set_intr_mode(struct fnic *fnic); 233 void fnic_free_intr(struct fnic *fnic); 234 int fnic_request_intr(struct fnic *fnic); 240 int fnic_rq_cmpl_handler(struct fnic *fnic, int); 243 void fnic_flush_tx(struct fnic *); 247 void fnic_update_mac_locked(struct fnic *, u8 *new); [all …]
|
D | fnic_attrs.c | 27 struct fnic *fnic = lport_priv(lp); in fnic_show_state() local 29 return snprintf(buf, PAGE_SIZE, "%s\n", fnic_state_str[fnic->state]); in fnic_show_state()
|
D | fnic_res.h | 238 struct fnic; 240 int fnic_get_vnic_config(struct fnic *); 241 int fnic_alloc_vnic_resources(struct fnic *); 242 void fnic_free_vnic_resources(struct fnic *); 243 void fnic_get_res_counts(struct fnic *); 244 int fnic_set_nic_config(struct fnic *fnic, u8 rss_default_cpu,
|
D | Makefile | 1 obj-$(CONFIG_FCOE_FNIC) += fnic.o 3 fnic-y := \
|
/linux-3.4.99/drivers/scsi/ |
D | Makefile | 42 obj-$(CONFIG_FCOE_FNIC) += fnic/
|
D | Kconfig | 702 The module will be called fnic.
|
/linux-3.4.99/ |
D | MAINTAINERS | 1856 F: drivers/scsi/fnic/
|