[PATCH v2] net/memif: default to physical socket

Stephen Hemminger stephen at networkplumber.org
Wed Dec 7 22:01:21 CET 2022


On Wed, 7 Dec 2022 17:15:06 +0000
Ferruh Yigit <ferruh.yigit at amd.com> wrote:

> On 12/7/2022 3:56 PM, Nathan Skrzypczak wrote:
> > Hi Ferruh,
> >   
> 
> Hi Nathan,
> 
> > Thank you for your reply, 
> > 
> > On the potential confusion for users of the DPDK memif PMD : when
> > defaulting to abstract sockets was added in [0] (v20.10 release)
> > it did change the existing behavior, so reverting it would restore the
> > old behavior.> Also abstract sockets are quite a unusual feature in linux (a 0byte
> > prefixed string...), so I'm expecting most users of memif to just use
> > regular sockets because they're way easier to handle.
> >   
> 
> Not sure if regular socket is easier to handle, or users prefer regular
> sockets, we need more input on these.

Regular sockets are actually harder handle, it is more that users
are less familiar with them! Regular sockets have to go through
file permission checks which makes dealing with containers and SELinux
hard.  Regular sockets persist when application crashes which makes
recovery harder.


More information about the dev mailing list