Lines Matching refs:nvchan
814 struct netvsc_channel *nvchan, in netvsc_alloc_recv_skb() argument
817 struct napi_struct *napi = &nvchan->napi; in netvsc_alloc_recv_skb()
818 const struct ndis_pkt_8021q_info *vlan = nvchan->rsc.vlan; in netvsc_alloc_recv_skb()
820 nvchan->rsc.csum_info; in netvsc_alloc_recv_skb()
821 const u32 *hash_info = nvchan->rsc.hash_info; in netvsc_alloc_recv_skb()
842 skb = napi_alloc_skb(napi, nvchan->rsc.pktlen); in netvsc_alloc_recv_skb()
850 for (i = 0; i < nvchan->rsc.cnt; i++) in netvsc_alloc_recv_skb()
851 skb_put_data(skb, nvchan->rsc.data[i], in netvsc_alloc_recv_skb()
852 nvchan->rsc.len[i]); in netvsc_alloc_recv_skb()
897 struct netvsc_channel *nvchan) in netvsc_recv_callback() argument
900 struct vmbus_channel *channel = nvchan->channel; in netvsc_recv_callback()
903 struct netvsc_stats *rx_stats = &nvchan->rx_stats; in netvsc_recv_callback()
910 act = netvsc_run_xdp(net, nvchan, &xdp); in netvsc_recv_callback()
921 skb = netvsc_alloc_recv_skb(net, nvchan, &xdp); in netvsc_recv_callback()
937 rx_stats->bytes += nvchan->rsc.pktlen; in netvsc_recv_callback()
950 napi_gro_receive(&nvchan->napi, skb); in netvsc_recv_callback()
1330 const struct netvsc_channel *nvchan = &nvdev->chan_table[i]; in netvsc_get_pcpu_stats() local
1333 &pcpu_tot[nvchan->channel->target_cpu]; in netvsc_get_pcpu_stats()
1337 stats = &nvchan->tx_stats; in netvsc_get_pcpu_stats()
1347 stats = &nvchan->rx_stats; in netvsc_get_pcpu_stats()
1383 const struct netvsc_channel *nvchan = &nvdev->chan_table[i]; in netvsc_get_stats64() local
1388 stats = &nvchan->tx_stats; in netvsc_get_stats64()
1398 stats = &nvchan->rx_stats; in netvsc_get_stats64()