[dpdk-dev] [PATCH 2/2] net/memif: fix init handling when already connected

Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco) jgrajcia at cisco.com
Wed Feb 19 14:06:30 CET 2020


> -----Original Message-----
> From: Július Milan <jmilan.dev at gmail.com>
> Sent: Wednesday, February 19, 2020 9:19 AM
> To: dev at dpdk.org; Jakub Grajciar -X (jgrajcia - PANTHEON TECH SRO at Cisco)
> <jgrajcia at cisco.com>
> Subject: [dpdk-dev][PATCH 2/2] net/memif: fix init handling when already
> connected
> 
> This patch fixes the situation when there is already connected pair of memif
> interfaces and another slave tries to initiate the connection with (already
> occupied) master. Expected behavior is that the second slave is refused and
> gets disconnect message with reason: "Already connected", while old
> connection remains functional.
> 
> Fixes: 09c7e63a71f9 ("net/memif: introduce memory interface PMD")
> 
> Signed-off-by: Július Milan <jmilan.dev at gmail.com>

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


More information about the dev mailing list