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.c387 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.c946 int tx_xdp = 0; in bnxt_set_channels() local
977 tx_xdp = req_rx_rings; in bnxt_set_channels()
987 rc = bnxt_check_rings(bp, req_tx_rings, req_rx_rings, sh, tcs, tx_xdp); in bnxt_set_channels()
1011 bp->tx_nr_rings_xdp = tx_xdp; in bnxt_set_channels()
1012 bp->tx_nr_rings = bp->tx_nr_rings_per_tc + tx_xdp; in bnxt_set_channels()
1014 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
H A Dbnxt.h2985 int tx_xdp);
H A Dbnxt.c11232 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
11234 return (tx - tx_xdp) / tx_sets + tx_xdp; in __bnxt_num_tx_to_cp()
14713 int tx_xdp) in bnxt_check_rings() argument
14732 hwr.tx = tx * tx_sets + tx_xdp; in bnxt_check_rings()
14738 tx_cp = __bnxt_num_tx_to_cp(bp, hwr.tx, tx_sets, tx_xdp); in bnxt_check_rings()