Lines Matching refs:get_tx_ctx
826 struct nv_skb_map *get_tx_ctx, *put_tx_ctx; member
1944 np->get_tx_ctx = np->tx_skb; in nv_init_tx()
2077 …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()
2566 nv_unmap_txskb(np, np->get_tx_ctx); in nv_tx_done()
2577 np->stat_tx_bytes += np->get_tx_ctx->skb->len; in nv_tx_done()
2580 bytes_compl += np->get_tx_ctx->skb->len; in nv_tx_done()
2581 dev_kfree_skb_any(np->get_tx_ctx->skb); in nv_tx_done()
2582 np->get_tx_ctx->skb = NULL; in nv_tx_done()
2594 np->stat_tx_bytes += np->get_tx_ctx->skb->len; in nv_tx_done()
2597 bytes_compl += np->get_tx_ctx->skb->len; in nv_tx_done()
2598 dev_kfree_skb_any(np->get_tx_ctx->skb); in nv_tx_done()
2599 np->get_tx_ctx->skb = NULL; in nv_tx_done()
2605 if (unlikely(np->get_tx_ctx++ == np->last_tx_ctx)) in nv_tx_done()
2606 np->get_tx_ctx = np->tx_skb; in nv_tx_done()
2630 nv_unmap_txskb(np, np->get_tx_ctx); in nv_tx_done_optimized()
2644 np->stat_tx_bytes += np->get_tx_ctx->skb->len; in nv_tx_done_optimized()
2648 bytes_cleaned += np->get_tx_ctx->skb->len; in nv_tx_done_optimized()
2649 dev_kfree_skb_any(np->get_tx_ctx->skb); in nv_tx_done_optimized()
2650 np->get_tx_ctx->skb = NULL; in nv_tx_done_optimized()
2659 if (unlikely(np->get_tx_ctx++ == np->last_tx_ctx)) in nv_tx_done_optimized()
2660 np->get_tx_ctx = np->tx_skb; in nv_tx_done_optimized()