Searched refs:num_chn (Results 1 – 5 of 5) sorted by relevance
1153 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 …]
153 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()
155 for (i = 0; i < nvdev->num_chn; i++) { in netvsc_wait_until_empty()950 channel->combined_count = nvdev->num_chn; in netvsc_get_channels()971 dev_info->num_chn = nvdev->num_chn; in netvsc_devinfo_get()986 dev_info->num_chn = VRSS_CHANNEL_DEFAULT; in netvsc_devinfo_get()1016 nvdev->num_chn = 1; in netvsc_detach()1060 if (nvdev->num_chn > 1) { in netvsc_attach()1066 nvdev->num_chn = 1; in netvsc_attach()1131 orig = nvdev->num_chn; in netvsc_set_channels()1138 device_info->num_chn = count; in netvsc_set_channels()1146 device_info->num_chn = orig; in netvsc_set_channels()[all …]
117 for (i = 1; i < nvdev->num_chn; i++) in netvsc_subchan_work()121 nvdev->num_chn = 1; in netvsc_subchan_work()741 for (i = 0; i < net_device->num_chn; i++) { in netvsc_device_remove()
175 u32 num_chn; member1165 u32 num_chn; member