(+86) 15013630202 sales@pcie.com

Pcie vnet

Mar 04, 2024

hi nv

I have a question about nvdia/drivers/pci/endpoint/functions/pci-epf-tegra-vnet.c

function:

static netdev_tx_t tvnet_ep_start_xmit(struct sk_buff *skb,

struct net_device *ndev)






































/* Trigger DMA write from src_iova to dst_iova */
desc_widx = desc_cnt->wr_cnt % DMA_DESC_COUNT;
ep_dma_virt[desc_widx].size = len;
ep_dma_virt[desc_widx].sar_low = lower_32_bits(src_iova);
ep_dma_virt[desc_widx].sar_high = upper_32_bits(src_iova);
ep_dma_virt[desc_widx].dar_low = lower_32_bits(dst_iova);
ep_dma_virt[desc_widx].dar_high = upper_32_bits(dst_iova);
//Dose this mean writing address to the DMA Address Registers?