[dpdk-dev] [PATCH] net/memif: add multiple memif data transmission support

Jakub Grajciar -X (jgrajcia - PANTHEON TECHNOLOGIES at Cisco) jgrajcia at cisco.com
Wed Oct 23 10:45:32 CEST 2019



> -----Original Message-----
> From: Anand Sunkad <anand.sunkad at benisontech.com>
> Sent: Thursday, October 17, 2019 3:21 PM
> To: Jakub Grajciar -X (jgrajcia - PANTHEON TECHNOLOGIES at Cisco)
> <jgrajcia at cisco.com>
> Cc: dev at dpdk.org; Vivek Gupta <vivekg at benisontech.com>; Thomas
> Mulamangalath <thomas.mulamangalath at benisontech.com>; Anand Sunkad
> <anand.sunkad at benisontech.com>
> Subject: [PATCH] net/memif: add multiple memif data transmission support
> 
> When Multiple slave/master Memif's interfaces are created in single
> process data transmission over second connection is not successful.
> 
> Issue is because of "mq->in_port" is not initialized with
> "dev->data->port_id" in memif_tx_queue_setup() function, and while
> transmitting packets over second connection in eth_memif_tx function
> it refer "mq->in_port" which is always zero, which leads to data
> transmission always in 0th port.
> 
> To mitigate the issue,"mq->in_port" is initialized with
> "dev->data->port_id" in memif_tx_queue_setup() function.
> 
> Signed-off-by: Anand Sunkad <anand.sunkad at benisontech.com>

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


More information about the dev mailing list