Searched refs:fnic (Results 1 - 12 of 12) sorted by relevance

/drivers/scsi/fnic/
H A Dfnic_isr.c28 #include "fnic.h"
32 struct fnic *fnic = data; local
36 pba = vnic_intr_legacy_pba(fnic->legacy_pba);
40 fnic->fnic_stats.misc_stats.last_isr_time = jiffies;
41 atomic64_inc(&fnic->fnic_stats.misc_stats.isr_count);
44 vnic_intr_return_all_credits(&fnic->intr[FNIC_INTX_NOTIFY]);
45 fnic_handle_link_event(fnic);
49 vnic_intr_return_all_credits(&fnic->intr[FNIC_INTX_ERR]);
50 fnic_log_q_error(fnic);
69 struct fnic *fnic = data; local
89 struct fnic *fnic = data; local
106 struct fnic *fnic = data; local
122 struct fnic *fnic = data; local
138 struct fnic *fnic = data; local
150 fnic_free_intr(struct fnic *fnic) argument
172 fnic_request_intr(struct fnic *fnic) argument
235 fnic_set_intr_mode(struct fnic *fnic) argument
335 fnic_clear_intr_mode(struct fnic *fnic) argument
[all...]
H A Dfnic_main.c43 #include "fnic.h"
55 /* Supported devices by fnic module */
70 MODULE_PARM_DESC(fnic_log_level, "bit mask of fnic logging levels");
75 "for fnic trace buffer");
175 struct fnic *fnic = lport_priv(lp); local
176 u32 port_speed = vnic_dev_port_speed(fnic->vdev);
193 struct fnic *fnic = lport_priv(lp); local
198 if (time_before(jiffies, fnic
306 struct fnic *fnic = lport_priv(lp); local
330 fnic_log_q_error(struct fnic *fnic) argument
360 fnic_handle_link_event(struct fnic *fnic) argument
375 fnic_notify_set(struct fnic *fnic) argument
403 struct fnic *fnic = (struct fnic *)data; local
412 struct fnic *fnic = (struct fnic *)data; local
417 fnic_notify_timer_start(struct fnic *fnic) argument
460 fnic_cleanup(struct fnic *fnic) argument
511 fnic_iounmap(struct fnic *fnic) argument
523 struct fnic *fnic = lport_priv(lport); local
528 fnic_set_vlan(struct fnic *fnic, u16 vlan_id) argument
538 struct fnic *fnic; local
941 struct fnic *fnic = pci_get_drvdata(pdev); local
[all...]
H A Dfnic_fcs.c33 #include "fnic.h"
42 static void fnic_set_eth_mode(struct fnic *);
43 static void fnic_fcoe_send_vlan_req(struct fnic *fnic);
44 static void fnic_fcoe_start_fcf_disc(struct fnic *fnic);
45 static void fnic_fcoe_process_vlan_resp(struct fnic *fnic, struct sk_buff *);
46 static int fnic_fcoe_vlan_check(struct fnic *fnic, u1
51 struct fnic *fnic = container_of(work, struct fnic, link_work); local
148 struct fnic *fnic = container_of(work, struct fnic, frame_work); local
180 fnic_fcoe_evlist_free(struct fnic *fnic) argument
201 struct fnic *fnic = container_of(work, struct fnic, event_work); local
328 fnic_fcoe_send_vlan_req(struct fnic *fnic) argument
380 fnic_fcoe_process_vlan_resp(struct fnic *fnic, struct sk_buff *skb) argument
456 fnic_fcoe_start_fcf_disc(struct fnic *fnic) argument
476 fnic_fcoe_vlan_check(struct fnic *fnic, u16 flag) argument
502 fnic_event_enq(struct fnic *fnic, enum fnic_evt ev) argument
521 fnic_fcoe_handle_fip_frame(struct fnic *fnic, struct sk_buff *skb) argument
565 struct fnic *fnic = container_of(work, struct fnic, fip_frame_work); local
622 fnic_import_rq_eth_pkt(struct fnic *fnic, struct sk_buff *skb) argument
684 fnic_update_mac_locked(struct fnic *fnic, u8 *new) argument
708 struct fnic *fnic = lport_priv(lport); local
731 struct fnic *fnic = lport_priv(lport); local
790 struct fnic *fnic = vnic_dev_priv(rq->vdev); local
895 struct fnic *fnic = vnic_dev_priv(vdev); local
903 fnic_rq_cmpl_handler(struct fnic *fnic, int rq_work_to_do) argument
933 struct fnic *fnic = vnic_dev_priv(rq->vdev); local
957 struct fnic *fnic = vnic_dev_priv(rq->vdev); local
973 struct fnic *fnic = fnic_from_ctlr(fip); local
1018 fnic_send_frame(struct fnic *fnic, struct fc_frame *fp) argument
1101 struct fnic *fnic = lport_priv(lp); local
1134 fnic_flush_tx(struct fnic *fnic) argument
1151 fnic_set_eth_mode(struct fnic *fnic) argument
1189 struct fnic *fnic = vnic_dev_priv(wq->vdev); local
1202 struct fnic *fnic = vnic_dev_priv(vdev); local
1213 fnic_wq_cmpl_handler(struct fnic *fnic, int work_to_do) argument
1232 struct fnic *fnic = vnic_dev_priv(wq->vdev); local
1241 fnic_fcoe_reset_vlans(struct fnic *fnic) argument
1262 fnic_handle_fip_timer(struct fnic *fnic) argument
[all...]
H A Dfnic_res.c32 #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 Dfnic_scsi.c40 #include "fnic.h"
104 static void fnic_cleanup_io(struct fnic *fnic, int exclude_id);
106 static inline spinlock_t *fnic_io_lock_hash(struct fnic *fnic, argument
111 return &fnic->io_req_lock[hash];
114 static inline spinlock_t *fnic_io_lock_tag(struct fnic *fnic, argument
117 return &fnic->io_req_lock[tag & (FNIC_IO_LOCKS - 1)];
124 static void fnic_release_ioreq_buf(struct fnic *fni argument
143 free_wq_copy_descs(struct fnic *fnic, struct vnic_wq_copy *wq) argument
180 __fnic_set_state_flags(struct fnic *fnic, unsigned long st_flags, unsigned long clearbits) argument
206 fnic_fw_reset_handler(struct fnic *fnic) argument
259 fnic_flogi_reg_handler(struct fnic *fnic, u32 fc_id) argument
317 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
425 struct fnic *fnic = lport_priv(lp); local
570 fnic_fcpio_fw_reset_cmpl_handler(struct fnic *fnic, struct fcpio_fw_req *desc) argument
653 fnic_fcpio_flogi_reg_cmpl_handler(struct fnic *fnic, struct fcpio_fw_req *desc) argument
732 fnic_fcpio_ack_handler(struct fnic *fnic, unsigned int cq_index, struct fcpio_fw_req *desc) argument
763 fnic_fcpio_icmnd_cmpl_handler(struct fnic *fnic, struct fcpio_fw_req *desc) argument
982 fnic_fcpio_itmf_cmpl_handler(struct fnic *fnic, struct fcpio_fw_req *desc) argument
1190 struct fnic *fnic = vnic_dev_priv(vdev); local
1240 fnic_wq_copy_cmpl_handler(struct fnic *fnic, int copy_work_to_do) argument
1256 fnic_cleanup_io(struct fnic *fnic, int exclude_id) argument
1344 struct fnic *fnic = vnic_dev_priv(wq->vdev); local
1401 fnic_queue_abort_io_req(struct fnic *fnic, int tag, u32 task_req, u8 *fc_lun, struct fnic_io_req *io_req) argument
1448 fnic_rport_exch_reset(struct fnic *fnic, u32 port_id) argument
1580 struct fnic *fnic; local
1725 struct fnic *fnic; local
1909 fnic_queue_dr_io_req(struct fnic *fnic, struct scsi_cmnd *sc, struct fnic_io_req *io_req) argument
1969 fnic_clean_pending_aborts(struct fnic *fnic, struct scsi_cmnd *lr_sc) argument
2119 fnic_scsi_host_start_tag(struct fnic *fnic, struct scsi_cmnd *sc) argument
2155 fnic_scsi_host_end_tag(struct fnic *fnic, struct scsi_cmnd *sc) argument
2181 struct fnic *fnic; local
2437 struct fnic *fnic; local
2515 struct fnic *fnic = lport_priv(lp); local
2565 struct fnic *fnic = lport_priv(lp); local
2596 struct fnic *fnic = lport_priv(lp); local
2629 fnic_is_abts_pending(struct fnic *fnic, struct scsi_cmnd *lr_sc) argument
[all...]
H A Dfnic.h40 #define DRV_NAME "fnic"
113 * state_flags to identify host state along along with fnic's state
210 struct fnic *fnic; member in struct:fnic_event
215 struct fnic { struct
245 u32 in_remove:1; /* fnic device in removal */
286 void (*set_vlan)(struct fnic *, u16 vlan);
315 static inline struct fnic *fnic_from_ctlr(struct fcoe_ctlr *fip)
317 return container_of(fip, struct fnic, ctlr);
324 void fnic_clear_intr_mode(struct fnic *fni
373 fnic_chk_state_flags_locked(struct fnic *fnic, unsigned long st_flags) argument
[all...]
H A DMakefile1 obj-$(CONFIG_FCOE_FNIC) += fnic.o
3 fnic-y := \
H A Dfnic_debugfs.c21 #include "fnic.h"
44 * fnic_debugfs_init - Initialize debugfs for fnic debug logging
47 * When Debugfs is configured this routine sets up the fnic debugfs
49 * fnic directory and statistics directory for trace buffer and
55 fnic_trace_debugfs_root = debugfs_create_dir("fnic", NULL);
63 "fnic root directory doesn't exist in debugfs\n");
95 * elements that are specific to fnic.
162 pr_err("fnic: Cannot read to any debugfs file\n");
213 pr_err("fnic: cannot write to any debugfs file\n");
228 * fnic_trace_debugfs_open - Open the fnic trac
567 struct fnic *fnic = (struct fnic *)debug->i_private; local
595 struct fnic *fnic = (struct fnic *)debug->i_private; local
677 struct fnic *fnic = inode->i_private; local
775 fnic_stats_debugfs_init(struct fnic *fnic) argument
823 fnic_stats_debugfs_remove(struct fnic *fnic) argument
[all...]
H A Dfnic_attrs.c21 #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 Dfnic_stats.h114 int fnic_stats_debugfs_init(struct fnic *);
115 void fnic_stats_debugfs_remove(struct fnic *);
H A Dfnic_res.h238 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,
/drivers/scsi/
H A DMakefile41 obj-$(CONFIG_FCOE_FNIC) += fnic/

Completed in 76 milliseconds