Home
last modified time | relevance | path

Searched refs:snic (Results 1 – 23 of 23) sorted by relevance

/linux-6.3-rc2/drivers/scsi/snic/
A Dsnic_isr.c23 struct snic *snic = data; in snic_isr_msix_wq() local
41 struct snic *snic = data; in snic_isr_msix_io_cmpl() local
59 struct snic *snic = data; in snic_isr_msix_err_notify() local
75 snic_free_intr(struct snic *snic) in snic_free_intr() argument
89 snic_request_intr(struct snic *snic) in snic_request_intr() argument
108 snic->msix[SNIC_MSIX_WQ].devid = snic; in snic_request_intr()
114 snic->msix[SNIC_MSIX_IO_CMPL].devid = snic; in snic_request_intr()
120 snic->msix[SNIC_MSIX_ERR_NOTIFY].devid = snic; in snic_request_intr()
143 snic_set_intr_mode(struct snic *snic) in snic_set_intr_mode() argument
156 if (snic->wq_count < n || snic->cq_count < n + m) in snic_set_intr_mode()
[all …]
A Dsnic_ctl.c26 struct snic *snic = container_of(work, struct snic, link_work); in snic_handle_link() local
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()
92 snic_queue_exch_ver_req(struct snic *snic) in snic_queue_exch_ver_req() argument
138 snic_io_exch_ver_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_io_exch_ver_cmpl_handler() argument
196 if (snic->shost->can_queue > snic->fwinfo.max_concur_ios) in snic_io_exch_ver_cmpl_handler()
197 snic->shost->can_queue = snic->fwinfo.max_concur_ios; in snic_io_exch_ver_cmpl_handler()
199 snic->shost->max_sectors = snic->fwinfo.max_io_sz >> 9; in snic_io_exch_ver_cmpl_handler()
200 if (snic->fwinfo.wait) in snic_io_exch_ver_cmpl_handler()
217 snic_get_conf(struct snic *snic) in snic_get_conf() argument
[all …]
A Dsnic_main.c66 struct snic *snic = shost_priv(sdev->host); in snic_slave_configure() local
87 struct snic *snic = shost_priv(sdev->host); in snic_change_queue_depth() local
128 snic_handle_link_event(struct snic *snic) in snic_handle_link_event() argument
150 snic_notify_set(struct snic *snic) in snic_notify_set() argument
214 snic_cleanup(struct snic *snic) in snic_cleanup() argument
258 snic_iounmap(struct snic *snic) in snic_iounmap() argument
270 struct snic *snic = svnic_dev_priv(vdev); in snic_vdev_open_done() local
327 snic_get_state(struct snic *snic) in snic_get_state() argument
349 struct snic *snic; in snic_probe() local
451 snic->vdev = svnic_dev_alloc_discover(NULL, snic, pdev, &snic->bar0, 1); in snic_probe()
[all …]
A Dsnic_res.c19 snic_get_vnic_config(struct snic *snic) in snic_get_vnic_config() argument
106 snic_get_res_counts(struct snic *snic) in snic_get_res_counts() argument
108 snic->wq_count = svnic_dev_get_res_count(snic->vdev, RES_TYPE_WQ); in snic_get_res_counts()
112 snic->intr_count = svnic_dev_get_res_count(snic->vdev, in snic_get_res_counts()
118 snic_free_vnic_res(struct snic *snic) in snic_free_vnic_res() argument
133 snic_alloc_vnic_res(struct snic *snic) in snic_alloc_vnic_res() argument
183 SNIC_BUG_ON(snic->cq_count != 2 * snic->wq_count); in snic_alloc_vnic_res()
185 for (i = snic->wq_count; i < snic->cq_count; i++) { in snic_alloc_vnic_res()
196 ret = svnic_intr_alloc(snic->vdev, &snic->intr[i], i); in snic_alloc_vnic_res()
247 ret = svnic_dev_stats_dump(snic->vdev, &snic->stats); in snic_alloc_vnic_res()
[all …]
A Dsnic_disc.c66 snic_queue_report_tgt_req(struct snic *snic) in snic_queue_report_tgt_req() argument
81 ntgts = min_t(u32, snic->fwinfo.max_tgts, snic->shost->max_id); in snic_queue_report_tgt_req()
117 snic->config.hid, in snic_queue_report_tgt_req()
172 snic_tgt_lookup(struct snic *snic, struct snic_tgt_id *tgtid) in snic_tgt_lookup() argument
235 snic_tgt_create(struct snic *snic, struct snic_tgt_id *tgtid) in snic_tgt_create() argument
327 struct snic *snic = container_of(work, struct snic, tgt_work); in snic_handle_tgt_disc() local
384 snic_report_tgt_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_report_tgt_cmpl_handler() argument
454 snic_disc_term(struct snic *snic) in snic_disc_term() argument
470 snic_disc_start(struct snic *snic) in snic_disc_start() argument
511 struct snic *snic = container_of(work, struct snic, disc_work); in snic_handle_disc() local
[all …]
A Dsnic_io.c25 struct snic *snic = svnic_dev_priv(wq->vdev); in snic_wq_cmpl_frame_send() local
49 struct snic *snic = svnic_dev_priv(vdev); in snic_wq_cmpl_handler_cont() local
66 snic_wq_cmpl_handler(struct snic *snic, int work_to_do) in snic_wq_cmpl_handler() argument
87 struct snic *snic = svnic_dev_priv(wq->vdev); in snic_free_wq_buf() local
119 snic_select_wq(struct snic *snic) in snic_select_wq() argument
128 snic_wqdesc_avail(struct snic *snic, int q_num, int req_type) in snic_wqdesc_avail() argument
149 snic_queue_wq_desc(struct snic *snic, void *os_buf, u16 len) in snic_queue_wq_desc() argument
220 snic_req_init(struct snic *snic, int sg_cnt) in snic_req_init() argument
242 rqi->snic = snic; in snic_req_init()
328 snic_req_free(struct snic *snic, struct snic_req_info *rqi) in snic_req_free() argument
[all …]
A Dsnic_scsi.c106 snic_io_lock_tag(struct snic *snic, int tag) in snic_io_lock_tag() argument
113 snic_release_req_buf(struct snic *snic, in snic_release_req_buf() argument
149 snic_queue_icmnd_req(struct snic *snic, in snic_queue_icmnd_req() argument
226 snic_issue_scsi_req(struct snic *snic, in snic_issue_scsi_req() argument
322 struct snic *snic = shost_priv(shost); in snic_queuecommand() local
758 snic_process_itmf_cmpl(struct snic *snic, in snic_process_itmf_cmpl() argument
1290 snic_queue_itmf_req(struct snic *snic, in snic_queue_itmf_req() argument
1339 snic_issue_tm_req(struct snic *snic, in snic_issue_tm_req() argument
1394 snic_queue_abort_req(struct snic *snic, in snic_queue_abort_req() argument
1995 snic_queue_dr_req(struct snic *snic, in snic_queue_dr_req() argument
[all …]
A Dsnic_debugfs.c77 struct snic *snic = (struct snic *) filp->private_data; in snic_reset_stats_read() local
106 struct snic *snic = (struct snic *) filp->private_data; in snic_reset_stats_write() local
126 snic->reset_stats = val; in snic_reset_stats_write()
128 if (snic->reset_stats) { in snic_reset_stats_write()
167 struct snic *snic = (struct snic *) sfp->private; in snic_stats_show() local
342 void snic_stats_debugfs_init(struct snic *snic) in snic_stats_debugfs_init() argument
351 snic->stats_host, snic, in snic_stats_debugfs_init()
356 snic->stats_host, snic, in snic_stats_debugfs_init()
368 snic_stats_debugfs_remove(struct snic *snic) in snic_stats_debugfs_remove() argument
371 snic->stats_file = NULL; in snic_stats_debugfs_remove()
[all …]
A Dsnic_attrs.c14 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_sym_name() local
16 return snprintf(buf, PAGE_SIZE, "%s\n", snic->name); in snic_show_sym_name()
24 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_state() local
27 snic_state_str[snic_get_state(snic)]); in snic_show_state()
43 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_link_state() local
45 if (snic->config.xpt_type == SNIC_DAS) in snic_show_link_state()
46 snic->link_status = svnic_dev_link_status(snic->vdev); in snic_show_link_state()
49 (snic->link_status) ? "Link Up" : "Link Down"); in snic_show_link_state()
A Dsnic.h252 struct snic { struct
373 int snic_request_intr(struct snic *);
374 void snic_free_intr(struct snic *);
375 int snic_set_intr_mode(struct snic *);
376 void snic_clear_intr_mode(struct snic *);
379 int snic_wq_cmpl_handler(struct snic *, int);
383 void snic_log_q_error(struct snic *);
384 void snic_handle_link_event(struct snic *);
387 int snic_queue_exch_ver_req(struct snic *);
395 int snic_get_conf(struct snic *);
[all …]
A Dsnic_io.h54 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 *, struct snic_req_info *);
103 snic_dr_req_init(struct snic *, struct snic_req_info *);
A Dsnic_disc.h16 struct snic;
27 void (*cb)(struct snic *);
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 *);
A Dsnic_res.h75 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 *);
A DMakefile2 obj-$(CONFIG_SCSI_SNIC) += snic.o
4 snic-y := \
18 snic-$(CONFIG_SCSI_SNIC_DEBUG_FS) += snic_debugfs.o snic_trc.o
A Dsnic_stats.h88 void snic_stats_debugfs_init(struct snic *);
89 void snic_stats_debugfs_remove(struct snic *);
/linux-6.3-rc2/drivers/net/ethernet/cavium/thunder/
A Dnicvf_ethtool.c284 struct nicvf *snic; in nicvf_get_sset_count() local
286 snic = nic->snicvf[sqs]; in nicvf_get_sset_count()
287 if (!snic) in nicvf_get_sset_count()
290 (snic->qs->rq_cnt + snic->qs->sq_cnt); in nicvf_get_sset_count()
A Dnicvf_main.c777 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-6.3-rc2/Documentation/translations/zh_CN/admin-guide/
A Dtainted-kernels.rst124 上的scsi/snic,非x86/x86_64/itanium上的scsi/ips,已经损坏了arm64上
/linux-6.3-rc2/Documentation/translations/zh_TW/admin-guide/
A Dtainted-kernels.rst127 上的scsi/snic,非x86/x86_64/itanium上的scsi/ips,已經損壞了arm64上
/linux-6.3-rc2/drivers/scsi/
A DMakefile43 obj-$(CONFIG_SCSI_SNIC) += snic/
A DKconfig624 The module will be called snic.
/linux-6.3-rc2/Documentation/admin-guide/
A Dtainted-kernels.rst134 scsi/snic on something else than x86_64, scsi/ips on non
/linux-6.3-rc2/
A DMAINTAINERS4986 F: drivers/scsi/snic/

Completed in 50 milliseconds