/linux/tools/testing/selftests/drivers/net/ |
H A D | queues.py | 11 def sys_get_queues(ifname, qtype='rx') -> int: argument 16 def nl_get_queues(cfg, nl, qtype='rx'): argument 19 return len([q for q in queues if q['type'] == qtype]) 26 for qtype in ['rx', 'tx']: 27 queues = nl_get_queues(cfg, snl, qtype) 31 expected = sys_get_queues(cfg.dev['ifname'], qtype)
|
H A D | stats.py | 124 for qtype in ['rx', 'tx']: 125 ksft_eq(len(queues[qtype]), len(set(queues[qtype])), 127 ksft_eq(len(queues[qtype]), max(queues[qtype]) + 1,
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.h | 420 lpfc_debug_dump_wq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_wq() argument 425 if (qtype == DUMP_IO) { in lpfc_debug_dump_wq() 428 } else if (qtype == DUMP_MBX) { in lpfc_debug_dump_wq() 431 } else if (qtype == DUMP_ELS) { in lpfc_debug_dump_wq() 434 } else if (qtype == DUMP_NVMELS) { in lpfc_debug_dump_wq() 440 if (qtype == DUMP_IO) in lpfc_debug_dump_wq() 460 lpfc_debug_dump_cq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_cq() argument 469 if (qtype == DUMP_IO) { in lpfc_debug_dump_cq() 473 } else if (qtype == DUMP_MBX) { in lpfc_debug_dump_cq() 477 } else if (qtype == DUMP_ELS) { in lpfc_debug_dump_cq() [all …]
|
/linux/fs/bcachefs/ |
H A D | quota.c | 180 u8 qtype; member 185 static void prepare_msg(unsigned qtype, in prepare_msg() argument 192 msgs->m[msgs->nr].qtype = qtype; in prepare_msg() 198 unsigned qtype, in prepare_warning() argument 206 prepare_msg(qtype, counter, msgs, msg_type); in prepare_warning() 216 quota_send_warning(make_kqid(&init_user_ns, msgs->m[i].qtype, qid.q[i]), in flush_warnings() 221 unsigned qtype, in bch2_quota_check_limit() argument 228 struct bch_memquota_type *q = &c->quotas[qtype]; in bch2_quota_check_limit() 241 prepare_msg(qtype, counter, msgs, HARDBELOW); in bch2_quota_check_limit() 247 prepare_msg(qtype, counter, msgs, SOFTBELOW); in bch2_quota_check_limit() [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpni.c | 620 enum dpni_queue_type qtype, in dpni_get_buffer_layout() argument 633 cmd_params->qtype = qtype; in dpni_get_buffer_layout() 668 enum dpni_queue_type qtype, in dpni_set_buffer_layout() argument 679 cmd_params->qtype = qtype; in dpni_set_buffer_layout() 771 enum dpni_queue_type qtype, in dpni_get_qdid() argument 784 cmd_params->qtype = qtype; in dpni_get_qdid() 1473 enum dpni_queue_type qtype, in dpni_set_congestion_notification() argument 1486 cmd_params->qtype = qtype; in dpni_set_congestion_notification() 1522 enum dpni_queue_type qtype, in dpni_set_queue() argument 1536 cmd_params->qtype = qtype; in dpni_set_queue() [all …]
|
H A D | dpni-cmd.h | 242 u8 qtype; member 260 u8 qtype; member 290 u8 qtype; member 455 u8 qtype; member 487 u8 qtype; member 506 u8 qtype; member 521 u8 qtype; member 628 u8 qtype; member
|
H A D | dpni.h | 360 enum dpni_queue_type qtype, 366 enum dpni_queue_type qtype, 398 enum dpni_queue_type qtype, 837 enum dpni_queue_type qtype, 846 enum dpni_queue_type qtype, 928 enum dpni_queue_type qtype,
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | recv.c | 111 enum ath9k_rx_qtype qtype) in ath_rx_edma_buf_link() argument 118 rx_edma = &sc->rx.rx_edma[qtype]; in ath_rx_edma_buf_link() 132 ath9k_hw_addrxbuf_edma(ah, bf->bf_buf_addr, qtype); in ath_rx_edma_buf_link() 139 enum ath9k_rx_qtype qtype) in ath_rx_addbuffer_edma() argument 150 if (!ath_rx_edma_buf_link(sc, qtype)) in ath_rx_addbuffer_edma() 156 enum ath9k_rx_qtype qtype) in ath_rx_remove_buffer() argument 162 rx_edma = &sc->rx.rx_edma[qtype]; in ath_rx_remove_buffer() 628 enum ath9k_rx_qtype qtype, in ath_edma_get_buffers() argument 632 struct ath_rx_edma *rx_edma = &sc->rx.rx_edma[qtype]; in ath_edma_get_buffers() 661 ath_rx_edma_buf_link(sc, qtype); in ath_edma_get_buffers() [all …]
|
H A D | ar9003_mac.h | 114 enum ath9k_rx_qtype qtype);
|
H A D | ar9003_mac.c | 472 enum ath9k_rx_qtype qtype) in ath9k_hw_addrxbuf_edma() argument 474 if (qtype == ATH9K_RX_QUEUE_HP) in ath9k_hw_addrxbuf_edma()
|
/linux/drivers/usb/host/ |
H A D | uhci-debug.c | 171 char *qtype; in uhci_show_qh() local 174 case USB_ENDPOINT_XFER_ISOC: qtype = "ISO"; break; in uhci_show_qh() 175 case USB_ENDPOINT_XFER_INT: qtype = "INT"; break; in uhci_show_qh() 176 case USB_ENDPOINT_XFER_BULK: qtype = "BLK"; break; in uhci_show_qh() 177 case USB_ENDPOINT_XFER_CONTROL: qtype = "CTL"; break; in uhci_show_qh() 178 default: qtype = "Skel" ; break; in uhci_show_qh() 182 space, "", qh, qtype, in uhci_show_qh()
|
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_regs.h | 131 static inline void ionic_dbell_ring(u64 __iomem *db_page, int qtype, u64 val) in ionic_dbell_ring() argument 133 writeq(val, &db_page[qtype]); in ionic_dbell_ring()
|
H A D | ionic_lif.c | 1178 u8 qtype; in ionic_lif_add_hwstamp_rxfilt() local 1185 qtype = lif->hwstamp_rxq->q.type; in ionic_lif_add_hwstamp_rxfilt() 1186 ctx.cmd.rx_filter_add.qtype = qtype; in ionic_lif_add_hwstamp_rxfilt() 3906 int qtype; in ionic_lif_queue_identify() local 3912 for (qtype = 0; qtype < ARRAY_SIZE(ionic_qtype_versions); qtype++) { in ionic_lif_queue_identify() 3913 struct ionic_qtype_info *qti = &lif->qtype_info[qtype]; in ionic_lif_queue_identify() 3916 switch (qtype) { in ionic_lif_queue_identify() 3929 ionic_dev_cmd_queue_identify(idev, lif->lif_type, qtype, in ionic_lif_queue_identify() 3930 ionic_qtype_versions[qtype]); in ionic_lif_queue_identify() 3945 dev_err(ionic->dev, "qtype %d not supported\n", qtype); in ionic_lif_queue_identify() [all …]
|
H A D | ionic_dev.c | 632 u16 lif_type, u8 qtype, u8 qver) in ionic_dev_cmd_queue_identify() argument 637 .q_identify.type = qtype, in ionic_dev_cmd_queue_identify()
|
H A D | ionic_dev.h | 355 u16 lif_type, u8 qtype, u8 qver);
|
/linux/drivers/infiniband/hw/erdma/ |
H A D | erdma_cq.c | 113 u8 opcode, syndrome, qtype; in erdma_poll_one_cqe() local 141 qtype = FIELD_GET(ERDMA_CQE_HDR_QTYPE_MASK, cqe_hdr); in erdma_poll_one_cqe() 145 if (qtype == ERDMA_CQE_QTYPE_SQ) { in erdma_poll_one_cqe()
|
H A D | erdma_eq.c | 233 req.qtype = ERDMA_EQ_TYPE_CEQ; in create_eq_cmd() 278 req.qtype = ERDMA_EQ_TYPE_CEQ; in erdma_ceq_uninit_one()
|
H A D | erdma_hw.h | 174 u8 qtype; member 185 u8 qtype; member
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_ethtool.c | 725 static void idpf_add_empty_queue_stats(u64 **data, u16 qtype) in idpf_add_empty_queue_stats() argument 730 if (qtype == VIRTCHNL2_QUEUE_TYPE_RX) in idpf_add_empty_queue_stats() 877 u16 qtype; in idpf_get_ethtool_stats() local 896 qtype = VIRTCHNL2_QUEUE_TYPE_TX; in idpf_get_ethtool_stats() 902 idpf_add_empty_queue_stats(&data, qtype); in idpf_get_ethtool_stats() 904 idpf_add_queue_stats(&data, txq, qtype); in idpf_get_ethtool_stats() 924 qtype = VIRTCHNL2_QUEUE_TYPE_RX; in idpf_get_ethtool_stats() 939 idpf_add_empty_queue_stats(&data, qtype); in idpf_get_ethtool_stats() 941 idpf_add_queue_stats(&data, rxq, qtype); in idpf_get_ethtool_stats()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_lib.h | 245 entry->qtype = type; in cudbg_fill_qdesc_txq() 257 entry->qtype = type; in cudbg_fill_qdesc_rxq() 269 entry->qtype = type; in cudbg_fill_qdesc_flq()
|
H A D | cudbg_entity.h | 335 u32 qtype; member
|
/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | core.h | 242 enum pds_core_logical_qtype qtype, in pds_core_dbell_ring() argument 245 writeq(val, &db_page[qtype]); in pds_core_dbell_ring()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_controlq.h | 92 enum ice_ctl_q qtype; member
|
H A D | ice_controlq.c | 627 cq->qtype = q_type; in ice_init_ctrlq() 885 static const char *ice_ctl_q_str(enum ice_ctl_q qtype) in ice_ctl_q_str() argument 887 switch (qtype) { in ice_ctl_q_str() 929 ice_ctl_q_str(cq->qtype), response ? "Response" : "Command", in ice_debug_cq()
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_common.h | 375 enum t4_bar2_qtype qtype,
|