[OpenWrt-Devel] [PATCH] kernel/modules: add native vxlan package

Alexandru Ardelean ardeleanalex at gmail.com
Fri Oct 31 07:06:28 EDT 2014


no worries :)

thanks a bunch
that was quick

On Fri, Oct 31, 2014 at 1:02 PM, John Crispin <blogic at openwrt.org> wrote:

> i just forgot that openvswitch is in one of the feeds
>
> thanks, applied in r43126
>
>
>
> On 31/10/2014 11:50, Alexandru Ardelean wrote:
> > Maybe I was not too clear in the commit message.
> >
> > I would like to add the kmod-vxlan package, so that I may use it in Open
> > VSwitch
> >
> > Sorry about any confusion(s)
> >
> >
> > On Fri, Oct 31, 2014 at 12:48 PM, Alexandru Ardelean
> > <ardeleanalex at gmail.com <mailto:ardeleanalex at gmail.com>> wrote:
> >
> >     yep
> >
> >     this one:
> >
> https://github.com/commodo/packages/commit/194c0f608a390be8be954890de177ebc44b987a6
> >
> >
> >
> >     On Fri, Oct 31, 2014 at 12:47 PM, John Crispin <blogic at openwrt.org
> >     <mailto:blogic at openwrt.org>> wrote:
> >
> >
> >
> >         On 31/10/2014 11:21, Alexandru Ardelean wrote:
> >         > More recent kernel versions (>= 3.12) support native VXLAN
> >         > support.
> >         >
> >         > The Open VSwitch kernel module tries to build using native
> VXLAN
> >         > support if it detects a kernel version >=3.12.
> >         >
> >         > The build works fine, but during startup the OVS kernel module
> >         > does not load.
> >         > dmesg output is something like this:
> >         >     [ 1201.262842] openvswitch: Unknown symbol
> vxlan_sock_release
> >         >     [ 1201.262949] openvswitch: Unknown symbol vxlan_xmit_skb
> >         >     [ 1201.263161] openvswitch: Unknown symbol vxlan_sock_add
> >         >
> >
> >         Hi
> >
> >         correct me if i am wrong, but it looks to me as if openvswitch
> >         needs a
> >         dependency on vxlan.
> >
> >                 John
> >
> >
> >         > Signed-off-by: Alexandru Ardelean <ardeleanalex at gmail.com
> >         <mailto:ardeleanalex at gmail.com>>
> >         > ---
> >         >  package/kernel/linux/modules/netsupport.mk
> >         <http://netsupport.mk> | 14 ++++++++++++++
> >         >  1 file changed, 14 insertions(+)
> >         >
> >         > diff --git a/package/kernel/linux/modules/netsupport.mk
> >         <http://netsupport.mk>
> >         b/package/kernel/linux/modules/netsupport.mk <
> http://netsupport.mk>
> >         > index fc85e22..376b588 100644
> >         > --- a/package/kernel/linux/modules/netsupport.mk
> >         <http://netsupport.mk>
> >         > +++ b/package/kernel/linux/modules/netsupport.mk
> >         <http://netsupport.mk>
> >         > @@ -144,6 +144,20 @@ endef
> >         >
> >         >  $(eval $(call KernelPackage,8021q))
> >         >
> >         > +define KernelPackage/vxlan
> >         > +  SUBMENU:=$(NETWORK_SUPPORT_MENU)
> >         > +  TITLE:=Native VXLAN Kernel support
> >         > +  KCONFIG:=CONFIG_VXLAN
> >         > +  FILES:=$(LINUX_DIR)/drivers/net/vxlan.ko
> >         > +  AUTOLOAD:=$(call AutoLoad,13,vxlan)
> >         > +endef
> >         > +
> >         > +define KernelPackage/vxlan/description
> >         > + Kernel module for supporting VXLAN in the Kernel.
> >         > + Requires Kernel 3.12 or newer.
> >         > +endef
> >         > +
> >         > +$(eval $(call KernelPackage,vxlan))
> >         >
> >         >  define KernelPackage/capi
> >         >    SUBMENU:=$(NETWORK_SUPPORT_MENU)
> >         >
> >         _______________________________________________
> >         openwrt-devel mailing list
> >         openwrt-devel at lists.openwrt.org
> >         <mailto:openwrt-devel at lists.openwrt.org>
> >         https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20141031/37d7e4a7/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list