Re: [dpdk-dev] [PATCH] net/memif: use abstract socket address

2020-10-09 Thread Ferruh Yigit
On 10/7/2020 4:03 PM, Stephen Hemminger wrote: On Mon, 5 Oct 2020 14:39:00 +0200 Jakub Grajciar wrote: @@ -886,7 +886,12 @@ memif_socket_create(char *key, uint8_t listener) goto error; un.sun_family = AF_UNIX; - strlcpy(un.sun_path, sock->filename,

Re: [dpdk-dev] [PATCH] net/memif: use abstract socket address

2020-10-07 Thread Stephen Hemminger
On Mon, 5 Oct 2020 14:39:00 +0200 Jakub Grajciar wrote: > @@ -886,7 +886,12 @@ memif_socket_create(char *key, uint8_t listener) > goto error; > > un.sun_family = AF_UNIX; > - strlcpy(un.sun_path, sock->filename, MEMIF_SOCKET_UN_SIZE); > +

Re: [dpdk-dev] [PATCH] net/memif: use abstract socket address

2020-10-06 Thread Ferruh Yigit
On 10/5/2020 7:17 PM, Stephen Hemminger wrote: On Mon, 5 Oct 2020 14:09:20 +0100 Ferruh Yigit wrote: On 10/5/2020 1:39 PM, Jakub Grajciar wrote: Abstract socket address has no connection with filesystem pathnames and the socket dissapears once all open references are closed. Memif pmd will u

Re: [dpdk-dev] [PATCH] net/memif: use abstract socket address

2020-10-05 Thread Stephen Hemminger
On Mon, 5 Oct 2020 14:09:20 +0100 Ferruh Yigit wrote: > On 10/5/2020 1:39 PM, Jakub Grajciar wrote: > > Abstract socket address has no connection with > > filesystem pathnames and the socket dissapears > > once all open references are closed. > > > > Memif pmd will use abstract socket address by

Re: [dpdk-dev] [PATCH] net/memif: use abstract socket address

2020-10-05 Thread Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> -Original Message- > From: Ferruh Yigit > Sent: Monday, October 5, 2020 3:09 PM > To: Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco) > ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/memif: use abstract socket address > > On 10/5/2020 1:39

Re: [dpdk-dev] [PATCH] net/memif: use abstract socket address

2020-10-05 Thread Ferruh Yigit
On 10/5/2020 1:39 PM, Jakub Grajciar wrote: Abstract socket address has no connection with filesystem pathnames and the socket dissapears once all open references are closed. Memif pmd will use abstract socket address by default. For backwards compatibility use new argument 'socket-abstract=no'

[dpdk-dev] [PATCH] net/memif: use abstract socket address

2020-10-05 Thread Jakub Grajciar
Abstract socket address has no connection with filesystem pathnames and the socket dissapears once all open references are closed. Memif pmd will use abstract socket address by default. For backwards compatibility use new argument 'socket-abstract=no' Signed-off-by: Jakub Grajciar --- doc/guide