/openbmc/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_device.c | 72 .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,
|
H A D | octeon_config.h | 149 ((cfg)->nic_if_cfg[idx].num_txqs) 341 u64 num_txqs:16; member 350 u64 num_txqs:16;
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_vf.h | 17 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
|
H A D | qed_vf.c | 222 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 D | qed_sriov.c | 249 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 …]
|
H A D | qed_sriov.h | 193 u8 num_txqs; member
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_main.c | 131 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()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_vfpf.h | 32 u8 num_txqs; member 201 u8 num_txqs; member
|
H A D | bnx2x_vfpf.c | 246 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 D | bnx2x_sriov.h | 167 #define vf_txq_count(vf) ((vf)->alloc_resc.num_txqs)
|
H A D | bnx2x_sriov.c | 833 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()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_xsk.c | 233 qg_buf->num_txqs = 1; in ice_qp_ena() 247 qg_buf->num_txqs = 1; in ice_qp_ena()
|
H A D | ice_common.c | 4170 sum_size += struct_size(list, txqs, list->num_txqs); in ice_aq_add_lan_txq() 4172 list->num_txqs); in ice_aq_add_lan_txq() 4655 if (num_qgrps > 1 || buf->num_txqs > 1) in ice_ena_vsi_txq()
|
H A D | ice_lib.c | 1840 qg_buf->num_txqs = 1; in ice_vsi_cfg_single_txq() 1894 qg_buf->num_txqs = 1; in ice_vsi_cfg_txqs()
|
H A D | ice_adminq_cmd.h | 1889 u8 num_txqs; member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 2787 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, sizeof(*priv->tx_rates), GFP_KERNEL, node); in mlx5e_priv_init()
|
/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 1510 int num_txqs) in bnad_tx_msix_unregister() argument 1515 for (i = 0; i < num_txqs; i++) { in bnad_tx_msix_unregister() 1529 u32 tx_id, int num_txqs) in bnad_tx_msix_register() argument 1535 for (i = 0; i < num_txqs; i++) { in bnad_tx_msix_register()
|
/openbmc/linux/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.c | 197 int num_rxqs, num_txqs; in ibmvnic_clean_affinity() local 202 num_txqs = adapter->num_active_tx_scrqs; in ibmvnic_clean_affinity() 207 for (i = 0; i < num_txqs; i++) in ibmvnic_clean_affinity() 257 int num_txqs = adapter->num_active_tx_scrqs, i_txqs = 0; in ibmvnic_set_affinity() local 271 total_queues = num_rxqs + num_txqs; in ibmvnic_set_affinity() 285 if ((i % 2 == 1 && i_rxqs < num_rxqs) || i_txqs == num_txqs) { in ibmvnic_set_affinity()
|