/linux/drivers/scsi/snic/ |
A D | snic_isr.c | 37 struct snic *snic = data; in snic_isr_msix_wq() local 55 struct snic *snic = data; in snic_isr_msix_io_cmpl() local 73 struct snic *snic = data; in snic_isr_msix_err_notify() local 89 snic_free_intr(struct snic *snic) in snic_free_intr() argument 103 snic_request_intr(struct snic *snic) in snic_request_intr() argument 122 snic->msix[SNIC_MSIX_WQ].devid = snic; in snic_request_intr() 128 snic->msix[SNIC_MSIX_IO_CMPL].devid = snic; in snic_request_intr() 134 snic->msix[SNIC_MSIX_ERR_NOTIFY].devid = snic; in snic_request_intr() 157 snic_set_intr_mode(struct snic *snic) in snic_set_intr_mode() argument 170 if (snic->wq_count < n || snic->cq_count < n + m) in snic_set_intr_mode() [all …]
|
A D | snic_ctl.c | 40 struct snic *snic = container_of(work, struct snic, link_work); in snic_handle_link() local 45 snic->link_status = svnic_dev_link_status(snic->vdev); in snic_handle_link() 46 snic->link_down_cnt = svnic_dev_link_down_cnt(snic->vdev); in snic_handle_link() 106 snic_queue_exch_ver_req(struct snic *snic) in snic_queue_exch_ver_req() argument 152 snic_io_exch_ver_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_io_exch_ver_cmpl_handler() argument 210 if (snic->shost->can_queue > snic->fwinfo.max_concur_ios) in snic_io_exch_ver_cmpl_handler() 211 snic->shost->can_queue = snic->fwinfo.max_concur_ios; in snic_io_exch_ver_cmpl_handler() 213 snic->shost->max_sectors = snic->fwinfo.max_io_sz >> 9; in snic_io_exch_ver_cmpl_handler() 214 if (snic->fwinfo.wait) in snic_io_exch_ver_cmpl_handler() 231 snic_get_conf(struct snic *snic) in snic_get_conf() argument [all …]
|
A D | snic_main.c | 80 struct snic *snic = shost_priv(sdev->host); in snic_slave_configure() local 101 struct snic *snic = shost_priv(sdev->host); in snic_change_queue_depth() local 142 snic_handle_link_event(struct snic *snic) in snic_handle_link_event() argument 164 snic_notify_set(struct snic *snic) in snic_notify_set() argument 228 snic_cleanup(struct snic *snic) in snic_cleanup() argument 272 snic_iounmap(struct snic *snic) in snic_iounmap() argument 284 struct snic *snic = svnic_dev_priv(vdev); in snic_vdev_open_done() local 341 snic_get_state(struct snic *snic) in snic_get_state() argument 363 struct snic *snic; in snic_probe() local 465 snic->vdev = svnic_dev_alloc_discover(NULL, snic, pdev, &snic->bar0, 1); in snic_probe() [all …]
|
A D | snic_res.c | 33 snic_get_vnic_config(struct snic *snic) in snic_get_vnic_config() argument 120 snic_get_res_counts(struct snic *snic) in snic_get_res_counts() argument 122 snic->wq_count = svnic_dev_get_res_count(snic->vdev, RES_TYPE_WQ); in snic_get_res_counts() 126 snic->intr_count = svnic_dev_get_res_count(snic->vdev, in snic_get_res_counts() 132 snic_free_vnic_res(struct snic *snic) in snic_free_vnic_res() argument 147 snic_alloc_vnic_res(struct snic *snic) in snic_alloc_vnic_res() argument 197 SNIC_BUG_ON(snic->cq_count != 2 * snic->wq_count); in snic_alloc_vnic_res() 199 for (i = snic->wq_count; i < snic->cq_count; i++) { in snic_alloc_vnic_res() 210 ret = svnic_intr_alloc(snic->vdev, &snic->intr[i], i); in snic_alloc_vnic_res() 261 ret = svnic_dev_stats_dump(snic->vdev, &snic->stats); in snic_alloc_vnic_res() [all …]
|
A D | snic_scsi.c | 120 snic_io_lock_tag(struct snic *snic, int tag) in snic_io_lock_tag() argument 127 snic_release_req_buf(struct snic *snic, in snic_release_req_buf() argument 163 snic_queue_icmnd_req(struct snic *snic, in snic_queue_icmnd_req() argument 240 snic_issue_scsi_req(struct snic *snic, in snic_issue_scsi_req() argument 336 struct snic *snic = shost_priv(shost); in snic_queuecommand() local 772 snic_process_itmf_cmpl(struct snic *snic, in snic_process_itmf_cmpl() argument 1304 snic_queue_itmf_req(struct snic *snic, in snic_queue_itmf_req() argument 1353 snic_issue_tm_req(struct snic *snic, in snic_issue_tm_req() argument 1408 snic_queue_abort_req(struct snic *snic, in snic_queue_abort_req() argument 2009 snic_queue_dr_req(struct snic *snic, in snic_queue_dr_req() argument [all …]
|
A D | snic_disc.c | 80 snic_queue_report_tgt_req(struct snic *snic) in snic_queue_report_tgt_req() argument 95 ntgts = min_t(u32, snic->fwinfo.max_tgts, snic->shost->max_id); in snic_queue_report_tgt_req() 186 snic_tgt_lookup(struct snic *snic, struct snic_tgt_id *tgtid) in snic_tgt_lookup() argument 249 snic_tgt_create(struct snic *snic, struct snic_tgt_id *tgtid) in snic_tgt_create() argument 338 struct snic *snic = container_of(work, struct snic, tgt_work); in snic_handle_tgt_disc() local 345 if (snic->in_remove) { in snic_handle_tgt_disc() 395 snic_report_tgt_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq) in snic_report_tgt_cmpl_handler() argument 465 snic_disc_term(struct snic *snic) in snic_disc_term() argument 481 snic_disc_start(struct snic *snic) in snic_disc_start() argument 522 struct snic *snic = container_of(work, struct snic, disc_work); in snic_handle_disc() local [all …]
|
A D | snic_io.c | 39 struct snic *snic = svnic_dev_priv(wq->vdev); in snic_wq_cmpl_frame_send() local 63 struct snic *snic = svnic_dev_priv(vdev); in snic_wq_cmpl_handler_cont() local 80 snic_wq_cmpl_handler(struct snic *snic, int work_to_do) in snic_wq_cmpl_handler() argument 101 struct snic *snic = svnic_dev_priv(wq->vdev); in snic_free_wq_buf() local 133 snic_select_wq(struct snic *snic) in snic_select_wq() argument 142 snic_wqdesc_avail(struct snic *snic, int q_num, int req_type) in snic_wqdesc_avail() argument 163 snic_queue_wq_desc(struct snic *snic, void *os_buf, u16 len) in snic_queue_wq_desc() argument 234 snic_req_init(struct snic *snic, int sg_cnt) in snic_req_init() argument 256 rqi->snic = snic; in snic_req_init() 342 snic_req_free(struct snic *snic, struct snic_req_info *rqi) in snic_req_free() argument [all …]
|
A D | snic_debugfs.c | 91 struct snic *snic = (struct snic *) filp->private_data; in snic_reset_stats_read() local 120 struct snic *snic = (struct snic *) filp->private_data; in snic_reset_stats_write() local 140 snic->reset_stats = val; in snic_reset_stats_write() 142 if (snic->reset_stats) { in snic_reset_stats_write() 181 struct snic *snic = (struct snic *) sfp->private; in snic_stats_show() local 356 void snic_stats_debugfs_init(struct snic *snic) in snic_stats_debugfs_init() argument 365 snic->stats_host, snic, in snic_stats_debugfs_init() 370 snic->stats_host, snic, in snic_stats_debugfs_init() 382 snic_stats_debugfs_remove(struct snic *snic) in snic_stats_debugfs_remove() argument 385 snic->stats_file = NULL; in snic_stats_debugfs_remove() [all …]
|
A D | snic_attrs.c | 28 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_sym_name() local 30 return snprintf(buf, PAGE_SIZE, "%s\n", snic->name); in snic_show_sym_name() 38 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_state() local 41 snic_state_str[snic_get_state(snic)]); in snic_show_state() 57 struct snic *snic = shost_priv(class_to_shost(dev)); in snic_show_link_state() local 59 if (snic->config.xpt_type == SNIC_DAS) in snic_show_link_state() 60 snic->link_status = svnic_dev_link_status(snic->vdev); in snic_show_link_state() 63 (snic->link_status) ? "Link Up" : "Link Down"); in snic_show_link_state()
|
A D | snic.h | 266 struct snic { struct 387 int snic_request_intr(struct snic *); 388 void snic_free_intr(struct snic *); 389 int snic_set_intr_mode(struct snic *); 390 void snic_clear_intr_mode(struct snic *); 393 int snic_wq_cmpl_handler(struct snic *, int); 397 void snic_log_q_error(struct snic *); 398 void snic_handle_link_event(struct snic *); 401 int snic_queue_exch_ver_req(struct snic *); 409 int snic_get_conf(struct snic *); [all …]
|
A D | snic_io.h | 68 struct snic; 88 struct snic *snic; /* Associated snic */ member 110 snic_req_init(struct snic *, int sg_cnt); 111 void snic_req_free(struct snic *, struct snic_req_info *); 112 void snic_calc_io_process_time(struct snic *, struct snic_req_info *); 113 void snic_pci_unmap_rsp_buf(struct snic *, struct snic_req_info *); 115 snic_abort_req_init(struct snic *, struct snic_req_info *); 117 snic_dr_req_init(struct snic *, struct snic_req_info *);
|
A D | snic_disc.h | 30 struct snic; 41 void (*cb)(struct snic *); 87 int snic_disc_start(struct snic *); 88 void snic_disc_term(struct snic *); 89 int snic_report_tgt_cmpl_handler(struct snic *, struct snic_fw_req *); 90 int snic_tgtinfo_cmpl_handler(struct snic *snic, struct snic_fw_req *fwreq); 95 void snic_tgt_del_all(struct snic *);
|
A D | snic_res.h | 89 struct snic; 91 int snic_get_vnic_config(struct snic *); 92 int snic_alloc_vnic_res(struct snic *); 93 void snic_free_vnic_res(struct snic *); 94 void snic_get_res_counts(struct snic *); 95 void snic_log_q_error(struct snic *); 96 int snic_get_vnic_resources_size(struct snic *);
|
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
|
A D | snic_stats.h | 102 void snic_stats_debugfs_init(struct snic *); 103 void snic_stats_debugfs_remove(struct snic *);
|
/linux/drivers/net/ethernet/cavium/thunder/ |
A D | nicvf_ethtool.c | 284 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 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/ |
A D | tainted-kernels.rst | 127 上的scsi/snic,非x86/x86_64/itanium上的scsi/ips,已經損壞了arm64上
|
/linux/Documentation/translations/zh_CN/admin-guide/ |
A D | tainted-kernels.rst | 124 上的scsi/snic,非x86/x86_64/itanium上的scsi/ips,已经损坏了arm64上
|
/linux/drivers/scsi/ |
A D | Makefile | 43 obj-$(CONFIG_SCSI_SNIC) += snic/
|
A D | Kconfig | 635 The module will be called snic.
|
/linux/Documentation/admin-guide/ |
A D | tainted-kernels.rst | 133 scsi/snic on something else than x86_64, scsi/ips on non
|
/linux/ |
A D | MAINTAINERS | 4605 F: drivers/scsi/snic/
|