Lines Matching refs:get_tx_ctx
806 struct nv_skb_map *get_tx_ctx, *put_tx_ctx;
1852 np->get_tx_ctx = np->put_tx_ctx = np->first_tx_ctx = np->tx_skb;
1980 return (u32)(np->tx_ring_size - ((np->tx_ring_size + (np->put_tx_ctx - np->get_tx_ctx)) % np->tx_ring_size));
2406 nv_unmap_txskb(np, np->get_tx_ctx);
2420 dev->stats.tx_bytes += np->get_tx_ctx->skb->len;
2422 dev_kfree_skb_any(np->get_tx_ctx->skb);
2423 np->get_tx_ctx->skb = NULL;
2438 dev->stats.tx_bytes += np->get_tx_ctx->skb->len;
2440 dev_kfree_skb_any(np->get_tx_ctx->skb);
2441 np->get_tx_ctx->skb = NULL;
2447 if (unlikely(np->get_tx_ctx++ == np->last_tx_ctx))
2448 np->get_tx_ctx = np->first_tx_ctx;
2471 nv_unmap_txskb(np, np->get_tx_ctx);
2485 dev_kfree_skb_any(np->get_tx_ctx->skb);
2486 np->get_tx_ctx->skb = NULL;
2495 if (unlikely(np->get_tx_ctx++ == np->last_tx_ctx))
2496 np->get_tx_ctx = np->first_tx_ctx;