[dpdk-dev] [RFC v3] net/memif: allow for full key size in socket name

Jakub Grajciar -X (jgrajcia - PANTHEON TECHNOLOGIES at Cisco) jgrajcia at cisco.com
Fri Aug 30 09:17:07 CEST 2019



> -----Original Message-----
> From: Stephen Hemminger <stephen at networkplumber.org>
> Sent: Tuesday, July 16, 2019 7:21 PM
> To: dev at dpdk.org; Jakub Grajciar -X (jgrajcia - PANTHEON TECHNOLOGIES at
> Cisco) <jgrajcia at cisco.com>
> Cc: Stephen Hemminger <stephen at networkplumber.org>
> Subject: [RFC v3] net/memif: allow for full key size in socket name
> 
> The key size for memif is 256 but the unix domain socket structure has
> space for 100 bytes. Change it to use a larger buffer and not hard
> code the keysize everywhere.
> 
> Not sure what purpose of socket is anyway since there is no code
> which connects to it in the current tree anyway?

	See memif_connect_slave in memif_socket.c

> 
> Still an RFC, have no way to test.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

Tested-by: Jakub Grajciar <jgrajcia at cisco.com>


More information about the dev mailing list