<div dir="ltr"><div>Hi Stephen, Hi Ferruh,</div><div><br></div><div>I don't have a strong opinion on usage of regular sockets vs abstract sockets. My point is that most existing memif implementations <br></div><div>either don't yet properly support abstract sockets or require extra flags to be passed by users (iirc VPP, gomemif, libmemif, etc...).</div><div>As a matter of fact, abstract socket support in dpdk was broken until quite recently. So I expect most users to be somewhat <br></div><div>constrained by their implementation to use regular sockets.</div><div><br></div><div>Also, as a user when you come with a filesystem path, understanding you need to pass the following is not really straightforward<br></div><div>--vdev=net_memif,socket=/tmp/memif.sock,socket-abstract=no</div><div><br></div><div>A better solution might be to use the '@' prefix which seems the usual representation and remove the socket-abstract=no altogether<br></div><div>--vdev=net_memif,socket=@memif <br></div><div>--vdev=net_memif,socket=/tmp/memif.sock</div><div><br></div><div>What do you think ?</div><div><br></div><div>(Also iirc Jakub is not receiving emails on this address)<br></div><div><br></div><div>Cheers</div><div>-Nathan<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 7 déc. 2022 à 22:01, Stephen Hemminger <<a href="mailto:stephen@networkplumber.org">stephen@networkplumber.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 7 Dec 2022 17:15:06 +0000<br>
Ferruh Yigit <<a href="mailto:ferruh.yigit@amd.com" target="_blank">ferruh.yigit@amd.com</a>> wrote:<br>
<br>
> On 12/7/2022 3:56 PM, Nathan Skrzypczak wrote:<br>
> > Hi Ferruh,<br>
> > <br>
> <br>
> Hi Nathan,<br>
> <br>
> > Thank you for your reply, <br>
> > <br>
> > On the potential confusion for users of the DPDK memif PMD : when<br>
> > defaulting to abstract sockets was added in [0] (v20.10 release)<br>
> > it did change the existing behavior, so reverting it would restore the<br>
> > old behavior.> Also abstract sockets are quite a unusual feature in linux (a 0byte<br>
> > prefixed string...), so I'm expecting most users of memif to just use<br>
> > regular sockets because they're way easier to handle.<br>
> > <br>
> <br>
> Not sure if regular socket is easier to handle, or users prefer regular<br>
> sockets, we need more input on these.<br>
<br>
Regular sockets are actually harder handle, it is more that users<br>
are less familiar with them! Regular sockets have to go through<br>
file permission checks which makes dealing with containers and SELinux<br>
hard. Regular sockets persist when application crashes which makes<br>
recovery harder.<br>
</blockquote></div>