Searched refs:nvchan (Results 1 - 5 of 5) sorted by relevance
/linux-master/drivers/net/hyperv/ |
H A D | netvsc_bpf.c | 24 u32 netvsc_run_xdp(struct net_device *ndev, struct netvsc_channel *nvchan, argument 27 struct netvsc_stats_rx *rx_stats = &nvchan->rx_stats; 28 void *data = nvchan->rsc.data[0]; 29 u32 len = nvchan->rsc.len[0]; 38 prog = rcu_dereference(nvchan->bpf_prog); 56 xdp_init_buff(xdp, PAGE_SIZE, &nvchan->xdp_rxq); 74 nvchan->xdp_flush = true; 81 rx_stats->bytes += nvchan->rsc.pktlen;
|
H A D | netvsc.c | 323 struct netvsc_channel *nvchan = &net_device->chan_table[q_idx]; local 324 int node = cpu_to_node(nvchan->channel->target_cpu); 328 nvchan->mrc.slots = vzalloc_node(size, node); 329 if (!nvchan->mrc.slots) 330 nvchan->mrc.slots = vzalloc(size); 332 return nvchan->mrc.slots ? 0 : -ENOMEM; 438 struct netvsc_channel *nvchan = &net_device->chan_table[i]; local 440 nvchan->recv_buf = kzalloc(net_device->recv_section_size, GFP_KERNEL); 441 if (nvchan->recv_buf == NULL) { 1062 struct netvsc_channel * const nvchan local 1192 struct netvsc_channel *nvchan; local 1307 send_recv_completions(struct net_device *ndev, struct netvsc_device *nvdev, struct netvsc_channel *nvchan) argument 1366 struct netvsc_channel *nvchan = &nvdev->chan_table[q_idx]; local 1392 netvsc_receive(struct net_device *ndev, struct netvsc_device *net_device, struct netvsc_channel *nvchan, const struct vmpacket_descriptor *desc) argument 1602 netvsc_process_raw_pkt(struct hv_device *device, struct netvsc_channel *nvchan, struct netvsc_device *net_device, struct net_device *ndev, const struct vmpacket_descriptor *desc, int budget) argument 1648 struct netvsc_channel *nvchan local 1698 struct netvsc_channel *nvchan = context; local 1745 struct netvsc_channel *nvchan = &net_device->chan_table[i]; local [all...] |
H A D | rndis_filter.c | 319 /* Copy the request ID into nvchan->recv_buf */ 410 /* Copy the PPIs into nvchan->recv_buf */ 443 void rsc_add_data(struct netvsc_channel *nvchan, argument 449 u32 cnt = nvchan->rsc.cnt; 452 nvchan->rsc.pktlen += len; 459 memcpy(&nvchan->rsc.vlan, vlan, sizeof(*vlan)); 460 nvchan->rsc.ppi_flags |= NVSC_RSC_VLAN; 462 nvchan->rsc.ppi_flags &= ~NVSC_RSC_VLAN; 465 memcpy(&nvchan->rsc.csum_info, csum_info, sizeof(*csum_info)); 466 nvchan 484 rndis_filter_receive_data(struct net_device *ndev, struct netvsc_device *nvdev, struct netvsc_channel *nvchan, struct rndis_message *msg, void *data, u32 data_buflen) argument 587 rndis_filter_receive(struct net_device *ndev, struct netvsc_device *net_dev, struct netvsc_channel *nvchan, void *data, u32 buflen) argument 1154 const struct netvsc_channel *nvchan = &nvdev->chan_table[i]; local 1244 struct netvsc_channel *nvchan; local [all...] |
H A D | netvsc_drv.c | 712 /* Copy the RNDIS indicate status into nvchan->recv_buf */ 786 struct netvsc_channel *nvchan, 789 struct napi_struct *napi = &nvchan->napi; 790 const struct ndis_pkt_8021q_info *vlan = &nvchan->rsc.vlan; 792 &nvchan->rsc.csum_info; 793 const u32 *hash_info = &nvchan->rsc.hash_info; 794 u8 ppi_flags = nvchan->rsc.ppi_flags; 815 skb = napi_alloc_skb(napi, nvchan->rsc.pktlen); 823 for (i = 0; i < nvchan->rsc.cnt; i++) 824 skb_put_data(skb, nvchan 785 netvsc_alloc_recv_skb(struct net_device *net, struct netvsc_channel *nvchan, struct xdp_buff *xdp) argument 874 netvsc_recv_callback(struct net_device *net, struct netvsc_device *net_device, struct netvsc_channel *nvchan) argument 1315 const struct netvsc_channel *nvchan = &nvdev->chan_table[i]; local 1369 const struct netvsc_channel *nvchan = &nvdev->chan_table[i]; local [all...] |
H A D | hyperv_net.h | 239 struct netvsc_channel *nvchan); 244 u32 netvsc_run_xdp(struct net_device *ndev, struct netvsc_channel *nvchan, 273 struct netvsc_channel *nvchan,
|
Completed in 228 milliseconds