Home
last modified time | relevance | path

Searched refs:tx_xdp (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c389 int tx_xdp = 0, tx_cp, rc, tc; in bnxt_xdp_set() local
407 tx_xdp = bp->rx_nr_rings; in bnxt_xdp_set()
413 true, tc, tx_xdp); in bnxt_xdp_set()
432 bp->tx_nr_rings_xdp = tx_xdp; in bnxt_xdp_set()
433 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc + tx_xdp; in bnxt_xdp_set()
H A Dbnxt_ethtool.c940 int tx_xdp = 0; in bnxt_set_channels() local
971 tx_xdp = req_rx_rings; in bnxt_set_channels()
981 rc = bnxt_check_rings(bp, req_tx_rings, req_rx_rings, sh, tcs, tx_xdp); in bnxt_set_channels()
1005 bp->tx_nr_rings_xdp = tx_xdp; in bnxt_set_channels()
1006 bp->tx_nr_rings = bp->tx_nr_rings_per_tc + tx_xdp; in bnxt_set_channels()
1008 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
H A Dbnxt.h2939 int tx_xdp);
H A Dbnxt.c10930 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
10932 return (tx - tx_xdp) / tx_sets + tx_xdp; in __bnxt_num_tx_to_cp()
14207 int tx_xdp) in bnxt_check_rings() argument
14226 hwr.tx = tx * tx_sets + tx_xdp; in bnxt_check_rings()
14232 tx_cp = __bnxt_num_tx_to_cp(bp, hwr.tx, tx_sets, tx_xdp); in bnxt_check_rings()