Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c269 int tx_xdp = 0, rc, tc; in bnxt_xdp_set() local
282 tx_xdp = bp->rx_nr_rings; in bnxt_xdp_set()
288 true, tc, tx_xdp); in bnxt_xdp_set()
312 bp->tx_nr_rings_xdp = tx_xdp; in bnxt_xdp_set()
313 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc + tx_xdp; in bnxt_xdp_set()
H A Dbnxt_ethtool.c854 int tx_xdp = 0; in bnxt_set_channels() local
884 tx_xdp = req_rx_rings; in bnxt_set_channels()
886 rc = bnxt_check_rings(bp, req_tx_rings, req_rx_rings, sh, tcs, tx_xdp); in bnxt_set_channels()
922 bp->tx_nr_rings_xdp = tx_xdp; in bnxt_set_channels()
923 bp->tx_nr_rings = bp->tx_nr_rings_per_tc + tx_xdp; in bnxt_set_channels()
925 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
H A Dbnxt.h2218 int tx_xdp);
H A Dbnxt.c11224 int tx_xdp) in bnxt_check_rings()
11241 tx_rings_needed = tx * tx_sets + tx_xdp; in bnxt_check_rings()
11223 bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs, int tx_xdp) bnxt_check_rings() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c394 int tx_xdp = 0, rc, tc; in bnxt_xdp_set() local
408 tx_xdp = bp->rx_nr_rings; in bnxt_xdp_set()
414 true, tc, tx_xdp); in bnxt_xdp_set()
440 bp->tx_nr_rings_xdp = tx_xdp; in bnxt_xdp_set()
441 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc + tx_xdp; in bnxt_xdp_set()
H A Dbnxt_ethtool.c906 int tx_xdp = 0; in bnxt_set_channels() local
936 tx_xdp = req_rx_rings; in bnxt_set_channels()
938 rc = bnxt_check_rings(bp, req_tx_rings, req_rx_rings, sh, tcs, tx_xdp); in bnxt_set_channels()
969 bp->tx_nr_rings_xdp = tx_xdp; in bnxt_set_channels()
970 bp->tx_nr_rings = bp->tx_nr_rings_per_tc + tx_xdp; in bnxt_set_channels()
972 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
H A Dbnxt.h2379 int tx_xdp);
H A Dbnxt.c12164 int tx_xdp) in bnxt_check_rings()
12181 tx_rings_needed = tx * tx_sets + tx_xdp; in bnxt_check_rings()
12163 bnxt_check_rings(struct bnxt *bp, int tx, int rx, bool sh, int tcs, int tx_xdp) bnxt_check_rings() argument

Completed in 52 milliseconds