Searched refs:tx_xdp (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_xdp.c | 387 int tx_xdp = 0, 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 D | bnxt_ethtool.c | 962 int tx_xdp = 0; in bnxt_set_channels() local 992 tx_xdp = req_rx_rings; in bnxt_set_channels() 995 rc = bnxt_check_rings(bp, req_tx_rings, req_rx_rings, sh, tcs, tx_xdp); in bnxt_set_channels() 1046 bp->tx_nr_rings_xdp = tx_xdp; in bnxt_set_channels() 1047 bp->tx_nr_rings = bp->tx_nr_rings_per_tc + tx_xdp; in bnxt_set_channels() 1049 bp->tx_nr_rings = bp->tx_nr_rings_per_tc * tcs + tx_xdp; in bnxt_set_channels()
|
| H A D | bnxt.h | 3037 int tx_xdp);
|
| H A D | bnxt.c | 11327 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 11329 return (tx - tx_xdp) / tx_sets + tx_xdp; in __bnxt_num_tx_to_cp() 14829 int tx_xdp) in bnxt_check_rings() argument 14848 hwr.tx = tx * tx_sets + tx_xdp; in bnxt_check_rings() 14854 tx_cp = __bnxt_num_tx_to_cp(bp, hwr.tx, tx_sets, tx_xdp); in bnxt_check_rings()
|