mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	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: 8b5327975a ("netvsc: allow controlling send/recv buffer size")
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
			
			
This commit is contained in:
		
							parent
							
								
									8c72c65b42
								
							
						
					
					
						commit
						5023a6db73
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -49,7 +49,7 @@
 | 
			
		|||
#define NETVSC_MIN_TX_SECTIONS	10
 | 
			
		||||
#define NETVSC_DEFAULT_TX	192	/* ~1M */
 | 
			
		||||
#define NETVSC_MIN_RX_SECTIONS	10	/* ~64K */
 | 
			
		||||
#define NETVSC_DEFAULT_RX	2048	/* ~4M */
 | 
			
		||||
#define NETVSC_DEFAULT_RX	10485   /* Max ~16M */
 | 
			
		||||
 | 
			
		||||
#define LINKCHANGE_INT (2 * HZ)
 | 
			
		||||
#define VF_TAKEOVER_INT (HZ / 10)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue