tap: Refactoring macvtap.c
authorSainath Grandhi <sainath.grandhi@intel.com>
Sat, 11 Feb 2017 00:03:46 +0000 (16:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Feb 2017 01:59:41 +0000 (20:59 -0500)
commita8e04698732736f59fefe72c675791a006b76e1d
tree828d4bc1b1fcb2d443ee344ba77071c54e7c72a1
parent35eeacf1820a08305c2b0960febfa190f5a6dd63
tap: Refactoring macvtap.c

macvtap module has code for tap/queue management and link management. This patch splits
the code into macvtap_main.c for link management and tap.c for tap/queue management.
Functionality in tap.c can be re-used for implementing tap on other virtual interfaces.

Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Makefile
drivers/net/macvtap_main.c [new file with mode: 0644]
drivers/net/tap.c [moved from drivers/net/macvtap.c with 84% similarity]
include/linux/if_macvtap.h [new file with mode: 0644]