 501c774cb1
			
		
	
	
	501c774cb1
	
	
	
		
			
			This adds support for passing a macvtap file descriptor into vhost-net, much like we already do for tun/tap. Most of the new code is taken from the respective patch in the tun driver and may get consolidated in the future. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Sridhar Samudrala <sri@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			472 B
			
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			472 B
			
		
	
	
	
		
			Text
		
	
	
	
	
	
| config VHOST_NET
 | |
| 	tristate "Host kernel accelerator for virtio net (EXPERIMENTAL)"
 | |
| 	depends on NET && EVENTFD && (TUN || !TUN) && (MACVTAP || !MACVTAP) && EXPERIMENTAL
 | |
| 	---help---
 | |
| 	  This kernel module can be loaded in host kernel to accelerate
 | |
| 	  guest networking with virtio_net. Not to be confused with virtio_net
 | |
| 	  module itself which needs to be loaded in guest kernel.
 | |
| 
 | |
| 	  To compile this driver as a module, choose M here: the module will
 | |
| 	  be called vhost_net.
 | |
| 
 |