Home
last modified time | relevance | path

Searched refs:num_txqs (Results 1 – 18 of 18) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/
A Docteon_device.c72 .num_txqs = DEF_TXQS_PER_INTF,
101 .num_txqs = DEF_TXQS_PER_INTF,
180 .num_txqs = DEF_TXQS_PER_INTF,
209 .num_txqs = DEF_TXQS_PER_INTF,
238 .num_txqs = DEF_TXQS_PER_INTF,
267 .num_txqs = DEF_TXQS_PER_INTF,
346 .num_txqs = DEF_TXQS_PER_INTF,
375 .num_txqs = DEF_TXQS_PER_INTF,
449 .num_txqs = DEF_TXQS_PER_INTF,
478 .num_txqs = DEF_TXQS_PER_INTF,
A Docteon_config.h149 ((cfg)->nic_if_cfg[idx].num_txqs)
341 u64 num_txqs:16; member
350 u64 num_txqs:16;
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/
A Dqed_vf.h17 u8 num_txqs; member
208 u8 num_txqs; member
292 u8 num_txqs; member
781 void qed_vf_get_num_txqs(struct qed_hwfn *p_hwfn, u8 *num_txqs);
1096 static inline void qed_vf_get_num_txqs(struct qed_hwfn *p_hwfn, u8 *num_txqs) in qed_vf_get_num_txqs() argument
A Dqed_vf.c225 p_resp->num_txqs, in qed_vf_pf_acquire_reduce_resc()
236 p_req->num_txqs = p_resp->num_txqs; in qed_vf_pf_acquire_reduce_resc()
264 p_resc->num_txqs = QED_MAX_VF_CHAINS_PER_PF; in qed_vf_pf_acquire()
393 resp->resc.num_cids = resp->resc.num_rxqs + resp->resc.num_txqs; in qed_vf_pf_acquire()
912 req->num_txqs = 1; in qed_vf_pf_txq_stop()
1586 void qed_vf_get_num_txqs(struct qed_hwfn *p_hwfn, u8 *num_txqs) in qed_vf_get_num_txqs() argument
1588 *num_txqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_txqs; in qed_vf_get_num_txqs()
A Dqed_sriov.c249 if (tx_qid >= p_vf->num_txqs) { in qed_iov_validate_txq()
253 p_vf->abs_vf_id, tx_qid, p_vf->num_txqs); in qed_iov_validate_txq()
296 for (i = 0; i < p_vf->num_txqs; i++) in qed_iov_validate_active_txq()
1053 vf->num_txqs = num_of_vf_avaiable_chains; in qed_iov_init_hw_for_vf()
1128 vf->num_txqs = 0; in qed_iov_release_hw_for_vf()
1359 p_vf->num_txqs = p_vf->num_sbs; in qed_iov_vf_cleanup()
1445 p_resp->num_txqs = p_vf->num_txqs; in qed_iov_vf_mbx_acquire_resc()
1477 p_resp->num_txqs < p_req->num_txqs || in qed_iov_vf_mbx_acquire_resc()
1490 p_resp->num_txqs, in qed_iov_vf_mbx_acquire_resc()
1674 resc->num_txqs, in qed_iov_vf_mbx_acquire()
[all …]
A Dqed_sriov.h193 u8 num_txqs; member
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/
A Dhinic_main.c131 int err, i, j, num_txqs = hinic_hwdev_num_qps(nic_dev->hwdev); in create_txqs() local
137 nic_dev->txqs = devm_kcalloc(&netdev->dev, num_txqs, in create_txqs()
144 for (i = 0; i < num_txqs; i++) { in create_txqs()
180 int num_txqs = hinic_hwdev_num_qps(nic_dev->hwdev); in enable_txqs_napi() local
183 for (i = 0; i < num_txqs; i++) in enable_txqs_napi()
189 int num_txqs = hinic_hwdev_num_qps(nic_dev->hwdev); in disable_txqs_napi() local
192 for (i = 0; i < num_txqs; i++) in disable_txqs_napi()
202 int i, num_txqs = hinic_hwdev_num_qps(nic_dev->hwdev); in free_txqs() local
208 for (i = 0; i < num_txqs; i++) { in free_txqs()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_vfpf.h32 u8 num_txqs; member
201 u8 num_txqs; member
A Dbnx2x_vfpf.c246 req->resc_request.num_txqs = tx_count; in bnx2x_vfpf_acquire()
303 req->resc_request.num_txqs = in bnx2x_vfpf_acquire()
304 min(req->resc_request.num_txqs, in bnx2x_vfpf_acquire()
305 bp->acquire_resp.resc.num_txqs); in bnx2x_vfpf_acquire()
1282 resc->num_txqs = vf_txq_count(vf) ? : in bnx2x_vf_mbx_acquire_resp()
1319 resc->num_txqs, in bnx2x_vf_mbx_acquire_resp()
1406 acquire->resc_request.num_rxqs, acquire->resc_request.num_txqs, in bnx2x_vf_mbx_acquire()
A Dbnx2x_sriov.h167 #define vf_txq_count(vf) ((vf)->alloc_resc.num_txqs)
A Dbnx2x_sriov.c833 resc->num_txqs = 0; in bnx2x_iov_static_resc()
2000 (req_resc->num_txqs <= txq_cnt) && in bnx2x_vf_chk_avail_resc()
2056 vf_txq_count(vf) = resc->num_txqs ? : bnx2x_vf_max_queue_cnt(bp, vf); in bnx2x_vf_acquire()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_xsk.c239 qg_buf->num_txqs = 1; in ice_qp_ena()
253 qg_buf->num_txqs = 1; in ice_qp_ena()
A Dice_common.c4123 sum_size += struct_size(list, txqs, list->num_txqs); in ice_aq_add_lan_txq()
4125 list->num_txqs); in ice_aq_add_lan_txq()
4561 if (num_qgrps > 1 || buf->num_txqs > 1) in ice_ena_vsi_txq()
A Dice_adminq_cmd.h1878 u8 num_txqs; member
A Dice_lib.c2031 qg_buf->num_txqs = 1; in ice_vsi_cfg_single_txq()
2085 qg_buf->num_txqs = 1; in ice_vsi_cfg_txqs()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_main.c2743 int nch, ntc, num_txqs, err; in mlx5e_update_tx_netdev_queues() local
2751 num_txqs = nch * ntc + qos_queues; in mlx5e_update_tx_netdev_queues()
2753 num_txqs += ntc; in mlx5e_update_tx_netdev_queues()
2755 mlx5e_dbg(DRV, priv, "Setting num_txqs %d\n", num_txqs); in mlx5e_update_tx_netdev_queues()
2756 err = netif_set_real_num_tx_queues(priv->netdev, num_txqs); in mlx5e_update_tx_netdev_queues()
5534 int nch, num_txqs, node; in mlx5e_priv_init() local
5537 num_txqs = netdev->num_tx_queues; in mlx5e_priv_init()
5566 priv->txq2sq = kcalloc_node(num_txqs, sizeof(*priv->txq2sq), GFP_KERNEL, node); in mlx5e_priv_init()
5570 priv->tx_rates = kcalloc_node(num_txqs, sizeof(*priv->tx_rates), GFP_KERNEL, node); in mlx5e_priv_init()
/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/
A Dbnad.c1511 int num_txqs) in bnad_tx_msix_unregister() argument
1516 for (i = 0; i < num_txqs; i++) { in bnad_tx_msix_unregister()
1530 u32 tx_id, int num_txqs) in bnad_tx_msix_register() argument
1536 for (i = 0; i < num_txqs; i++) { in bnad_tx_msix_register()
/linux-6.3-rc2/drivers/net/ethernet/ibm/
A Dibmvnic.c193 int num_rxqs, num_txqs; in ibmvnic_clean_affinity() local
199 num_txqs = adapter->num_active_tx_scrqs; in ibmvnic_clean_affinity()
204 for (i = 0; i < num_txqs; i++) in ibmvnic_clean_affinity()
254 int num_txqs = adapter->num_active_tx_scrqs, i_txqs = 0; in ibmvnic_set_affinity() local
268 total_queues = num_rxqs + num_txqs; in ibmvnic_set_affinity()
282 if ((i % 2 == 1 && i_rxqs < num_rxqs) || i_txqs == num_txqs) { in ibmvnic_set_affinity()

Completed in 99 milliseconds