mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
netdev-vport: Build on all platforms.
This patch removes the final bit of linux specific code which prevents building netdev-vport everywhere. With this, other platforms automatically get access to patch ports, and (if their datapath supports it), flow based tunneling. Signed-off-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -73,12 +73,13 @@ netdev_initialize(void)
|
||||
inited = true;
|
||||
|
||||
fatal_signal_add_hook(close_all_netdevs, NULL, NULL, true);
|
||||
netdev_vport_patch_register();
|
||||
|
||||
#ifdef LINUX_DATAPATH
|
||||
netdev_register_provider(&netdev_linux_class);
|
||||
netdev_register_provider(&netdev_internal_class);
|
||||
netdev_register_provider(&netdev_tap_class);
|
||||
netdev_vport_register();
|
||||
netdev_vport_tunnel_register();
|
||||
#endif
|
||||
#ifdef __FreeBSD__
|
||||
netdev_register_provider(&netdev_tap_class);
|
||||
|
Reference in New Issue
Block a user