Lines Matching refs:get_tx_ctx
826 struct nv_skb_map *get_tx_ctx, *put_tx_ctx; member
1957 np->get_tx_ctx = np->tx_skb; in nv_init_tx()
2090 …return (u32)(np->tx_ring_size - ((np->tx_ring_size + (np->put_tx_ctx - np->get_tx_ctx)) % np->tx_r… in nv_get_empty_tx_slots()
2618 nv_unmap_txskb(np, np->get_tx_ctx); in nv_tx_done()
2631 len = np->get_tx_ctx->skb->len; in nv_tx_done()
2635 bytes_compl += np->get_tx_ctx->skb->len; in nv_tx_done()
2636 dev_kfree_skb_any(np->get_tx_ctx->skb); in nv_tx_done()
2637 np->get_tx_ctx->skb = NULL; in nv_tx_done()
2651 len = np->get_tx_ctx->skb->len; in nv_tx_done()
2655 bytes_compl += np->get_tx_ctx->skb->len; in nv_tx_done()
2656 dev_kfree_skb_any(np->get_tx_ctx->skb); in nv_tx_done()
2657 np->get_tx_ctx->skb = NULL; in nv_tx_done()
2663 if (unlikely(np->get_tx_ctx++ == np->last_tx_ctx)) in nv_tx_done()
2664 np->get_tx_ctx = np->tx_skb; in nv_tx_done()
2688 nv_unmap_txskb(np, np->get_tx_ctx); in nv_tx_done_optimized()
2704 len = np->get_tx_ctx->skb->len; in nv_tx_done_optimized()
2709 bytes_cleaned += np->get_tx_ctx->skb->len; in nv_tx_done_optimized()
2710 dev_kfree_skb_any(np->get_tx_ctx->skb); in nv_tx_done_optimized()
2711 np->get_tx_ctx->skb = NULL; in nv_tx_done_optimized()
2720 if (unlikely(np->get_tx_ctx++ == np->last_tx_ctx)) in nv_tx_done_optimized()
2721 np->get_tx_ctx = np->tx_skb; in nv_tx_done_optimized()