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

Stephen Hemminger stephen at networkplumber.org
Mon Oct 12 17:17:38 CEST 2020


On Mon, 12 Oct 2020 10:28:29 +0200
Jakub Grajciar <jgrajcia at cisco.com> wrote:

> Abstract socket address has no connection with
> filesystem pathnames and the socket disappears
> 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 <jgrajcia at cisco.com>

Your current model with flags is fine, but another alternative would
be to use the @ character to signify abstract socket type.
That is what tools like "ss" use display abstract sockets.


More information about the dev mailing list