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

Ferruh Yigit ferruh.yigit at intel.com
Fri Sep 13 20:47:21 CEST 2019


On 8/30/2019 8:17 AM, Jakub Grajciar -X (jgrajcia - PANTHEON TECHNOLOGIES at
Cisco) wrote:
> 
> 
>> -----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>
> 

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list