Home
last modified time | relevance | path

Searched refs:min_tx_rings (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c540 req.min_tx_rings = cpu_to_le16(min); in bnxt_hwrm_func_vf_resc_cfg()
557 req.min_tx_rings = cpu_to_le16(vf_tx_rings); in bnxt_hwrm_func_vf_resc_cfg()
593 hw_resc->max_tx_rings -= le16_to_cpu(req.min_tx_rings) * n; in bnxt_hwrm_func_vf_resc_cfg()
732 int min_rx_rings, min_tx_rings, min_rss_ctxs; in bnxt_sriov_enable() local
749 min_tx_rings = vfs_supported; in bnxt_sriov_enable()
765 if (hw_resc->max_tx_rings - bp->tx_nr_rings >= min_tx_rings && in bnxt_sriov_enable()
766 avail_cp >= min_tx_rings) in bnxt_sriov_enable()
H A Dbnxt.h1066 u16 min_tx_rings; member
H A Dbnxt_hsi.h1920 __le16 min_tx_rings; member
1952 __le16 min_tx_rings; member
H A Dbnxt.c7315 hw_resc->min_tx_rings = le16_to_cpu(resp->min_tx_rings); in bnxt_hwrm_func_resc_qcaps()
10437 if (hw_resc->min_tx_rings || hw_resc->resv_tx_rings) in bnxt_can_reserve_rings()
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c564 req->min_tx_rings = cpu_to_le16(min); in bnxt_hwrm_func_vf_resc_cfg()
581 req->min_tx_rings = cpu_to_le16(vf_tx_rings); in bnxt_hwrm_func_vf_resc_cfg()
616 hw_resc->max_tx_rings -= le16_to_cpu(req->min_tx_rings) * n; in bnxt_hwrm_func_vf_resc_cfg()
758 int min_rx_rings, min_tx_rings, min_rss_ctxs; in bnxt_sriov_enable() local
775 min_tx_rings = vfs_supported; in bnxt_sriov_enable()
791 if (hw_resc->max_tx_rings - bp->tx_nr_rings >= min_tx_rings && in bnxt_sriov_enable()
792 avail_cp >= min_tx_rings) in bnxt_sriov_enable()
H A Dbnxt.h1111 u16 min_tx_rings; member
H A Dbnxt.c7571 hw_resc->min_tx_rings = le16_to_cpu(resp->min_tx_rings); in bnxt_hwrm_func_resc_qcaps()
11176 if (hw_resc->min_tx_rings || hw_resc->resv_tx_rings) in bnxt_can_reserve_rings()
H A Dbnxt_hsi.h2455 __le16 min_tx_rings; member
2491 __le16 min_tx_rings; member

Completed in 109 milliseconds