Lines Matching refs:get_tx_ctx
826 struct nv_skb_map *get_tx_ctx, *put_tx_ctx; member
1938 np->get_tx_ctx = np->put_tx_ctx = np->first_tx_ctx = np->tx_skb; in nv_init_tx()
2070 …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()
2543 nv_unmap_txskb(np, np->get_tx_ctx); in nv_tx_done()
2554 np->stat_tx_bytes += np->get_tx_ctx->skb->len; in nv_tx_done()
2557 bytes_compl += np->get_tx_ctx->skb->len; in nv_tx_done()
2558 dev_kfree_skb_any(np->get_tx_ctx->skb); in nv_tx_done()
2559 np->get_tx_ctx->skb = NULL; in nv_tx_done()
2571 np->stat_tx_bytes += np->get_tx_ctx->skb->len; in nv_tx_done()
2574 bytes_compl += np->get_tx_ctx->skb->len; in nv_tx_done()
2575 dev_kfree_skb_any(np->get_tx_ctx->skb); in nv_tx_done()
2576 np->get_tx_ctx->skb = NULL; in nv_tx_done()
2582 if (unlikely(np->get_tx_ctx++ == np->last_tx_ctx)) in nv_tx_done()
2583 np->get_tx_ctx = np->first_tx_ctx; in nv_tx_done()
2607 nv_unmap_txskb(np, np->get_tx_ctx); in nv_tx_done_optimized()
2621 np->stat_tx_bytes += np->get_tx_ctx->skb->len; in nv_tx_done_optimized()
2625 bytes_cleaned += np->get_tx_ctx->skb->len; in nv_tx_done_optimized()
2626 dev_kfree_skb_any(np->get_tx_ctx->skb); in nv_tx_done_optimized()
2627 np->get_tx_ctx->skb = NULL; in nv_tx_done_optimized()
2636 if (unlikely(np->get_tx_ctx++ == np->last_tx_ctx)) in nv_tx_done_optimized()
2637 np->get_tx_ctx = np->first_tx_ctx; in nv_tx_done_optimized()