]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: add extack support for create and changelink
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 26 Feb 2019 06:03:01 +0000 (22:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Feb 2019 16:54:37 +0000 (08:54 -0800)
commit391d8b04dc55a020f1f1b5484ce432c0ce112142
treeeeba764c823eaa5f8cff558c46aea276e191fcc3
parent21cadb9ffd525d603f94ecafee79cbf3bce56913
vxlan: add extack support for create and changelink

This patch adds extack coverage in vxlan link
create and changelink paths. Introduces a new helper
vxlan_nl2flags to consolidate flag attribute validation.

thanks to Johannes Berg for some tips to construct the
generic vxlan flag extack strings.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/net/vxlan.h