/drivers/scsi/fnic/ |
H A D | Makefile | 1 obj-$(CONFIG_FCOE_FNIC) += fnic.o 3 fnic-y := \
|
H A D | fnic_attrs.c | 21 #include "fnic.h" 27 struct fnic *fnic = lport_priv(lp); local 29 return snprintf(buf, PAGE_SIZE, "%s\n", fnic_state_str[fnic->state]);
|
H A D | fnic_isr.c | 28 #include "fnic.h" 32 struct fnic *fnic = data; local 36 pba = vnic_intr_legacy_pba(fnic->legacy_pba); 41 vnic_intr_return_all_credits(&fnic->intr[FNIC_INTX_NOTIFY]); 42 fnic_handle_link_event(fnic); 46 vnic_intr_return_all_credits(&fnic->intr[FNIC_INTX_ERR]); 47 fnic_log_q_error(fnic); 51 work_done += fnic_wq_copy_cmpl_handler(fnic, -1); 52 work_done += fnic_wq_cmpl_handler(fnic, 66 struct fnic *fnic = data; local 83 struct fnic *fnic = data; local 97 struct fnic *fnic = data; local 110 struct fnic *fnic = data; local 123 struct fnic *fnic = data; local 132 fnic_free_intr(struct fnic *fnic) argument 154 fnic_request_intr(struct fnic *fnic) argument 217 fnic_set_intr_mode(struct fnic *fnic) argument 317 fnic_clear_intr_mode(struct fnic *fnic) argument [all...] |
H A D | fnic_res.c | 32 #include "fnic.h" 34 int fnic_get_vnic_config(struct fnic *fnic) argument 36 struct vnic_fc_config *c = &fnic->config; 41 err = vnic_dev_spec(fnic->vdev, \ 45 shost_printk(KERN_ERR, fnic->lport->host, \ 146 shost_printk(KERN_INFO, fnic->lport->host, 149 fnic->ctlr.ctl_src_addr, 152 shost_printk(KERN_INFO, fnic->lport->host, 155 shost_printk(KERN_INFO, fnic 180 fnic_set_nic_config(struct fnic *fnic, u8 rss_default_cpu, u8 rss_hash_type, u8 rss_hash_bits, u8 rss_base_cpu, u8 rss_enable, u8 tso_ipid_split_en, u8 ig_vlan_strip_en) argument 199 fnic_get_res_counts(struct fnic *fnic) argument 210 fnic_free_vnic_resources(struct fnic *fnic) argument 230 fnic_alloc_vnic_resources(struct fnic *fnic) argument [all...] |
H A D | fnic_main.c | 42 #include "fnic.h" 54 /* Supported devices by fnic module */ 69 MODULE_PARM_DESC(fnic_log_level, "bit mask of fnic logging levels"); 159 struct fnic *fnic = lport_priv(lp); local 160 u32 port_speed = vnic_dev_port_speed(fnic->vdev); 177 struct fnic *fnic = lport_priv(lp); local 182 if (time_before(jiffies, fnic->stats_time + HZ / FNIC_STATS_RATE_LIMIT)) 184 fnic 211 fnic_log_q_error(struct fnic *fnic) argument 241 fnic_handle_link_event(struct fnic *fnic) argument 256 fnic_notify_set(struct fnic *fnic) argument 284 struct fnic *fnic = (struct fnic *)data; local 291 fnic_notify_timer_start(struct fnic *fnic) argument 334 fnic_cleanup(struct fnic *fnic) argument 385 fnic_iounmap(struct fnic *fnic) argument 397 struct fnic *fnic = lport_priv(lport); local 407 struct fnic *fnic; local 779 struct fnic *fnic = pci_get_drvdata(pdev); local [all...] |
H A D | fnic_fcs.c | 33 #include "fnic.h" 39 static void fnic_set_eth_mode(struct fnic *); 43 struct fnic *fnic = container_of(work, struct fnic, link_work); local 48 spin_lock_irqsave(&fnic->fnic_lock, flags); 50 if (fnic->stop_rx_link_events) { 51 spin_unlock_irqrestore(&fnic->fnic_lock, flags); 55 old_link_down_cnt = fnic->link_down_cnt; 56 old_link_status = fnic 99 struct fnic *fnic = container_of(work, struct fnic, frame_work); local 136 fnic_import_rq_eth_pkt(struct fnic *fnic, struct sk_buff *skb) argument 188 fnic_update_mac_locked(struct fnic *fnic, u8 *new) argument 212 struct fnic *fnic = lport_priv(lport); local 235 struct fnic *fnic = lport_priv(lport); local 294 struct fnic *fnic = vnic_dev_priv(rq->vdev); local 392 struct fnic *fnic = vnic_dev_priv(vdev); local 400 fnic_rq_cmpl_handler(struct fnic *fnic, int rq_work_to_do) argument 430 struct fnic *fnic = vnic_dev_priv(rq->vdev); local 454 struct fnic *fnic = vnic_dev_priv(rq->vdev); local 470 struct fnic *fnic = fnic_from_ctlr(fip); local 505 fnic_send_frame(struct fnic *fnic, struct fc_frame *fp) argument 582 struct fnic *fnic = lport_priv(lp); local 615 fnic_flush_tx(struct fnic *fnic) argument 632 fnic_set_eth_mode(struct fnic *fnic) argument 670 struct fnic *fnic = vnic_dev_priv(wq->vdev); local 683 struct fnic *fnic = vnic_dev_priv(vdev); local 694 fnic_wq_cmpl_handler(struct fnic *fnic, int work_to_do) argument 713 struct fnic *fnic = vnic_dev_priv(wq->vdev); local [all...] |
H A D | fnic_scsi.c | 40 #include "fnic.h" 103 static void fnic_cleanup_io(struct fnic *fnic, int exclude_id); 105 static inline spinlock_t *fnic_io_lock_hash(struct fnic *fnic, argument 110 return &fnic->io_req_lock[hash]; 117 static void fnic_release_ioreq_buf(struct fnic *fnic, argument 122 pci_unmap_single(fnic->pdev, io_req->sgl_list_pa, 129 fnic 136 free_wq_copy_descs(struct fnic *fnic, struct vnic_wq_copy *wq) argument 172 fnic_fw_reset_handler(struct fnic *fnic) argument 207 fnic_flogi_reg_handler(struct fnic *fnic, u32 fc_id) argument 259 fnic_queue_wq_copy_desc(struct fnic *fnic, struct vnic_wq_copy *wq, struct fnic_io_req *io_req, struct scsi_cmnd *sc, int sg_count) argument 357 struct fnic *fnic; local 466 fnic_fcpio_fw_reset_cmpl_handler(struct fnic *fnic, struct fcpio_fw_req *desc) argument 539 fnic_fcpio_flogi_reg_cmpl_handler(struct fnic *fnic, struct fcpio_fw_req *desc) argument 618 fnic_fcpio_ack_handler(struct fnic *fnic, unsigned int cq_index, struct fcpio_fw_req *desc) argument 641 fnic_fcpio_icmnd_cmpl_handler(struct fnic *fnic, struct fcpio_fw_req *desc) argument 793 fnic_fcpio_itmf_cmpl_handler(struct fnic *fnic, struct fcpio_fw_req *desc) argument 891 struct fnic *fnic = vnic_dev_priv(vdev); local 930 fnic_wq_copy_cmpl_handler(struct fnic *fnic, int copy_work_to_do) argument 946 fnic_cleanup_io(struct fnic *fnic, int exclude_id) argument 996 struct fnic *fnic = vnic_dev_priv(wq->vdev); local 1042 fnic_queue_abort_io_req(struct fnic *fnic, int tag, u32 task_req, u8 *fc_lun, struct fnic_io_req *io_req) argument 1066 fnic_rport_exch_reset(struct fnic *fnic, u32 port_id) argument 1151 struct fnic *fnic = lport_priv(lport); local 1234 struct fnic *fnic; local 1373 fnic_queue_dr_io_req(struct fnic *fnic, struct scsi_cmnd *sc, struct fnic_io_req *io_req) argument 1412 fnic_clean_pending_aborts(struct fnic *fnic, struct scsi_cmnd *lr_sc) argument 1513 struct fnic *fnic; local 1664 struct fnic *fnic; local 1734 struct fnic *fnic = lport_priv(lp); local 1776 struct fnic *fnic = lport_priv(lp); local 1800 struct fnic *fnic = lport_priv(lp); local [all...] |
H A D | fnic.h | 38 #define DRV_NAME "fnic" 147 struct fnic { struct 168 u32 in_remove:1; /* fnic device in removal */ 223 static inline struct fnic *fnic_from_ctlr(struct fcoe_ctlr *fip) 225 return container_of(fip, struct fnic, 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 *fni [all...] |