Searched refs:tx_xdp (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_xdp.c | 388 int tx_xdp = 0, tx_cp, 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() 433 bp->tx_nr_rings_xdp = tx_xdp; in bnxt_xdp_set() 434 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tc + tx_xdp; in bnxt_xdp_set()
|
| H A D | bnxt_ethtool.c | 940 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 D | bnxt.h | 2955 int tx_xdp);
|
| H A D | bnxt.c | 10993 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 10995 return (tx - tx_xdp) / tx_sets + tx_xdp; in __bnxt_num_tx_to_cp() 14464 int tx_xdp) in bnxt_check_rings() argument 14483 hwr.tx = tx * tx_sets + tx_xdp; in bnxt_check_rings() 14489 tx_cp = __bnxt_num_tx_to_cp(bp, hwr.tx, tx_sets, tx_xdp); in bnxt_check_rings()
|