diff mbox

[iproute2] ipvtap: Adding support for ipvtap device management

Message ID 1495581725-10829-1-git-send-email-sainath.grandhi@intel.com
State Changes Requested, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Grandhi, Sainath May 23, 2017, 11:22 p.m. UTC
This patch adds support for managing ipvtap devices using ip link. ipvtap support
is added to linux with commit 235a9d89da976e2975b3de9afc0bed7b72557983
---
 ip/iplink_ipvlan.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Comments

Stephen Hemminger May 31, 2017, 12:47 a.m. UTC | #1
On Tue, 23 May 2017 16:22:05 -0700
Sainath Grandhi <sainath.grandhi@intel.com> wrote:

> This patch adds support for managing ipvtap devices using ip link. ipvtap support
> is added to linux with commit 235a9d89da976e2975b3de9afc0bed7b72557983

Please resend with a Signed-off-by line.

Also, you need to update the Usage message and the man page.
diff mbox

Patch

diff --git a/ip/iplink_ipvlan.c b/ip/iplink_ipvlan.c
index f7735f3..153aa2f 100644
--- a/ip/iplink_ipvlan.c
+++ b/ip/iplink_ipvlan.c
@@ -1,4 +1,4 @@ 
-/* iplink_ipvlan.c	IPVLAN device support
+/* iplink_ipvlan.c	IPVLAN/IPVTAP device support
  *
  *              This program is free software; you can redistribute it and/or
  *              modify it under the terms of the GNU General Public License
@@ -90,3 +90,11 @@  struct link_util ipvlan_link_util = {
 	.print_opt	= ipvlan_print_opt,
 	.print_help	= ipvlan_print_help,
 };
+
+struct link_util ipvtap_link_util = {
+	.id		= "ipvtap",
+	.maxattr	= IFLA_IPVLAN_MAX,
+	.parse_opt	= ipvlan_parse_opt,
+	.print_opt	= ipvlan_print_opt,
+	.print_help	= ipvlan_print_help,
+};