* [PATCH] openvswitch: use alias for genetlink family names
@ 2016-09-09 20:42 Thadeu Lima de Souza Cascardo
[not found] ` <1473453750-18854-1-git-send-email-cascardo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Thadeu Lima de Souza Cascardo @ 2016-09-09 20:42 UTC (permalink / raw)
To: dev; +Cc: netdev
When userspace tries to create datapaths and the module is not loaded,
it will simply fail. With this patch, the module will be automatically
loaded.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
---
net/openvswitch/datapath.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c
index 524c0fd..0536ab3 100644
--- a/net/openvswitch/datapath.c
+++ b/net/openvswitch/datapath.c
@@ -2437,3 +2437,7 @@ module_exit(dp_cleanup);
MODULE_DESCRIPTION("Open vSwitch switching datapath");
MODULE_LICENSE("GPL");
+MODULE_ALIAS_GENL_FAMILY(OVS_DATAPATH_FAMILY);
+MODULE_ALIAS_GENL_FAMILY(OVS_VPORT_FAMILY);
+MODULE_ALIAS_GENL_FAMILY(OVS_FLOW_FAMILY);
+MODULE_ALIAS_GENL_FAMILY(OVS_PACKET_FAMILY);
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] openvswitch: use alias for genetlink family names
[not found] ` <1473453750-18854-1-git-send-email-cascardo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2016-09-10 19:04 ` pravin shelar
2016-09-11 4:43 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: pravin shelar @ 2016-09-10 19:04 UTC (permalink / raw)
To: Thadeu Lima de Souza Cascardo; +Cc: ovs dev, Linux Kernel Network Developers
On Fri, Sep 9, 2016 at 1:42 PM, Thadeu Lima de Souza Cascardo
<cascardo@redhat.com> wrote:
> When userspace tries to create datapaths and the module is not loaded,
> it will simply fail. With this patch, the module will be automatically
> loaded.
>
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] openvswitch: use alias for genetlink family names
[not found] ` <1473453750-18854-1-git-send-email-cascardo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-09-10 19:04 ` pravin shelar
@ 2016-09-11 4:43 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2016-09-11 4:43 UTC (permalink / raw)
To: cascardo-H+wXaHxf7aLQT0dZR+AlfA
Cc: dev-yBygre7rU0TnMu66kgdUjQ, netdev-u79uwXL29TY76Z2rM5mHXA
From: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
Date: Fri, 9 Sep 2016 17:42:30 -0300
> When userspace tries to create datapaths and the module is not loaded,
> it will simply fail. With this patch, the module will be automatically
> loaded.
>
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@redhat.com>
Applied to net-next, thanks.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-09-11 4:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-09 20:42 [PATCH] openvswitch: use alias for genetlink family names Thadeu Lima de Souza Cascardo
[not found] ` <1473453750-18854-1-git-send-email-cascardo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-09-10 19:04 ` pravin shelar
2016-09-11 4:43 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).