Searched refs:tx_xdp (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 389 int tx_xdp = 0, tx_cp, rc, tc; in bnxt_xdp_set() local 403 tx_xdp = bp->rx_nr_rings; in bnxt_xdp_set() 409 true, tc, tx_xdp); in bnxt_xdp_set() 435 bp->tx_nr_rings_xdp = tx_xdp; in bnxt_xdp_set() 436 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc + tx_xdp; in bnxt_xdp_set()
|
D | bnxt_ethtool.c | 925 int tx_xdp = 0; in bnxt_set_channels() local 956 tx_xdp = req_rx_rings; in bnxt_set_channels() 966 rc = bnxt_check_rings(bp, req_tx_rings, req_rx_rings, sh, tcs, tx_xdp); in bnxt_set_channels() 990 bp->tx_nr_rings_xdp = tx_xdp; in bnxt_set_channels() 991 bp->tx_nr_rings = bp->tx_nr_rings_per_tc + tx_xdp; in bnxt_set_channels() 993 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
|
D | bnxt.h | 2865 int tx_xdp);
|
D | bnxt.c | 10551 static int __bnxt_num_tx_to_cp(struct bnxt *bp, int tx, int tx_sets, int tx_xdp) in __bnxt_num_tx_to_cp() argument 10553 return (tx - tx_xdp) / tx_sets + tx_xdp; in __bnxt_num_tx_to_cp() 13807 int tx_xdp) in bnxt_check_rings() argument 13826 hwr.tx = tx * tx_sets + tx_xdp; in bnxt_check_rings() 13832 tx_cp = __bnxt_num_tx_to_cp(bp, hwr.tx, tx_sets, tx_xdp); in bnxt_check_rings()
|