search for: pbypass_master

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

Did you mean: bypass_master
2018 Apr 11
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
.../* aggregated stats */ >+ struct rtnl_link_stats64 bypass_stats; >+ >+ /* spinlock while updating stats */ >+ spinlock_t stats_lock; >+}; >+ >+#if IS_ENABLED(CONFIG_NET_BYPASS) >+ >+int bypass_master_create(struct net_device *backup_netdev, >+ struct bypass_master **pbypass_master); >+void bypass_master_destroy(struct bypass_master *bypass_master); >+ >+int bypass_master_register(struct net_device *dev, struct bypass_ops *ops, >+ struct bypass_master **pbypass_master); >+void bypass_master_unregister(struct bypass_master *bypass_master); >+ >+int by...
2018 Apr 11
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
.../* aggregated stats */ >+ struct rtnl_link_stats64 bypass_stats; >+ >+ /* spinlock while updating stats */ >+ spinlock_t stats_lock; >+}; >+ >+#if IS_ENABLED(CONFIG_NET_BYPASS) >+ >+int bypass_master_create(struct net_device *backup_netdev, >+ struct bypass_master **pbypass_master); >+void bypass_master_destroy(struct bypass_master *bypass_master); >+ >+int bypass_master_register(struct net_device *dev, struct bypass_ops *ops, >+ struct bypass_master **pbypass_master); >+void bypass_master_unregister(struct bypass_master *bypass_master); >+ >+int by...
2018 Apr 10
0
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...uct rtnl_link_stats64 backup_stats; + + /* aggregated stats */ + struct rtnl_link_stats64 bypass_stats; + + /* spinlock while updating stats */ + spinlock_t stats_lock; +}; + +#if IS_ENABLED(CONFIG_NET_BYPASS) + +int bypass_master_create(struct net_device *backup_netdev, + struct bypass_master **pbypass_master); +void bypass_master_destroy(struct bypass_master *bypass_master); + +int bypass_master_register(struct net_device *dev, struct bypass_ops *ops, + struct bypass_master **pbypass_master); +void bypass_master_unregister(struct bypass_master *bypass_master); + +int bypass_slave_unregister(struct...
2018 Apr 11
0
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
..._stats64 bypass_stats; >> + >> + /* spinlock while updating stats */ >> + spinlock_t stats_lock; >> +}; >> + >> +#if IS_ENABLED(CONFIG_NET_BYPASS) >> + >> +int bypass_master_create(struct net_device *backup_netdev, >> + struct bypass_master **pbypass_master); >> +void bypass_master_destroy(struct bypass_master *bypass_master); >> + >> +int bypass_master_register(struct net_device *dev, struct bypass_ops *ops, >> + struct bypass_master **pbypass_master); >> +void bypass_master_unregister(struct bypass_master *bypass_m...
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 09
0
[RFC PATCH net-next v5 3/4] virtio_net: Extend virtio to use VF datapath when available
...ev also to bypass.c. That way the changes to virtio_net become very minimal. With these updates, bypass module now supports both the models by exporting 2 sets of functions. 3 netdev: int bypass_master_create(struct net_device *backup_netdev, struct bypass_master **pbypass_master); void bypass_master_destroy(struct bypass_master *bypass_master); 2 netdev: int bypass_master_register(struct net_device *backup_netdev, struct bypass_ops *ops, struct bypass_master **pbypass_master); void bypass_master_unregister(struct bypass_master *...
2018 Apr 09
2
[RFC PATCH net-next v5 3/4] virtio_net: Extend virtio to use VF datapath when available
Sat, Apr 07, 2018 at 12:59:14AM CEST, sridhar.samudrala at intel.com wrote: >On 4/6/2018 5:48 AM, Jiri Pirko wrote: >> Thu, Apr 05, 2018 at 11:08:22PM CEST, sridhar.samudrala at intel.com wrote: [...] >> > +static int virtnet_bypass_join_child(struct net_device *bypass_netdev, >> > + struct net_device *child_netdev) >> > +{ >> > + struct
2018 Apr 09
2
[RFC PATCH net-next v5 3/4] virtio_net: Extend virtio to use VF datapath when available
Sat, Apr 07, 2018 at 12:59:14AM CEST, sridhar.samudrala at intel.com wrote: >On 4/6/2018 5:48 AM, Jiri Pirko wrote: >> Thu, Apr 05, 2018 at 11:08:22PM CEST, sridhar.samudrala at intel.com wrote: [...] >> > +static int virtnet_bypass_join_child(struct net_device *bypass_netdev, >> > + struct net_device *child_netdev) >> > +{ >> > + struct
2018 Apr 18
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...t; > + /* spinlock while updating stats */ >> > + spinlock_t stats_lock; >> > +}; >> > + >> > +#if IS_ENABLED(CONFIG_NET_BYPASS) >> > + >> > +int bypass_master_create(struct net_device *backup_netdev, >> > + struct bypass_master **pbypass_master); >> > +void bypass_master_destroy(struct bypass_master *bypass_master); >> > + >> > +int bypass_master_register(struct net_device *dev, struct bypass_ops *ops, >> > + struct bypass_master **pbypass_master); >> > +void bypass_master_unregister(struc...
2018 Apr 18
2
[RFC PATCH net-next v6 2/4] net: Introduce generic bypass module
...t; > + /* spinlock while updating stats */ >> > + spinlock_t stats_lock; >> > +}; >> > + >> > +#if IS_ENABLED(CONFIG_NET_BYPASS) >> > + >> > +int bypass_master_create(struct net_device *backup_netdev, >> > + struct bypass_master **pbypass_master); >> > +void bypass_master_destroy(struct bypass_master *bypass_master); >> > + >> > +int bypass_master_register(struct net_device *dev, struct bypass_ops *ops, >> > + struct bypass_master **pbypass_master); >> > +void bypass_master_unregister(struc...