Searched refs:tx_avail (Results 1 – 6 of 6) sorted by relevance
235 u32 tx_avail; in bnxt_rx_xdp() local251 tx_avail = bnxt_tx_avail(bp, txr); in bnxt_rx_xdp()255 if (tx_avail != bp->tx_ring_size) in bnxt_rx_xdp()280 if (tx_avail < tx_needed) { in bnxt_rx_xdp()
100 atomic_t tx_avail; member
701 atomic_inc(&ptp->tx_avail); in bnxt_stamp_tx_skb()942 atomic_set(&ptp->tx_avail, BNXT_MAX_TX_TS); in bnxt_ptp_init()
458 atomic_dec_if_positive(&ptp->tx_avail) >= 0) { in bnxt_start_xmit()466 atomic_inc(&bp->ptp_cfg->tx_avail); in bnxt_start_xmit()660 atomic_inc(&bp->ptp_cfg->tx_avail); in bnxt_start_xmit()741 atomic_inc(&bp->ptp_cfg->tx_avail); in bnxt_tx_int()
710 u32 tx_avail; in pdc_tx_list_sg_add() local724 tx_avail = pdcs->ntxpost - NTXDACTIVE(pdcs->txin, pdcs->txout, in pdc_tx_list_sg_add()726 if (unlikely(num_desc > tx_avail)) { in pdc_tx_list_sg_add()1128 u32 tx_avail; in pdc_rings_full() local1140 tx_avail = pdcs->ntxpost - NTXDACTIVE(pdcs->txin, pdcs->txout, in pdc_rings_full()1142 if (unlikely(tx_cnt > tx_avail)) { in pdc_rings_full()
1782 static inline int tx_avail(const struct sky2_port *sky2) in tx_avail() function1837 if (unlikely(tx_avail(sky2) < tx_le_req(skb))) in sky2_xmit_frame()1967 if (tx_avail(sky2) <= MAX_SKB_TX_LE) in sky2_xmit_frame()2624 if (tx_avail(sky2) > MAX_SKB_TX_LE + 4) in sky2_tx_done()