[PATCH] memif: memif driver does not crashes when there's different N of TX and RX queues

Huzaifa Rahman huzaifa.rahman at emumba.com
Thu Nov 10 11:02:49 CET 2022


Hi,

Is there any other work/changes required for this patch to be submitted?

Thanks


On Tue, Oct 4, 2022 at 7:53 PM Andrew Rybchenko <
andrew.rybchenko at oktetlabs.ru> wrote:

> On 8/8/22 13:39, Joyce Kong wrote:
> > Hi Huzaifa,
> >
> > This patch looks good to me.
> > And would you please help review my memif patches?
> >
> https://patches.dpdk.org/project/dpdk/cover/20220701102815.1444223-1-joyce.kong@arm.com/
> >
> > Thanks,
> > Joyce
> >
> >> -----Original Message-----
> >> From: huzaifa.rahman <huzaifa.rahman at emumba.com>
> >> Sent: Tuesday, July 26, 2022 6:16 PM
> >> To: jgrajcia at cisco.com
> >> Cc: dev at dpdk.org; huzaifa.rahman <huzaifa.rahman at emumba.com>
> >> Subject: [PATCH] memif: memif driver does not crashes when there's
> >> different N of TX and RX queues
> > net/memif: fix memif crash with different Tx Rx queues
> >
> >>
> >> Bugzilla ID: 734
> >>
> >> there's a bug in memif_stats_get() function due to confusion between C2S
> >> (client->server) and S2C (server->client) rings, causing a crash if
> there's a
> >> different number of RX and TX queues.
> >>
> >> this is fixed by selectiing the correct rings for RX and TX i.e for RX,
> S2C rings
> >> are selected and for TX, C2S rings are selected.
> >>
> > Fixes: 09c7e63a71f9 ("net/memif: introduce memory interface PMD")
> > Cc: stable at dpdk.org
> >
> >> Signed-off-by: huzaifa.rahman <huzaifa.rahman at emumba.com>
> > Reviewed-by: Joyce Kong <joyce.kong at arm.com>
>
> Fixed above on applying.
>
> Applied to dpdk-next-net/main, thanks.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20221110/27d9625f/attachment-0001.htm>


More information about the dev mailing list