Searched refs:vtnet_max_vq_pairs (Results 1 – 3 of 3) sorted by relevance
786 sc->vtnet_max_vq_pairs = 1; in vtnet_setup_features()799 sc->vtnet_max_vq_pairs = virtio_read_dev_config_2(dev, in vtnet_setup_features()805 if (sc->vtnet_max_vq_pairs > 1) { in vtnet_setup_features()817 if (req > sc->vtnet_max_vq_pairs) in vtnet_setup_features()818 req = sc->vtnet_max_vq_pairs; in vtnet_setup_features()903 npairs = sc->vtnet_max_vq_pairs; in vtnet_alloc_rxtx_queues()976 for (i = 0; i < sc->vtnet_max_vq_pairs; i++) in vtnet_free_rxtx_queues()983 for (i = 0; i < sc->vtnet_max_vq_pairs; i++) in vtnet_free_rxtx_queues()1037 nvqs = sc->vtnet_max_vq_pairs * 2; in vtnet_alloc_virtqueues()1058 for (; i < sc->vtnet_max_vq_pairs; i++, idx += 2) { in vtnet_alloc_virtqueues()[all …]
172 int vtnet_max_vq_pairs; member
354 for (i = 0; i < sc->vtnet_max_vq_pairs; i++) { in vtnet_netmap_intr()440 na.num_tx_rings = na.num_rx_rings = sc->vtnet_max_vq_pairs; in vtnet_netmap_attach()