search for: bypass_init

Displaying 10 results from an estimated 10 matches for "bypass_init".

Did you mean: bypass_info
2018 Apr 06
1
[RFC PATCH net-next v5 2/4] net: Introduce generic bypass module
...;+ >+void bypass_unregister_driver(struct bypass *bypass) >+{ >+ mutex_lock(&bypass_mutex); >+ list_del(&bypass->list); >+ mutex_unlock(&bypass_mutex); >+ >+ kfree(bypass); >+} >+EXPORT_SYMBOL_GPL(bypass_unregister_driver); >+ >+static __init int >+bypass_init(void) >+{ >+ register_netdevice_notifier(&bypass_notifier); >+ >+ return 0; >+} >+module_init(bypass_init); >+ >+static __exit >+void bypass_exit(void) >+{ >+ unregister_netdevice_notifier(&bypass_notifier); >+} >+module_exit(bypass_exit); >+ >+M...
2018 Apr 05
0
[RFC PATCH net-next v5 2/4] net: Introduce generic bypass module
...; +} +EXPORT_SYMBOL_GPL(bypass_register_driver); + +void bypass_unregister_driver(struct bypass *bypass) +{ + mutex_lock(&bypass_mutex); + list_del(&bypass->list); + mutex_unlock(&bypass_mutex); + + kfree(bypass); +} +EXPORT_SYMBOL_GPL(bypass_unregister_driver); + +static __init int +bypass_init(void) +{ + register_netdevice_notifier(&bypass_notifier); + + return 0; +} +module_init(bypass_init); + +static __exit +void bypass_exit(void) +{ + unregister_netdevice_notifier(&bypass_notifier); +} +module_exit(bypass_exit); + +MODULE_DESCRIPTION("Bypass infrastructure/interface for...
2018 Apr 11
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...;+ bypass_slave_unregister(slave_netdev); >+ >+ bypass_master_unregister(bypass_master); >+ >+ unregister_netdevice(bypass_netdev); >+ >+ rtnl_unlock(); >+ >+ free_netdev(bypass_netdev); >+} >+EXPORT_SYMBOL_GPL(bypass_master_destroy); >+ >+static __init int >+bypass_init(void) >+{ >+ register_netdevice_notifier(&bypass_notifier); >+ >+ return 0; >+} >+module_init(bypass_init); >+ >+static __exit >+void bypass_exit(void) >+{ >+ unregister_netdevice_notifier(&bypass_notifier); >+} >+module_exit(bypass_exit); >+ >+M...
2018 Apr 11
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...;+ bypass_slave_unregister(slave_netdev); >+ >+ bypass_master_unregister(bypass_master); >+ >+ unregister_netdevice(bypass_netdev); >+ >+ rtnl_unlock(); >+ >+ free_netdev(bypass_netdev); >+} >+EXPORT_SYMBOL_GPL(bypass_master_destroy); >+ >+static __init int >+bypass_init(void) >+{ >+ register_netdevice_notifier(&bypass_notifier); >+ >+ return 0; >+} >+module_init(bypass_init); >+ >+static __exit >+void bypass_exit(void) >+{ >+ unregister_netdevice_notifier(&bypass_notifier); >+} >+module_exit(bypass_exit); >+ >+M...
2018 Apr 10
0
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...reference(bi->backup_netdev); + if (slave_netdev) + bypass_slave_unregister(slave_netdev); + + bypass_master_unregister(bypass_master); + + unregister_netdevice(bypass_netdev); + + rtnl_unlock(); + + free_netdev(bypass_netdev); +} +EXPORT_SYMBOL_GPL(bypass_master_destroy); + +static __init int +bypass_init(void) +{ + register_netdevice_notifier(&bypass_notifier); + + return 0; +} +module_init(bypass_init); + +static __exit +void bypass_exit(void) +{ + unregister_netdevice_notifier(&bypass_notifier); +} +module_exit(bypass_exit); + +MODULE_DESCRIPTION("Bypass infrastructure/interface for...
2018 Apr 11
0
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...bypass_master_unregister(bypass_master); >> + >> + unregister_netdevice(bypass_netdev); >> + >> + rtnl_unlock(); >> + >> + free_netdev(bypass_netdev); >> +} >> +EXPORT_SYMBOL_GPL(bypass_master_destroy); >> + >> +static __init int >> +bypass_init(void) >> +{ >> + register_netdevice_notifier(&bypass_notifier); >> + >> + return 0; >> +} >> +module_init(bypass_init); >> + >> +static __exit >> +void bypass_exit(void) >> +{ >> + unregister_netdevice_notifier(&bypass_notifi...
2018 Apr 10
6
[RFC PATCH net-next v6 0/4] Enable virtio_net to act as a backup for a passthru device
The main motivation for this patch is to enable cloud service providers to provide an accelerated datapath to virtio-net enabled VMs in a transparent manner with no/minimal guest userspace changes. This also enables hypervisor controlled live migration to be supported with VMs that have direct attached SR-IOV VF devices. Patch 1 introduces a new feature bit VIRTIO_NET_F_BACKUP that can be used
2018 Apr 05
6
[RFC PATCH net-next v5 0/4] Enable virtio_net to act as a backup for a passthru device
The main motivation for this patch is to enable cloud service providers to provide an accelerated datapath to virtio-net enabled VMs in a transparent manner with no/minimal guest userspace changes. This also enables hypervisor controlled live migration to be supported with VMs that have direct attached SR-IOV VF devices. Patch 1 introduces a new feature bit VIRTIO_NET_F_BACKUP that can be used
2018 Apr 18
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...+ >> > + unregister_netdevice(bypass_netdev); >> > + >> > + rtnl_unlock(); >> > + >> > + free_netdev(bypass_netdev); >> > +} >> > +EXPORT_SYMBOL_GPL(bypass_master_destroy); >> > + >> > +static __init int >> > +bypass_init(void) >> > +{ >> > + register_netdevice_notifier(&bypass_notifier); >> > + >> > + return 0; >> > +} >> > +module_init(bypass_init); >> > + >> > +static __exit >> > +void bypass_exit(void) >> > +{ >>...
2018 Apr 18
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...+ >> > + unregister_netdevice(bypass_netdev); >> > + >> > + rtnl_unlock(); >> > + >> > + free_netdev(bypass_netdev); >> > +} >> > +EXPORT_SYMBOL_GPL(bypass_master_destroy); >> > + >> > +static __init int >> > +bypass_init(void) >> > +{ >> > + register_netdevice_notifier(&bypass_notifier); >> > + >> > + return 0; >> > +} >> > +module_init(bypass_init); >> > + >> > +static __exit >> > +void bypass_exit(void) >> > +{ >>...