Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/hyperv/
Drndis_filter.c1153 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_device_idle()
1251 if (!nvscdev || chn_index >= nvscdev->num_chn) in netvsc_sc_open()
1277 if (atomic_inc_return(&nvscdev->open_chn) == nvscdev->num_chn) in netvsc_sc_open()
1301 nvdev->num_chn - 1; in rndis_set_subchannel()
1321 if (init_packet->msg.v5_msg.subchn_comp.num_subchannels > nvdev->num_chn - 1) { in rndis_set_subchannel()
1325 nvdev->num_chn = 1 + in rndis_set_subchannel()
1330 atomic_read(&nvdev->open_chn) == nvdev->num_chn); in rndis_set_subchannel()
1333 ndev_ctx->tx_table[i] = i % nvdev->num_chn; in rndis_set_subchannel()
1341 netif_set_real_num_tx_queues(ndev, nvdev->num_chn); in rndis_set_subchannel()
1342 netif_set_real_num_rx_queues(ndev, nvdev->num_chn); in rndis_set_subchannel()
[all …]
Dnetvsc_bpf.c153 bpf_prog_add(prog, nvdev->num_chn - 1); in netvsc_xdp_set()
155 for (i = 0; i < nvdev->num_chn; i++) in netvsc_xdp_set()
159 for (i = 0; i < nvdev->num_chn; i++) in netvsc_xdp_set()
Dnetvsc_drv.c159 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_wait_until_empty()
954 channel->combined_count = nvdev->num_chn; in netvsc_get_channels()
975 dev_info->num_chn = nvdev->num_chn; in netvsc_devinfo_get()
990 dev_info->num_chn = max(VRSS_CHANNEL_DEFAULT, in netvsc_devinfo_get()
1021 nvdev->num_chn = 1; in netvsc_detach()
1065 if (nvdev->num_chn > 1) { in netvsc_attach()
1071 nvdev->num_chn = 1; in netvsc_attach()
1136 orig = nvdev->num_chn; in netvsc_set_channels()
1143 device_info->num_chn = count; in netvsc_set_channels()
1151 device_info->num_chn = orig; in netvsc_set_channels()
[all …]
Dnetvsc.c117 for (i = 1; i < nvdev->num_chn; i++) in netvsc_subchan_work()
121 nvdev->num_chn = 1; in netvsc_subchan_work()
712 for (i = 0; i < net_device->num_chn; i++) { in netvsc_device_remove()
Dhyperv_net.h177 u32 num_chn; member
1167 u32 num_chn; member