Page MenuHomeFreeBSD

D27927.diff
No OneTemporary

D27927.diff

Index: sys/dev/virtio/network/if_vtnet.c
===================================================================
--- sys/dev/virtio/network/if_vtnet.c
+++ sys/dev/virtio/network/if_vtnet.c
@@ -291,7 +291,7 @@
SYSCTL_INT(_hw_vtnet, OID_AUTO, tso_maxlen, CTLFLAG_RDTUN,
&vtnet_tso_maxlen, 0, "TSO burst limit");
-static int vtnet_rx_process_limit = 512;
+static int vtnet_rx_process_limit = 1024;
SYSCTL_INT(_hw_vtnet, OID_AUTO, rx_process_limit, CTLFLAG_RDTUN,
&vtnet_rx_process_limit, 0,
"Number of RX segments processed in one pass");
Index: sys/dev/virtio/network/if_vtnetvar.h
===================================================================
--- sys/dev/virtio/network/if_vtnetvar.h
+++ sys/dev/virtio/network/if_vtnetvar.h
@@ -206,7 +206,7 @@
/*
* Maximum number of queue pairs we will autoconfigure to.
*/
-#define VTNET_MAX_QUEUE_PAIRS 8
+#define VTNET_MAX_QUEUE_PAIRS 32
/*
* Additional completed entries can appear in a virtqueue before we can

File Metadata

Mime Type
text/plain
Expires
Mon, Jul 13, 12:22 AM (2 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35017385
Default Alt Text
D27927.diff (980 B)

Event Timeline