Home
last modified time | relevance | path

Searched refs:num_rxqs (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_config.h153 ((cfg)->nic_if_cfg[idx].num_rxqs)
335 u64 num_rxqs:16; member
356 u64 num_rxqs:16;
H A Docteon_device.c78 .num_rxqs = DEF_RXQS_PER_INTF,
107 .num_rxqs = DEF_RXQS_PER_INTF,
186 .num_rxqs = DEF_RXQS_PER_INTF,
215 .num_rxqs = DEF_RXQS_PER_INTF,
244 .num_rxqs = DEF_RXQS_PER_INTF,
273 .num_rxqs = DEF_RXQS_PER_INTF,
352 .num_rxqs = DEF_RXQS_PER_INTF,
381 .num_rxqs = DEF_RXQS_PER_INTF,
455 .num_rxqs = DEF_RXQS_PER_INTF,
484 .num_rxqs = DEF_RXQS_PER_INTF,
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_vf.h16 u8 num_rxqs; member
207 u8 num_rxqs; member
280 u8 num_rxqs; member
302 u8 num_rxqs; member
771 void qed_vf_get_num_rxqs(struct qed_hwfn *p_hwfn, u8 *num_rxqs);
1092 static inline void qed_vf_get_num_rxqs(struct qed_hwfn *p_hwfn, u8 *num_rxqs) in qed_vf_get_num_rxqs() argument
H A Dqed_vf.c219 p_req->num_rxqs, in qed_vf_pf_acquire_reduce_resc()
220 p_resp->num_rxqs, in qed_vf_pf_acquire_reduce_resc()
221 p_req->num_rxqs, in qed_vf_pf_acquire_reduce_resc()
234 p_req->num_rxqs = p_resp->num_rxqs; in qed_vf_pf_acquire_reduce_resc()
260 p_resc->num_rxqs = 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()
812 req->num_rxqs = 1; in qed_vf_pf_rxq_stop()
1570 void qed_vf_get_num_rxqs(struct qed_hwfn *p_hwfn, u8 *num_rxqs) in qed_vf_get_num_rxqs() argument
1572 *num_rxqs = p_hwfn->vf_iov_info->acquire_resp.resc.num_rxqs; in qed_vf_get_num_rxqs()
H A Dqed_sriov.c233 if (rx_qid >= p_vf->num_rxqs) { in qed_iov_validate_rxq()
1127 vf->num_rxqs = 0; in qed_iov_release_hw_for_vf()
1444 p_resp->num_rxqs = p_vf->num_rxqs; in qed_iov_vf_mbx_acquire_resc()
1476 if (p_resp->num_rxqs < p_req->num_rxqs || in qed_iov_vf_mbx_acquire_resc()
1487 p_req->num_rxqs, in qed_iov_vf_mbx_acquire_resc()
1488 p_resp->num_rxqs, in qed_iov_vf_mbx_acquire_resc()
1489 p_req->num_rxqs, in qed_iov_vf_mbx_acquire_resc()
1673 resc->num_rxqs, in qed_iov_vf_mbx_acquire()
2579 if (req->num_rxqs != 1) { in qed_iov_vf_mbx_stop_rxqs()
2684 req->num_rxqs); in qed_iov_vf_mbx_update_rxqs()
[all …]
H A Dqed_l2.h246 u8 num_rxqs,
H A Dqed_sriov.h192 u8 num_rxqs; member
H A Dqed_l2.c965 u8 num_rxqs, in qed_sp_eth_rx_queues_update() argument
982 for (i = 0; i < num_rxqs; i++) { in qed_sp_eth_rx_queues_update()
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.h31 u8 num_rxqs; member
200 u8 num_rxqs; member
H A Dbnx2x_vfpf.c245 req->resc_request.num_rxqs = rx_count; in bnx2x_vfpf_acquire()
306 req->resc_request.num_rxqs = in bnx2x_vfpf_acquire()
307 min(req->resc_request.num_rxqs, in bnx2x_vfpf_acquire()
308 bp->acquire_resp.resc.num_rxqs); in bnx2x_vfpf_acquire()
1283 resc->num_rxqs = vf_rxq_count(vf) ? : in bnx2x_vf_mbx_acquire_resp()
1321 resc->num_rxqs, 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.h166 #define vf_rxq_count(vf) ((vf)->alloc_resc.num_rxqs)
H A Dbnx2x_sriov.c832 resc->num_rxqs = 0; in bnx2x_iov_static_resc()
1999 return ((req_resc->num_rxqs <= rxq_cnt) && in bnx2x_vf_chk_avail_resc()
2055 vf_rxq_count(vf) = resc->num_rxqs ? : bnx2x_vf_max_queue_cnt(bp, vf); in bnx2x_vf_acquire()
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_main.c227 int err, i, j, num_rxqs = hinic_hwdev_num_qps(nic_dev->hwdev); in create_rxqs() local
233 nic_dev->rxqs = devm_kcalloc(&netdev->dev, num_rxqs, in create_rxqs()
240 for (i = 0; i < num_rxqs; i++) { in create_rxqs()
280 int i, num_rxqs = hinic_hwdev_num_qps(nic_dev->hwdev); in free_rxqs() local
286 for (i = 0; i < num_rxqs; i++) { in free_rxqs()
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c196 int num_rxqs, num_txqs; in ibmvnic_clean_affinity() local
202 num_rxqs = adapter->num_active_rx_scrqs; in ibmvnic_clean_affinity()
210 for (i = 0; i < num_rxqs; i++) in ibmvnic_clean_affinity()
255 int num_rxqs = adapter->num_active_rx_scrqs, i_rxqs = 0; in ibmvnic_set_affinity() local
270 total_queues = num_rxqs + num_txqs; in ibmvnic_set_affinity()
284 if ((i % 2 == 1 && i_rxqs < num_rxqs) || i_txqs == num_txqs) { in ibmvnic_set_affinity()