Home
last modified time | relevance | path

Searched refs:num_txqs (Results 1 - 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
H A Docteon_config.h149 ((cfg)->nic_if_cfg[idx].num_txqs)
341 u64 num_txqs:16; member
350 u64 num_txqs:16;
H 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
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/
H A Docteon_config.h149 ((cfg)->nic_if_cfg[idx].num_txqs)
341 u64 num_txqs:16; member
350 u64 num_txqs:16;
H 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
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_vf.h17 u8 num_txqs; member
208 u8 num_txqs; member
292 u8 num_txqs; member
765 * @param num_txqs - allocated RX queues
767 void qed_vf_get_num_txqs(struct qed_hwfn *p_hwfn, u8 *num_txqs);
1059 static inline void qed_vf_get_num_txqs(struct qed_hwfn *p_hwfn, u8 *num_txqs) in qed_vf_get_num_txqs() argument
H 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()
911 req->num_txqs = 1; in qed_vf_pf_txq_stop()
1585 void qed_vf_get_num_txqs(struct qed_hwfn *p_hwfn, u8 *num_txqs) in qed_vf_get_num_txqs() argument
1587 *num_txqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_txqs; in qed_vf_get_num_txqs()
H A Dqed_sriov.h193 u8 num_txqs; member
H A Dqed_sriov.c247 if (tx_qid >= p_vf->num_txqs) { in qed_iov_validate_txq()
251 p_vf->abs_vf_id, tx_qid, p_vf->num_txqs); in qed_iov_validate_txq()
294 for (i = 0; i < p_vf->num_txqs; i++) in qed_iov_validate_active_txq()
1051 vf->num_txqs = num_of_vf_avaiable_chains; in qed_iov_init_hw_for_vf()
1126 vf->num_txqs = 0; in qed_iov_release_hw_for_vf()
1357 p_vf->num_txqs = p_vf->num_sbs; in qed_iov_vf_cleanup()
1443 p_resp->num_txqs = p_vf->num_txqs; in qed_iov_vf_mbx_acquire_resc()
1475 p_resp->num_txqs < p_req->num_txqs || in qed_iov_vf_mbx_acquire_resc()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_vf.h17 u8 num_txqs; member
208 u8 num_txqs; member
292 u8 num_txqs; member
777 * @num_txqs: allocated RX queues
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
H A Dqed_vf.c222 p_resp->num_txqs, in qed_vf_pf_acquire_reduce_resc()
233 p_req->num_txqs = p_resp->num_txqs; in qed_vf_pf_acquire_reduce_resc()
261 p_resc->num_txqs = QED_MAX_VF_CHAINS_PER_PF; in qed_vf_pf_acquire()
390 resp->resc.num_cids = resp->resc.num_rxqs + resp->resc.num_txqs; in qed_vf_pf_acquire()
909 req->num_txqs = 1; in qed_vf_pf_txq_stop()
1575 void qed_vf_get_num_txqs(struct qed_hwfn *p_hwfn, u8 *num_txqs) in qed_vf_get_num_txqs() argument
1577 *num_txqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_txqs; in qed_vf_get_num_txqs()
H A Dqed_sriov.h193 u8 num_txqs; member
H 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()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
H 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()
181 int num_txqs = hinic_hwdev_num_qps(nic_dev->hwdev); in enable_txqs_napi() local
184 for (i = 0; i < num_txqs; i++) in enable_txqs_napi()
190 int num_txqs = hinic_hwdev_num_qps(nic_dev->hwdev); in disable_txqs_napi() local
193 for (i = 0; i < num_txqs; i++) in disable_txqs_napi()
203 int i, num_txqs = hinic_hwdev_num_qps(nic_dev->hwdev); in free_txqs() local
209 for (i = 0; i < num_txqs; i++) { in free_txqs()
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/
H 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.h32 u8 num_txqs; member
201 u8 num_txqs; member
H 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()
1283 resc->num_txqs = vf_txq_count(vf) ? : in bnx2x_vf_mbx_acquire_resp()
1320 resc->num_txqs, in bnx2x_vf_mbx_acquire_resp()
1407 acquire->resc_request.num_rxqs, acquire->resc_request.num_txqs, in bnx2x_vf_mbx_acquire()
H A Dbnx2x_sriov.h167 #define vf_txq_count(vf) ((vf)->alloc_resc.num_txqs)
H A Dbnx2x_sriov.c833 resc->num_txqs = 0; in bnx2x_iov_static_resc()
2007 (req_resc->num_txqs <= txq_cnt) && in bnx2x_vf_chk_avail_resc()
2063 vf_txq_count(vf) = resc->num_txqs ? : bnx2x_vf_max_queue_cnt(bp, vf); in bnx2x_vf_acquire()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.h32 u8 num_txqs; member
201 u8 num_txqs; member
H 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()
1285 resc->num_txqs = vf_txq_count(vf) ? : in bnx2x_vf_mbx_acquire_resp()
1322 resc->num_txqs, in bnx2x_vf_mbx_acquire_resp()
1409 acquire->resc_request.num_rxqs, acquire->resc_request.num_txqs, in bnx2x_vf_mbx_acquire()
H A Dbnx2x_sriov.h167 #define vf_txq_count(vf) ((vf)->alloc_resc.num_txqs)
H 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_xsk.c222 qg_buf->num_txqs = 1; in ice_qp_ena()
236 qg_buf->num_txqs = 1; in ice_qp_ena()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_xsk.c236 qg_buf->num_txqs = 1; in ice_qp_ena()
250 qg_buf->num_txqs = 1; in ice_qp_ena()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c2787 int nch, ntc, num_txqs, err; in mlx5e_update_tx_netdev_queues() local
2795 num_txqs = nch * ntc + qos_queues; in mlx5e_update_tx_netdev_queues()
2797 num_txqs += ntc; in mlx5e_update_tx_netdev_queues()
2799 netdev_dbg(priv->netdev, "Setting num_txqs %d\n", num_txqs); in mlx5e_update_tx_netdev_queues()
2800 err = netif_set_real_num_tx_queues(priv->netdev, num_txqs); in mlx5e_update_tx_netdev_queues()
5624 int nch, num_txqs, node; in mlx5e_priv_init() local
5627 num_txqs = netdev->num_tx_queues; in mlx5e_priv_init()
5655 priv->txq2sq = kcalloc_node(num_txqs, sizeof(*priv->txq2sq), GFP_KERNEL, node); in mlx5e_priv_init()
5659 priv->tx_rates = kcalloc_node(num_txqs, sizeo in mlx5e_priv_init()
[all...]

Completed in 53 milliseconds

12