/drivers/net/ethernet/atheros/alx/ |
D | main.c | 147 if (r_idx >= alx->num_txq) in alx_tx_queue_mapping() 148 r_idx = r_idx % alx->num_txq; in alx_tx_queue_mapping() 538 for (i = 0; i < alx->num_txq; i++) in alx_free_buffers() 660 alx->num_txq + in alx_alloc_rings() 673 for (i = 0; i < alx->num_txq; i++) { in alx_alloc_rings() 696 for (i = 0; i < alx->num_txq; i++) in alx_free_rings() 760 for (i = 0; i < alx->num_txq; i++) { in alx_alloc_napis() 815 for (i = 0, vector = 1; i < alx->num_txq; i++, vector++) { in alx_config_vector_mapping() 832 int err, num_vec, num_txq, num_rxq; in alx_enable_msix() local 834 num_txq = min_t(int, num_online_cpus(), ALX_MAX_TX_QUEUES); in alx_enable_msix() [all …]
|
D | alx.h | 121 int num_txq; member
|
/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 157 if (q_idx >= vsi->num_rxq || q_idx >= vsi->num_txq) in ice_qp_dis() 214 if (q_idx >= vsi->num_rxq || q_idx >= vsi->num_txq) in ice_qp_ena() 339 vsi->num_xsk_pools = min_t(u16, vsi->num_rxq, vsi->num_txq); in ice_xsk_pool_enable() 374 if (qid >= vsi->num_rxq || qid >= vsi->num_txq) { in ice_xsk_pool_setup() 841 if (queue_id >= vsi->num_txq) in ice_xsk_wakeup()
|
D | ice_virtchnl_pf.c | 929 u16 num_msix_per_vf, num_txq, num_rxq; in ice_set_per_vf_res() local 954 num_txq = ice_determine_res(pf, ice_get_avail_txq_count(pf), in ice_set_per_vf_res() 966 if (!num_txq || !num_rxq) { in ice_set_per_vf_res() 979 pf->num_qps_per_vf = min_t(int, num_txq, num_rxq); in ice_set_per_vf_res() 1988 vfres->num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg() 1996 vfres->vsi_res[0].num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg() 2935 u16 num_rxq = 0, num_txq = 0; in ice_vc_cfg_qs_msg() local 2978 num_txq++; in ice_vc_cfg_qs_msg() 3017 vsi->num_txq = num_txq; in ice_vc_cfg_qs_msg() 3020 vsi->tc_cfg.tc_info[0].qcount_tx = num_txq; in ice_vc_cfg_qs_msg()
|
D | ice_lib.c | 174 vsi->num_txq = vsi->req_txq; in ice_vsi_set_num_qs() 836 vsi->num_txq = tx_count; in ice_vsi_setup_q_map() 838 if (vsi->type == ICE_VSI_VF && vsi->num_txq != vsi->num_rxq) { in ice_vsi_setup_q_map() 843 vsi->num_txq = vsi->num_rxq; in ice_vsi_setup_q_map() 1751 return ice_vsi_cfg_txqs(vsi, vsi->tx_rings, vsi->num_txq); in ice_vsi_cfg_lan_txqs() 1972 if (vsi->num_txq > ICE_LAN_TXQ_MAX_QDIS) in ice_vsi_stop_tx_rings() 2003 return ice_vsi_stop_tx_rings(vsi, rst_src, rel_vmvf_num, vsi->tx_rings, vsi->num_txq); in ice_vsi_stop_lan_tx_rings() 2758 if (i < vsi->num_txq) in ice_vsi_rebuild_get_coalesce()
|
D | ice.h | 111 for ((i) = 0; (i) < (vsi)->num_txq; (i)++) 317 u16 num_txq; /* Used Tx queues */ member
|
D | ice_ethtool.c | 2803 tx_rings = kcalloc(vsi->num_txq, sizeof(*tx_rings), GFP_KERNEL); in ice_set_ringparam() 3260 (u16)pf->hw.func_caps.common_cap.num_txq); in ice_get_max_txq() 3315 ch->tx_count = vsi->num_txq - ch->combined_count; in ice_get_channels() 3417 if (ch->tx_count == vsi->num_txq - curr_combined) in ice_set_channels() 3559 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_get_q_coalesce() 3570 } else if (q_num < vsi->num_txq) { in ice_get_q_coalesce() 3714 if (q_num < vsi->num_rxq && q_num < vsi->num_txq) { in ice_set_q_coalesce() 3729 } else if (q_num < vsi->num_txq) { in ice_set_q_coalesce() 3800 if (v_idx >= vsi->num_rxq && v_idx >= vsi->num_txq) in __ice_set_coalesce()
|
D | ice_base.c | 573 tx_rings_rem = vsi->num_txq; in ice_vsi_map_rings_to_vectors() 587 q_base = vsi->num_txq - tx_rings_rem; in ice_vsi_map_rings_to_vectors()
|
D | ice_main.c | 91 for (i = 0; i < vsi->num_txq; i++) { in ice_check_for_hang_subtask() 2395 max_txqs[i] = vsi->num_txq + vsi->num_xdp_txq; in ice_prepare_xdp_rings() 2500 max_txqs[i] = vsi->num_txq; in ice_destroy_xdp_rings() 3377 pf->max_pf_txqs = func_caps->common_cap.num_txq; in ice_set_pf_caps() 5395 ice_update_vsi_tx_ring_stats(vsi, vsi->tx_rings, vsi->num_txq); in ice_update_vsi_ring_stats() 5623 if (!vsi->num_txq || !vsi->num_rxq) in ice_get_stats64() 5738 if (!vsi->num_txq) { in ice_vsi_setup_tx_rings() 5880 err = netif_set_real_num_tx_queues(vsi->netdev, vsi->num_txq); in ice_vsi_open() 6620 for (i = 0; i < vsi->num_txq; i++) in ice_tx_timeout()
|
D | ice_type.h | 229 u16 num_txq; /* Number/Total Tx queues */ member
|
D | ice_common.c | 1841 caps->num_txq = number; in ice_parse_common_caps() 1845 caps->num_txq); in ice_parse_common_caps() 2319 func_caps->common_cap.num_txq = 1; in ice_set_safe_mode_caps() 2349 dev_caps->common_cap.num_txq = num_funcs; in ice_set_safe_mode_caps()
|
D | ice_dcb_lib.c | 203 for (i = 0; i < vsi->num_txq; i++) { in ice_vsi_cfg_dcb_rings()
|
/drivers/net/ethernet/brocade/bna/ |
D | bna_enet.c | 167 ioceth->attr.num_txq = ntohl(rsp->max_cfg); in bna_bfi_attr_get_rsp() 1679 ioceth->attr.num_txq = BFI_ENET_DEF_TXQ; in bna_attr_init() 1906 attr->num_txq * sizeof(struct bna_tx); in bna_mod_res_req() 1914 attr->num_txq * sizeof(struct bna_txq); in bna_mod_res_req() 2026 bna_num_txq_set(struct bna *bna, int num_txq) in bna_num_txq_set() argument 2029 (num_txq <= bna->ioceth.attr.num_txq)) { in bna_num_txq_set() 2030 bna->ioceth.attr.num_txq = num_txq; in bna_num_txq_set()
|
D | bna_types.h | 306 int num_txq; member 467 int num_txq; member 496 int num_txq; member
|
D | bna_tx_rx.c | 3097 cfg_req->num_queues = tx->num_txq; in bna_bfi_tx_enet_start() 3098 for (i = 0; i < tx->num_txq; i++) { in bna_bfi_tx_enet_start() 3282 i < tx->num_txq; i++, txq = list_next_entry(txq, qe)) { in bna_bfi_tx_enet_start_rsp() 3316 bna_tx_res_req(int num_txq, int txq_depth, struct bna_res_info *res_info) in bna_tx_res_req() argument 3326 mem_info->num = num_txq; in bna_tx_res_req() 3336 mem_info->num = num_txq; in bna_tx_res_req() 3342 mem_info->num = num_txq; in bna_tx_res_req() 3348 mem_info->num = num_txq; in bna_tx_res_req() 3354 mem_info->num = num_txq; in bna_tx_res_req() 3359 res_info[BNA_TX_RES_INTR_T_TXCMPL].res_u.intr_info.num = num_txq; in bna_tx_res_req() [all …]
|
D | bna.h | 265 int bna_num_txq_set(struct bna *bna, int num_txq); 306 void bna_tx_res_req(int num_txq, int txq_depth,
|
D | bnad.c | 1964 tx_config->num_txq = bnad->num_txq_per_tx; in bnad_setup_tx() 3697 bnad_q_num_adjust(bnad, bna_attr(bna)->num_txq - 1, in bnad_pci_probe()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac5.h | 114 void dwmac5_fpe_configure(void __iomem *ioaddr, u32 num_txq, u32 num_rxq,
|
D | dwmac5.c | 606 void dwmac5_fpe_configure(void __iomem *ioaddr, u32 num_txq, u32 num_rxq, in dwmac5_fpe_configure() argument
|
D | hwif.h | 395 void (*fpe_configure)(void __iomem *ioaddr, u32 num_txq, u32 num_rxq,
|
D | dwxgmac2_core.c | 1497 static void dwxgmac3_fpe_configure(void __iomem *ioaddr, u32 num_txq, in dwxgmac3_fpe_configure() argument
|