Re: [RFC PATCH] virtio_net: Extend virtio to use VF datapath when available

From
Michael S. Tsirkin <mst@redhat.com>
Date
2017-12-19 15:47:08
Reply to
Sridhar Samudrala, 2017-12-19
I'll need to look at this more, in particular the feature
bit is missing here. For now one question:

On Mon, Dec 18, 2017 at 04:40:36PM -0800, Sridhar Samudrala wrote:
quoted hunk ↗ jump to hunk
@@ -56,6 +58,8 @@ module_param(napi_tx, bool, 0644);
  */
 DECLARE_EWMA(pkt_len, 0, 64)
 
+#define VF_TAKEOVER_INT	(HZ / 10)
+
 #define VIRTNET_DRIVER_VERSION "1.0.0"
 
 static const unsigned long guest_offloads[] = {
Why is this delay necessary? And why by 100ms?
Thread (23 messages) 23 messages, 8 authors, last reply 2017-12-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help