/linux/drivers/scsi/snic/ |
H A D | snic_isr.c | 13 #include "snic.h" 23 struct snic *snic = data; in snic_isr_msix_wq() local 26 snic->s_stats.misc.last_isr_time = jiffies; in snic_isr_msix_wq() 27 atomic64_inc(&snic->s_stats.misc.ack_isr_cnt); in snic_isr_msix_wq() 29 wq_work_done = snic_wq_cmpl_handler(snic, -1); in snic_isr_msix_wq() 30 svnic_intr_return_credits(&snic->intr[SNIC_MSIX_WQ], in snic_isr_msix_wq() 41 struct snic *snic = data; in snic_isr_msix_io_cmpl() local 44 snic in snic_isr_msix_io_cmpl() 59 struct snic *snic = data; snic_isr_msix_err_notify() local 75 snic_free_intr(struct snic * snic) snic_free_intr() argument 89 snic_request_intr(struct snic * snic) snic_request_intr() argument 143 snic_set_intr_mode(struct snic * snic) snic_set_intr_mode() argument 176 snic_clear_intr_mode(struct snic * snic) snic_clear_intr_mode() argument [all...] |
H A D | snic_ctl.c | 16 #include "snic.h" 26 struct snic *snic = container_of(work, struct snic, link_work); in snic_handle_link() local 28 if (snic->config.xpt_type == SNIC_DAS) in snic_handle_link() 31 snic->link_status = svnic_dev_link_status(snic->vdev); in snic_handle_link() 32 snic->link_down_cnt = svnic_dev_link_down_cnt(snic->vdev); in snic_handle_link() 33 SNIC_HOST_INFO(snic in snic_handle_link() 92 snic_queue_exch_ver_req(struct snic * snic) snic_queue_exch_ver_req() argument 138 snic_io_exch_ver_cmpl_handler(struct snic * snic,struct snic_fw_req * fwreq) snic_io_exch_ver_cmpl_handler() argument 217 snic_get_conf(struct snic * snic) snic_get_conf() argument [all...] |
H A D | snic_main.c | 18 #include "snic.h" 23 /* Supported devices by snic module */ 31 MODULE_PARM_DESC(snic_log_level, "bitmask for snic logging levels"); 37 "Total allocated memory pages for snic trace buffer"); 66 struct snic *snic = shost_priv(sdev->host); in snic_sdev_configure() local 75 if (snic->fwinfo.io_tmo > 1) in snic_sdev_configure() 76 tmo = snic->fwinfo.io_tmo * HZ; in snic_sdev_configure() 87 struct snic *snic in snic_change_queue_depth() local 128 snic_handle_link_event(struct snic * snic) snic_handle_link_event() argument 150 snic_notify_set(struct snic * snic) snic_notify_set() argument 214 snic_cleanup(struct snic * snic) snic_cleanup() argument 258 snic_iounmap(struct snic * snic) snic_iounmap() argument 270 struct snic *snic = svnic_dev_priv(vdev); snic_vdev_open_done() local 326 snic_get_state(struct snic * snic) snic_get_state() argument 332 snic_set_state(struct snic * snic,enum snic_state state) snic_set_state() argument 348 struct snic *snic; snic_probe() local 745 struct snic *snic = pci_get_drvdata(pdev); snic_remove() local [all...] |
H A D | snic_res.c | 16 #include "snic.h" 19 snic_get_vnic_config(struct snic *snic) in snic_get_vnic_config() argument 21 struct vnic_snic_config *c = &snic->config; in snic_get_vnic_config() 26 ret = svnic_dev_spec(snic->vdev, \ in snic_get_vnic_config() 31 SNIC_HOST_ERR(snic->shost, \ in snic_get_vnic_config() 106 snic_get_res_counts(struct snic *snic) in snic_get_res_counts() argument 108 snic->wq_count = svnic_dev_get_res_count(snic in snic_get_res_counts() 118 snic_free_vnic_res(struct snic * snic) snic_free_vnic_res() argument 133 snic_alloc_vnic_res(struct snic * snic) snic_alloc_vnic_res() argument 268 snic_log_q_error(struct snic * snic) snic_log_q_error() argument [all...] |
H A D | snic_disc.c | 10 #include "snic.h" 14 /* snic target types */ 66 snic_queue_report_tgt_req(struct snic *snic) in snic_queue_report_tgt_req() argument 74 rqi = snic_req_init(snic, 1); in snic_queue_report_tgt_req() 80 if (snic->fwinfo.max_tgts) in snic_queue_report_tgt_req() 81 ntgts = min_t(u32, snic->fwinfo.max_tgts, snic->shost->max_id); in snic_queue_report_tgt_req() 83 ntgts = snic->shost->max_id; in snic_queue_report_tgt_req() 91 snic_req_free(snic, rq in snic_queue_report_tgt_req() 172 snic_tgt_lookup(struct snic * snic,struct snic_tgt_id * tgtid) snic_tgt_lookup() argument 235 snic_tgt_create(struct snic * snic,struct snic_tgt_id * tgtid) snic_tgt_create() argument 327 struct snic *snic = container_of(work, struct snic, tgt_work); snic_handle_tgt_disc() local 384 snic_report_tgt_cmpl_handler(struct snic * snic,struct snic_fw_req * fwreq) snic_report_tgt_cmpl_handler() argument 454 snic_disc_term(struct snic * snic) snic_disc_term() argument 470 snic_disc_start(struct snic * snic) snic_disc_start() argument 511 struct snic *snic = container_of(work, struct snic, disc_work); snic_handle_disc() local 531 snic_tgt_del_all(struct snic * snic) snic_tgt_del_all() argument [all...] |
H A D | snic_io.c | 15 #include "snic.h" 25 struct snic *snic = svnic_dev_priv(wq->vdev); in snic_wq_cmpl_frame_send() local 30 SNIC_HOST_INFO(snic->shost, in snic_wq_cmpl_frame_send() 34 SNIC_TRC(snic->shost->host_no, 0, 0, in snic_wq_cmpl_frame_send() 49 struct snic *snic = svnic_dev_priv(vdev); in snic_wq_cmpl_handler_cont() local 54 spin_lock_irqsave(&snic->wq_lock[q_num], flags); in snic_wq_cmpl_handler_cont() 55 svnic_wq_service(&snic->wq[q_num], in snic_wq_cmpl_handler_cont() 60 spin_unlock_irqrestore(&snic in snic_wq_cmpl_handler_cont() 66 snic_wq_cmpl_handler(struct snic * snic,int work_to_do) snic_wq_cmpl_handler() argument 87 struct snic *snic = svnic_dev_priv(wq->vdev); snic_free_wq_buf() local 119 snic_select_wq(struct snic * snic) snic_select_wq() argument 128 snic_wqdesc_avail(struct snic * snic,int q_num,int req_type) snic_wqdesc_avail() argument 149 snic_queue_wq_desc(struct snic * snic,void * os_buf,u16 len) snic_queue_wq_desc() argument 204 snic_handle_untagged_req(struct snic * snic,struct snic_req_info * rqi) snic_handle_untagged_req() argument 220 snic_req_init(struct snic * snic,int sg_cnt) snic_req_init() argument 272 snic_abort_req_init(struct snic * snic,struct snic_req_info * rqi) snic_abort_req_init() argument 303 snic_dr_req_init(struct snic * snic,struct snic_req_info * rqi) snic_dr_req_init() argument 328 snic_req_free(struct snic * snic,struct snic_req_info * rqi) snic_req_free() argument 368 snic_pci_unmap_rsp_buf(struct snic * snic,struct snic_req_info * rqi) snic_pci_unmap_rsp_buf() argument 384 snic_free_all_untagged_reqs(struct snic * snic) snic_free_all_untagged_reqs() argument 409 snic_release_untagged_req(struct snic * snic,struct snic_req_info * rqi) snic_release_untagged_req() argument 547 snic_calc_io_process_time(struct snic * snic,struct snic_req_info * rqi) snic_calc_io_process_time() argument [all...] |
H A D | snic_debugfs.c | 8 #include "snic.h" 11 * snic_debugfs_init - Initialize debugfs for snic debug logging 21 snic_glob->trc_root = debugfs_create_dir("snic", NULL); in snic_debugfs_init() 32 * elements that are specific to snic 77 struct snic *snic = (struct snic *) filp->private_data; in snic_reset_stats_read() local 81 len = sprintf(buf, "%u\n", snic->reset_stats); in snic_reset_stats_read() 95 * resets cumulative stats of snic. 106 struct snic *sni in snic_reset_stats_write() local 167 struct snic *snic = (struct snic *) sfp->private; snic_stats_show() local 342 snic_stats_debugfs_init(struct snic * snic) snic_stats_debugfs_init() argument 368 snic_stats_debugfs_remove(struct snic * snic) snic_stats_debugfs_remove() argument [all...] |
H A D | snic_attrs.c | 7 #include "snic.h" 14 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_sym_name() local 16 return sysfs_emit(buf, "%s\n", snic->name); in snic_show_sym_name() 24 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_state() local 26 return sysfs_emit(buf, "%s\n", snic_state_str[snic_get_state(snic)]); in snic_show_state() 42 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_link_state() local 44 if (snic in snic_show_link_state() [all...] |
H A D | snic.h | 28 #define SNIC_DRV_NAME "snic" 111 /* snic module params */ 114 /* snic debugging */ 237 struct completion *wait; /* protected by snic lock*/ 250 * snic structure to represent SCSI vNIC 252 struct snic { struct 253 /* snic specific members */ 294 /* Maintain snic specific commands, cmds with no tag in spl_cmd_list */ argument 321 struct dentry *stats_host; /* Per snic debugfs root */ argument 322 struct dentry *stats_file; /* Per snic debugf argument 257 snic_locksnic global() argument 263 discsnic global() argument 288 msixsnic global() argument 301 configsnic global() argument 306 fwinfosnic global() argument 317 s_statssnic global() argument 323 reset_stats_filesnic global() argument 335 intrsnic global() argument [all...] |
H A D | snic_io.h | 11 /* SG descriptor for snic */ 54 struct snic; 74 struct snic *snic; /* Associated snic */ member 96 snic_req_init(struct snic *, int sg_cnt); 97 void snic_req_free(struct snic *, struct snic_req_info *); 98 void snic_calc_io_process_time(struct snic *, struct snic_req_info *); 99 void snic_pci_unmap_rsp_buf(struct snic *, struct snic_req_info *); 101 snic_abort_req_init(struct snic *, struc [all...] |
H A D | snic_disc.h | 16 struct snic; 27 void (*cb)(struct snic *); 53 /* snic tgt flags */ 73 int snic_disc_start(struct snic *); 74 void snic_disc_term(struct snic *); 75 int snic_report_tgt_cmpl_handler(struct snic *, struct snic_fw_req *); 76 int snic_tgtinfo_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq); 81 void snic_tgt_del_all(struct snic *);
|
H A D | snic_res.h | 75 struct snic; 77 int snic_get_vnic_config(struct snic *); 78 int snic_alloc_vnic_res(struct snic *); 79 void snic_free_vnic_res(struct snic *); 80 void snic_get_res_counts(struct snic *); 81 void snic_log_q_error(struct snic *); 82 int snic_get_vnic_resources_size(struct snic *);
|
H A D | Makefile | 2 obj-$(CONFIG_SCSI_SNIC) += snic.o 4 snic-y := \ 18 snic-$(CONFIG_SCSI_SNIC_DEBUG_FS) += snic_debugfs.o snic_trc.o
|
H A D | snic_stats.h | 43 atomic64_t snic_resets; /* snic resets */ 44 atomic64_t snic_reset_compl; /* snic reset completions */ 45 atomic64_t snic_reset_fail; /* snic reset failures */ 88 void snic_stats_debugfs_init(struct snic *); 89 void snic_stats_debugfs_remove(struct snic *);
|
/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_main.c | 777 struct nicvf *snic = nic; in nicvf_rcv_pkt_handler() local 799 if (nicvf_xdp_rx(snic, nic->xdp_prog, cqe_rx, sq, rq, &skb)) in nicvf_rcv_pkt_handler() 802 skb = nicvf_get_rcv_skb(snic, cqe_rx, in nicvf_rcv_pkt_handler() 1256 struct nicvf *snic; in nicvf_xmit() local 1273 snic = nic; in nicvf_xmit() 1277 snic = (struct nicvf *)nic->snicvf[tmp - 1]; in nicvf_xmit() 1278 if (!snic) { in nicvf_xmit() 1288 sq = &snic->qs->sq[qid]; in nicvf_xmit() 1290 !nicvf_sq_append_skb(snic, sq, skb, qid)) { in nicvf_xmit()
|
/linux/Documentation/translations/zh_TW/admin-guide/ |
H A D | tainted-kernels.rst | 127 上的scsi/snic,非x86/x86_64/itanium上的scsi/ips,已經損壞了arm64上
|
/linux/Documentation/translations/zh_CN/admin-guide/ |
H A D | tainted-kernels.rst | 124 上的scsi/snic,非x86/x86_64/itanium上的scsi/ips,已经损坏了arm64上
|
/linux/drivers/scsi/ |
H A D | Makefile | 45 obj-$(CONFIG_SCSI_SNIC) += snic/
|
H A D | Kconfig | 637 The module will be called snic.
|
/linux/Documentation/admin-guide/ |
H A D | tainted-kernels.rst | 135 scsi/snic on something else than x86_64, scsi/ips on non
|
/linux/ |
H A D | MAINTAINERS | 5939 F: drivers/scsi/snic/
|