Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/hyperv/
Drndis_filter.c1064 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_device_idle()
1162 if (!nvscdev || chn_index >= nvscdev->num_chn) in netvsc_sc_open()
1183 if (atomic_inc_return(&nvscdev->open_chn) == nvscdev->num_chn) in netvsc_sc_open()
1207 nvdev->num_chn - 1; in rndis_set_subchannel()
1226 nvdev->num_chn = 1 + in rndis_set_subchannel()
1231 atomic_read(&nvdev->open_chn) == nvdev->num_chn); in rndis_set_subchannel()
1234 ndev_ctx->tx_table[i] = i % nvdev->num_chn; in rndis_set_subchannel()
1242 netif_set_real_num_tx_queues(ndev, nvdev->num_chn); in rndis_set_subchannel()
1243 netif_set_real_num_rx_queues(ndev, nvdev->num_chn); in rndis_set_subchannel()
1399 net_device->num_chn = 1; in rndis_filter_device_add()
[all …]
Dnetvsc_bpf.c123 bpf_prog_add(prog, nvdev->num_chn - 1); in netvsc_xdp_set()
125 for (i = 0; i < nvdev->num_chn; i++) in netvsc_xdp_set()
129 for (i = 0; i < nvdev->num_chn; i++) in netvsc_xdp_set()
Dnetvsc_drv.c157 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_wait_until_empty()
969 channel->combined_count = nvdev->num_chn; in netvsc_get_channels()
990 dev_info->num_chn = nvdev->num_chn; in netvsc_devinfo_get()
1005 dev_info->num_chn = VRSS_CHANNEL_DEFAULT; in netvsc_devinfo_get()
1035 nvdev->num_chn = 1; in netvsc_detach()
1079 if (nvdev->num_chn > 1) { in netvsc_attach()
1085 nvdev->num_chn = 1; in netvsc_attach()
1150 orig = nvdev->num_chn; in netvsc_set_channels()
1157 device_info->num_chn = count; in netvsc_set_channels()
1165 device_info->num_chn = orig; in netvsc_set_channels()
[all …]
Dnetvsc.c81 for (i = 1; i < nvdev->num_chn; i++) in netvsc_subchan_work()
85 nvdev->num_chn = 1; in netvsc_subchan_work()
655 for (i = 0; i < net_device->num_chn; i++) { in netvsc_device_remove()
Dhyperv_net.h139 u32 num_chn; member
1036 u32 num_chn; member