Home
last modified time | relevance | path

Searched refs:put_tx_ctx (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/nvidia/
Dforcedeth.c826 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()
2227 prev_tx_ctx = np->put_tx_ctx; in nv_start_xmit()
2229 np->put_tx_ctx->dma = pci_map_single(np->pci_dev, skb->data + offset, bcnt, in nv_start_xmit()
2232 np->put_tx_ctx->dma)) { in nv_start_xmit()
2240 np->put_tx_ctx->dma_len = bcnt; in nv_start_xmit()
2241 np->put_tx_ctx->dma_single = 1; in nv_start_xmit()
2242 put_tx->buf = cpu_to_le32(np->put_tx_ctx->dma); in nv_start_xmit()
2250 if (unlikely(np->put_tx_ctx++ == np->last_tx_ctx)) in nv_start_xmit()
[all …]