Skip to content

Commit 5023a6d

Browse files
shemmingerdavem330
authored andcommitted
netvsc: increase default receive buffer size
The default receive buffer size was reduced by recent change to a value which was appropriate for 10G and Windows Server 2016. But the value is too small for full performance with 40G on Azure. Increase the default back to maximum supported by host. Fixes: 8b53279 ("netvsc: allow controlling send/recv buffer size") Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 8c72c65 commit 5023a6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/hyperv/netvsc_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
#define NETVSC_MIN_TX_SECTIONS 10
5050
#define NETVSC_DEFAULT_TX 192 /* ~1M */
5151
#define NETVSC_MIN_RX_SECTIONS 10 /* ~64K */
52-
#define NETVSC_DEFAULT_RX 2048 /* ~4M */
52+
#define NETVSC_DEFAULT_RX 10485 /* Max ~16M */
5353

5454
#define LINKCHANGE_INT (2 * HZ)
5555
#define VF_TAKEOVER_INT (HZ / 10)

0 commit comments

Comments
 (0)