search for: pf_vsock

Displaying 20 results from an estimated 32 matches for "pf_vsock".

Did you mean: af_vsock
2019 Nov 21
2
[PATCH net-next 4/6] vsock: add vsock_loopback transport
...me from virtio-vsock device that can be > hot-unplugged while sockets are still open, but that can't happen here. > > I will remove the pointers and RCU in the v2. > > Can I keep your R-b or do you prefer to watch v2 first? > > > > > > +MODULE_ALIAS_NETPROTO(PF_VSOCK); > > > > Why does this module define the alias for PF_VSOCK? Doesn't another > > module already define this alias? > > It is a way to load this module when PF_VSOCK is starting to be used. > MODULE_ALIAS_NETPROTO(PF_VSOCK) is already defined in vmci_transport >...
2019 Nov 21
2
[PATCH net-next 4/6] vsock: add vsock_loopback transport
...me from virtio-vsock device that can be > hot-unplugged while sockets are still open, but that can't happen here. > > I will remove the pointers and RCU in the v2. > > Can I keep your R-b or do you prefer to watch v2 first? > > > > > > +MODULE_ALIAS_NETPROTO(PF_VSOCK); > > > > Why does this module define the alias for PF_VSOCK? Doesn't another > > module already define this alias? > > It is a way to load this module when PF_VSOCK is starting to be used. > MODULE_ALIAS_NETPROTO(PF_VSOCK) is already defined in vmci_transport >...
2019 Nov 21
2
[PATCH net-next 4/6] vsock: add vsock_loopback transport
...ion once in af_vsock.c (or virtio_transport_common.c) instead of making each transport do it. Maybe try_module_get() and related APIs provide the necessary semantics so that core vsock code can hold the transport module while it's being used to send/cancel a packet. > +MODULE_ALIAS_NETPROTO(PF_VSOCK); Why does this module define the alias for PF_VSOCK? Doesn't another module already define this alias? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://lists.l...
2019 Nov 21
2
[PATCH net-next 4/6] vsock: add vsock_loopback transport
...ion once in af_vsock.c (or virtio_transport_common.c) instead of making each transport do it. Maybe try_module_get() and related APIs provide the necessary semantics so that core vsock code can hold the transport module while it's being used to send/cancel a packet. > +MODULE_ALIAS_NETPROTO(PF_VSOCK); Why does this module define the alias for PF_VSOCK? Doesn't another module already define this alias? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://lists.l...
2019 Nov 22
0
[PATCH net-next 4/6] vsock: add vsock_loopback transport
...t; > hot-unplugged while sockets are still open, but that can't happen here. > > > > I will remove the pointers and RCU in the v2. > > > > Can I keep your R-b or do you prefer to watch v2 first? I'd like to review v2. > > > > +MODULE_ALIAS_NETPROTO(PF_VSOCK); > > > > > > Why does this module define the alias for PF_VSOCK? Doesn't another > > > module already define this alias? > > > > It is a way to load this module when PF_VSOCK is starting to be used. > > MODULE_ALIAS_NETPROTO(PF_VSOCK) is already...
2019 Oct 09
1
[RFC PATCH 10/13] vsock: add multi-transports support
On Fri, Sep 27, 2019 at 01:27:00PM +0200, Stefano Garzarella wrote: > RFC: > - I'd like to move MODULE_ALIAS_NETPROTO(PF_VSOCK) to af_vsock.c. > @Jorgen could this break the VMware products? What will cause the vmw_vsock_vmci_transport.ko module to be loaded after you remove MODULE_ALIAS_NETPROTO(PF_VSOCK)? Perhaps drivers/misc/vmw_vmci/vmci_guest.c:vmci_guest_probe_device() could do something when the guest driver...
2019 Nov 21
0
[PATCH net-next 4/6] vsock: add vsock_loopback transport
...n is not needed. The synchronization come from virtio-vsock device that can be hot-unplugged while sockets are still open, but that can't happen here. I will remove the pointers and RCU in the v2. Can I keep your R-b or do you prefer to watch v2 first? > > > +MODULE_ALIAS_NETPROTO(PF_VSOCK); > > Why does this module define the alias for PF_VSOCK? Doesn't another > module already define this alias? It is a way to load this module when PF_VSOCK is starting to be used. MODULE_ALIAS_NETPROTO(PF_VSOCK) is already defined in vmci_transport and hyperv_transport. IIUC it is u...
2013 Feb 18
5
[PATCH 0/4] Minor vSockets fixes
Minor vSockets fixes, two of which were reported on LKML. Andy King (2): VSOCK: Remove hypervisor-only socket option VSOCK: Don't reject PF_VSOCK protocol Dmitry Torokhov (2): VSOCK: get rid of EXPORT_SYMTAB VSOCK: get rid of vsock_version.h include/uapi/linux/vm_sockets.h | 8 -------- net/vmw_vsock/af_vsock.c | 7 ++----- net/vmw_vsock/vmci_transport.c | 2 -- net/vmw_vsock/vsock_version.h | 22 -----------------...
2013 Feb 18
5
[PATCH 0/4] Minor vSockets fixes
Minor vSockets fixes, two of which were reported on LKML. Andy King (2): VSOCK: Remove hypervisor-only socket option VSOCK: Don't reject PF_VSOCK protocol Dmitry Torokhov (2): VSOCK: get rid of EXPORT_SYMTAB VSOCK: get rid of vsock_version.h include/uapi/linux/vm_sockets.h | 8 -------- net/vmw_vsock/af_vsock.c | 7 ++----- net/vmw_vsock/vmci_transport.c | 2 -- net/vmw_vsock/vsock_version.h | 22 -----------------...
2016 Apr 05
0
[PATCH] VSOCK: Detach QP check should filter out non matching QPs.
...xit); MODULE_AUTHOR("VMware, Inc."); MODULE_DESCRIPTION("VMCI transport for Virtual Sockets"); -MODULE_VERSION("1.0.2.0-k"); +MODULE_VERSION("1.0.3.0-k"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("vmware_vsock"); MODULE_ALIAS_NETPROTO(PF_VSOCK); -- 1.7.0
2016 Apr 19
1
[PATCH] VSOCK: Only check error on skb_recv_datagram when skb is NULL
...xit); MODULE_AUTHOR("VMware, Inc."); MODULE_DESCRIPTION("VMCI transport for Virtual Sockets"); -MODULE_VERSION("1.0.3.0-k"); +MODULE_VERSION("1.0.4.0-k"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("vmware_vsock"); MODULE_ALIAS_NETPROTO(PF_VSOCK); -- 1.7.0
2016 Apr 05
0
[PATCH] VSOCK: Detach QP check should filter out non matching QPs.
...xit); MODULE_AUTHOR("VMware, Inc."); MODULE_DESCRIPTION("VMCI transport for Virtual Sockets"); -MODULE_VERSION("1.0.2.0-k"); +MODULE_VERSION("1.0.3.0-k"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("vmware_vsock"); MODULE_ALIAS_NETPROTO(PF_VSOCK); -- 1.7.0
2016 Apr 19
1
[PATCH] VSOCK: Only check error on skb_recv_datagram when skb is NULL
...xit); MODULE_AUTHOR("VMware, Inc."); MODULE_DESCRIPTION("VMCI transport for Virtual Sockets"); -MODULE_VERSION("1.0.3.0-k"); +MODULE_VERSION("1.0.4.0-k"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("vmware_vsock"); MODULE_ALIAS_NETPROTO(PF_VSOCK); -- 1.7.0
2017 Nov 24
1
[PATCH v2] VSOCK: Don't call vsock_stream_has_data in atomic context
...void) MODULE_AUTHOR("VMware, Inc."); MODULE_DESCRIPTION("VMCI transport for Virtual Sockets"); -MODULE_VERSION("1.0.4.0-k"); +MODULE_VERSION("1.0.5.0-k"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("vmware_vsock"); MODULE_ALIAS_NETPROTO(PF_VSOCK); -- 1.7.0
2017 Nov 24
1
[PATCH v2] VSOCK: Don't call vsock_stream_has_data in atomic context
...void) MODULE_AUTHOR("VMware, Inc."); MODULE_DESCRIPTION("VMCI transport for Virtual Sockets"); -MODULE_VERSION("1.0.4.0-k"); +MODULE_VERSION("1.0.5.0-k"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("vmware_vsock"); MODULE_ALIAS_NETPROTO(PF_VSOCK); -- 1.7.0
2017 Nov 21
2
[PATCH] VSOCK: Don't call vsock_stream_has_data in atomic context
...void) MODULE_AUTHOR("VMware, Inc."); MODULE_DESCRIPTION("VMCI transport for Virtual Sockets"); -MODULE_VERSION("1.0.4.0-k"); +MODULE_VERSION("1.0.5.0-k"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("vmware_vsock"); MODULE_ALIAS_NETPROTO(PF_VSOCK); -- 1.7.0
2017 Nov 21
2
[PATCH] VSOCK: Don't call vsock_stream_has_data in atomic context
...void) MODULE_AUTHOR("VMware, Inc."); MODULE_DESCRIPTION("VMCI transport for Virtual Sockets"); -MODULE_VERSION("1.0.4.0-k"); +MODULE_VERSION("1.0.5.0-k"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("vmware_vsock"); MODULE_ALIAS_NETPROTO(PF_VSOCK); -- 1.7.0
2019 Sep 27
29
[RFC PATCH 00/13] vsock: add multi-transports support
...ch 9 changes the hvs_remote_addr_init(). setting the VMADDR_CID_HOST as remote CID instead of VMADDR_CID_ANY to make the choice of transport to be used work properly. @Dexuan Could this change break anything? Patch 10 adds multi-transports support. RFC: - I'd like to move MODULE_ALIAS_NETPROTO(PF_VSOCK) to af_vsock.c. @Jorgen could this break the VMware products? - DGRAM sockets are handled as before, I don't know if make sense work on it now, or when another transport will support DGRAM. The big issues here is that we cannot link 1-1 a socket to transport as for stream sockets since...
2019 Sep 27
29
[RFC PATCH 00/13] vsock: add multi-transports support
...ch 9 changes the hvs_remote_addr_init(). setting the VMADDR_CID_HOST as remote CID instead of VMADDR_CID_ANY to make the choice of transport to be used work properly. @Dexuan Could this change break anything? Patch 10 adds multi-transports support. RFC: - I'd like to move MODULE_ALIAS_NETPROTO(PF_VSOCK) to af_vsock.c. @Jorgen could this break the VMware products? - DGRAM sockets are handled as before, I don't know if make sense work on it now, or when another transport will support DGRAM. The big issues here is that we cannot link 1-1 a socket to transport as for stream sockets since...
2015 Oct 21
1
[PATCH] VSOCK: sock_put wasn't safe to call in interrupt context
...+2156,7 @@ module_exit(vmci_transport_exit); MODULE_AUTHOR("VMware, Inc."); MODULE_DESCRIPTION("VMCI transport for Virtual Sockets"); +MODULE_VERSION("1.0.2.0-k"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("vmware_vsock"); MODULE_ALIAS_NETPROTO(PF_VSOCK); diff --git a/net/vmw_vsock/vmci_transport.h b/net/vmw_vsock/vmci_transport.h index ce6c962..2ad46f3 100644 --- a/net/vmw_vsock/vmci_transport.h +++ b/net/vmw_vsock/vmci_transport.h @@ -119,10 +119,12 @@ struct vmci_transport { u64 queue_pair_size; u64 queue_pair_min_size; u64 queue_pair_max...