Displaying 19 results from an estimated 19 matches for "vsock_cor".
Did you mean:
vsock_core
2019 Feb 01
3
[PATCH v3 0/2] vsock/virtio: fix issues on device hot-unplug
These patches try to handle the hot-unplug of vsock virtio transport device in
a proper way.
Maybe move the vsock_core_init()/vsock_core_exit() functions in the module_init
and module_exit of vsock_virtio_transport module can't be the best way, but the
architecture of vsock_core forces us to this approach for now.
The vsock_core proto_ops expect a valid pointer to the transport device, so we
can't call vs...
2019 Feb 01
3
[PATCH v3 0/2] vsock/virtio: fix issues on device hot-unplug
These patches try to handle the hot-unplug of vsock virtio transport device in
a proper way.
Maybe move the vsock_core_init()/vsock_core_exit() functions in the module_init
and module_exit of vsock_virtio_transport module can't be the best way, but the
architecture of vsock_core forces us to this approach for now.
The vsock_core proto_ops expect a valid pointer to the transport device, so we
can't call vs...
2019 Feb 03
0
[PATCH v3 0/2] vsock/virtio: fix issues on device hot-unplug
From: Stefano Garzarella <sgarzare at redhat.com>
Date: Fri, 1 Feb 2019 12:42:05 +0100
> These patches try to handle the hot-unplug of vsock virtio transport device in
> a proper way.
>
> Maybe move the vsock_core_init()/vsock_core_exit() functions in the module_init
> and module_exit of vsock_virtio_transport module can't be the best way, but the
> architecture of vsock_core forces us to this approach for now.
>
> The vsock_core proto_ops expect a valid pointer to the transport device, so...
2019 Jul 16
2
[RFC] virtio-net: share receive_*() and add_recvbuf_*() with virtio-vsock
...;
> > So, I should refactor the functions that can be called also from the vsock
> > core, in order to remove "struct net_device *dev" parameter.
> > Maybe creating some wrappers for the network stack.
> >
> > Otherwise I should create a fake net_device for vsock_core.
> >
> > What do you suggest?
>
> Neither.
>
> I think what Jason was saying all along is this:
>
> virtio net doesn't actually lose packets, at least most
> of the time. And it actually most of the time
> passes all packets to host. So it's possible...
2019 Jul 16
2
[RFC] virtio-net: share receive_*() and add_recvbuf_*() with virtio-vsock
...;
> > So, I should refactor the functions that can be called also from the vsock
> > core, in order to remove "struct net_device *dev" parameter.
> > Maybe creating some wrappers for the network stack.
> >
> > Otherwise I should create a fake net_device for vsock_core.
> >
> > What do you suggest?
>
> Neither.
>
> I think what Jason was saying all along is this:
>
> virtio net doesn't actually lose packets, at least most
> of the time. And it actually most of the time
> passes all packets to host. So it's possible...
2019 Jul 15
4
[RFC] virtio-net: share receive_*() and add_recvbuf_*() with virtio-vsock
...t; go for vsock core?
>
Yes, that should work.
So, I should refactor the functions that can be called also from the vsock
core, in order to remove "struct net_device *dev" parameter.
Maybe creating some wrappers for the network stack.
Otherwise I should create a fake net_device for vsock_core.
What do you suggest?
>
> > > >
> > > > We can use the virtio-net as transport, but we should add a lot of
> > > > code to skip "net device" stuff when it is used by the virtio-vsock.
>
>
> This could be another choice, but consider i...
2019 Jul 15
4
[RFC] virtio-net: share receive_*() and add_recvbuf_*() with virtio-vsock
...t; go for vsock core?
>
Yes, that should work.
So, I should refactor the functions that can be called also from the vsock
core, in order to remove "struct net_device *dev" parameter.
Maybe creating some wrappers for the network stack.
Otherwise I should create a fake net_device for vsock_core.
What do you suggest?
>
> > > >
> > > > We can use the virtio-net as transport, but we should add a lot of
> > > > code to skip "net device" stuff when it is used by the virtio-vsock.
>
>
> This could be another choice, but consider i...
2019 May 06
1
[PATCH] vsock/virtio: Initialize core virtio vsock before registering the driver
...io_transport.c
> > > @@ -702,28 +702,27 @@ static int __init virtio_vsock_init(void)
> > > if (!virtio_vsock_workqueue)
> > > return -ENOMEM;
> > >
> > > - ret = register_virtio_driver(&virtio_vsock_driver);
> > > + ret = vsock_core_init(&virtio_transport.transport);
> >
> > Have you checked that all transport callbacks are safe even if another
> > CPU calls them while virtio_vsock_probe() is executing on another CPU?
> >
>
> I have the same doubt.
>
> What do you think to take the '...
2019 May 15
2
[PATCH] vsock/virtio: Initialize core virtio vsock before registering the driver
...@ static int __init virtio_vsock_init(void)
> > > > > if (!virtio_vsock_workqueue)
> > > > > return -ENOMEM;
> > > > >
> > > > > - ret = register_virtio_driver(&virtio_vsock_driver);
> > > > > + ret = vsock_core_init(&virtio_transport.transport);
> > > >
> > > > Have you checked that all transport callbacks are safe even if another
> > > > CPU calls them while virtio_vsock_probe() is executing on another CPU?
> > > >
> > >
> > > I have...
2019 May 15
2
[PATCH] vsock/virtio: Initialize core virtio vsock before registering the driver
...@ static int __init virtio_vsock_init(void)
> > > > > if (!virtio_vsock_workqueue)
> > > > > return -ENOMEM;
> > > > >
> > > > > - ret = register_virtio_driver(&virtio_vsock_driver);
> > > > > + ret = vsock_core_init(&virtio_transport.transport);
> > > >
> > > > Have you checked that all transport callbacks are safe even if another
> > > > CPU calls them while virtio_vsock_probe() is executing on another CPU?
> > > >
> > >
> > > I have...
2019 Jul 15
0
[RFC] virtio-net: share receive_*() and add_recvbuf_*() with virtio-vsock
...Yes, that should work.
>
> So, I should refactor the functions that can be called also from the vsock
> core, in order to remove "struct net_device *dev" parameter.
> Maybe creating some wrappers for the network stack.
>
> Otherwise I should create a fake net_device for vsock_core.
>
> What do you suggest?
I'm not quite sure I get the question. Can you just use the one that
created by virtio_net?
Thanks
2019 May 02
2
[PATCH] vsock/virtio: Initialize core virtio vsock before registering the driver
...nsport.c
> > +++ b/net/vmw_vsock/virtio_transport.c
> > @@ -702,28 +702,27 @@ static int __init virtio_vsock_init(void)
> > if (!virtio_vsock_workqueue)
> > return -ENOMEM;
> >
> > - ret = register_virtio_driver(&virtio_vsock_driver);
> > + ret = vsock_core_init(&virtio_transport.transport);
>
> Have you checked that all transport callbacks are safe even if another
> CPU calls them while virtio_vsock_probe() is executing on another CPU?
>
I have the same doubt.
What do you think to take the 'the_virtio_vsock_mutex' in the...
2019 May 02
2
[PATCH] vsock/virtio: Initialize core virtio vsock before registering the driver
...nsport.c
> > +++ b/net/vmw_vsock/virtio_transport.c
> > @@ -702,28 +702,27 @@ static int __init virtio_vsock_init(void)
> > if (!virtio_vsock_workqueue)
> > return -ENOMEM;
> >
> > - ret = register_virtio_driver(&virtio_vsock_driver);
> > + ret = vsock_core_init(&virtio_transport.transport);
>
> Have you checked that all transport callbacks are safe even if another
> CPU calls them while virtio_vsock_probe() is executing on another CPU?
>
I have the same doubt.
What do you think to take the 'the_virtio_vsock_mutex' in the...
2019 Jul 16
0
[RFC] virtio-net: share receive_*() and add_recvbuf_*() with virtio-vsock
...hould refactor the functions that can be called also from the vsock
> > > core, in order to remove "struct net_device *dev" parameter.
> > > Maybe creating some wrappers for the network stack.
> > >
> > > Otherwise I should create a fake net_device for vsock_core.
> > >
> > > What do you suggest?
> >
> > Neither.
> >
> > I think what Jason was saying all along is this:
> >
> > virtio net doesn't actually lose packets, at least most
> > of the time. And it actually most of the time
> >...
2019 May 07
0
[PATCH] vsock/virtio: Initialize core virtio vsock before registering the driver
...> @@ -702,28 +702,27 @@ static int __init virtio_vsock_init(void)
> > > > if (!virtio_vsock_workqueue)
> > > > return -ENOMEM;
> > > >
> > > > - ret = register_virtio_driver(&virtio_vsock_driver);
> > > > + ret = vsock_core_init(&virtio_transport.transport);
> > >
> > > Have you checked that all transport callbacks are safe even if another
> > > CPU calls them while virtio_vsock_probe() is executing on another CPU?
> > >
> >
> > I have the same doubt.
> >
>...
2019 May 16
0
[PATCH] vsock/virtio: Initialize core virtio vsock before registering the driver
...o_vsock_init(void)
> > > > > > if (!virtio_vsock_workqueue)
> > > > > > return -ENOMEM;
> > > > > >
> > > > > > - ret = register_virtio_driver(&virtio_vsock_driver);
> > > > > > + ret = vsock_core_init(&virtio_transport.transport);
> > > > >
> > > > > Have you checked that all transport callbacks are safe even if another
> > > > > CPU calls them while virtio_vsock_probe() is executing on another CPU?
> > > > >
> > > &g...
2019 Jul 15
0
[RFC] virtio-net: share receive_*() and add_recvbuf_*() with virtio-vsock
...es, that should work.
>
> So, I should refactor the functions that can be called also from the vsock
> core, in order to remove "struct net_device *dev" parameter.
> Maybe creating some wrappers for the network stack.
>
> Otherwise I should create a fake net_device for vsock_core.
>
> What do you suggest?
Neither.
I think what Jason was saying all along is this:
virtio net doesn't actually lose packets, at least most
of the time. And it actually most of the time
passes all packets to host. So it's possible to use a virtio net
device (possibly with a featu...
2019 Jul 12
2
[RFC] virtio-net: share receive_*() and add_recvbuf_*() with virtio-vsock
On Thu, Jul 11, 2019 at 03:52:21PM -0400, Michael S. Tsirkin wrote:
> On Thu, Jul 11, 2019 at 01:41:34PM +0200, Stefano Garzarella wrote:
> > On Thu, Jul 11, 2019 at 03:37:00PM +0800, Jason Wang wrote:
> > >
> > > On 2019/7/10 ??11:37, Stefano Garzarella wrote:
> > > > Hi,
> > > > as Jason suggested some months ago, I looked better at the
2019 Jul 12
2
[RFC] virtio-net: share receive_*() and add_recvbuf_*() with virtio-vsock
On Thu, Jul 11, 2019 at 03:52:21PM -0400, Michael S. Tsirkin wrote:
> On Thu, Jul 11, 2019 at 01:41:34PM +0200, Stefano Garzarella wrote:
> > On Thu, Jul 11, 2019 at 03:37:00PM +0800, Jason Wang wrote:
> > >
> > > On 2019/7/10 ??11:37, Stefano Garzarella wrote:
> > > > Hi,
> > > > as Jason suggested some months ago, I looked better at the