Lines Matching refs:get_tx_ctx
826 struct nv_skb_map *get_tx_ctx, *put_tx_ctx; member
1943 np->get_tx_ctx = np->tx_skb; in nv_init_tx()
2076 …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()
2604 nv_unmap_txskb(np, np->get_tx_ctx); in nv_tx_done()
2617 len = np->get_tx_ctx->skb->len; in nv_tx_done()
2621 bytes_compl += np->get_tx_ctx->skb->len; in nv_tx_done()
2622 dev_kfree_skb_any(np->get_tx_ctx->skb); in nv_tx_done()
2623 np->get_tx_ctx->skb = NULL; in nv_tx_done()
2637 len = np->get_tx_ctx->skb->len; in nv_tx_done()
2641 bytes_compl += np->get_tx_ctx->skb->len; in nv_tx_done()
2642 dev_kfree_skb_any(np->get_tx_ctx->skb); in nv_tx_done()
2643 np->get_tx_ctx->skb = NULL; in nv_tx_done()
2649 if (unlikely(np->get_tx_ctx++ == np->last_tx_ctx)) in nv_tx_done()
2650 np->get_tx_ctx = np->tx_skb; in nv_tx_done()
2674 nv_unmap_txskb(np, np->get_tx_ctx); in nv_tx_done_optimized()
2690 len = np->get_tx_ctx->skb->len; in nv_tx_done_optimized()
2695 bytes_cleaned += np->get_tx_ctx->skb->len; in nv_tx_done_optimized()
2696 dev_kfree_skb_any(np->get_tx_ctx->skb); in nv_tx_done_optimized()
2697 np->get_tx_ctx->skb = NULL; in nv_tx_done_optimized()
2706 if (unlikely(np->get_tx_ctx++ == np->last_tx_ctx)) in nv_tx_done_optimized()
2707 np->get_tx_ctx = np->tx_skb; in nv_tx_done_optimized()