diff --git a/src/rust/catpowder/win/runtime.rs b/src/rust/catpowder/win/runtime.rs index fe737a164..604d32e56 100644 --- a/src/rust/catpowder/win/runtime.rs +++ b/src/rust/catpowder/win/runtime.rs @@ -71,17 +71,21 @@ impl SharedCatpowderRuntime { let queue_count: u32 = deduce_rss_settings(&mut api, ifindex)?; let mut rx_rings: Vec = Vec::with_capacity(queue_count as usize); + for queueid in 0..queue_count { rx_rings.push(RxRing::new(&mut api, Self::RING_LENGTH, ifindex, queueid as u32)?); } - trace!("Created {} RX rings on interface {}", rx_rings.len(), ifindex); + + trace!("Created {} RX rings on interface {}.", rx_rings.len(), ifindex); if let Ok(vf_if_index) = vf_if_index { // Optionally create VF RX rings let vf_queue_count = deduce_rss_settings(&mut api, vf_if_index)?; let mut vf_rx_rings = Vec::with_capacity(vf_queue_count as usize); + for queueid in 0..vf_queue_count { vf_rx_rings.push(RxRing::new(&mut api, Self::RING_LENGTH, vf_if_index, queueid as u32)?); } + trace!("Created {} RX rings on VF interface {}.", vf_rx_rings.len(), vf_if_index); Ok(Self(SharedObject::new(CatpowderRuntimeInner {