Searched refs:vtnet_max_vq_pairs (Results 1 – 3 of 3) sorted by relevance
774 sc->vtnet_max_vq_pairs = 1; in vtnet_setup_features()787 sc->vtnet_max_vq_pairs = virtio_read_dev_config_2(dev, in vtnet_setup_features()793 if (sc->vtnet_max_vq_pairs > 1) { in vtnet_setup_features()805 if (req > sc->vtnet_max_vq_pairs) in vtnet_setup_features()806 req = sc->vtnet_max_vq_pairs; in vtnet_setup_features()891 npairs = sc->vtnet_max_vq_pairs; in vtnet_alloc_rxtx_queues()964 for (i = 0; i < sc->vtnet_max_vq_pairs; i++) in vtnet_free_rxtx_queues()971 for (i = 0; i < sc->vtnet_max_vq_pairs; i++) in vtnet_free_rxtx_queues()1025 nvqs = sc->vtnet_max_vq_pairs * 2; in vtnet_alloc_virtqueues()1046 for (/**/; i < sc->vtnet_max_vq_pairs; i++, idx += 2) { in vtnet_alloc_virtqueues()[all …]
174 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()