Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/memif: fix crash with different number of Rx/Tx queues
[ upstream commit 231435a ] 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. Fixit by selectiing the correct rings for Rx and Tx i.e for Rx, S2C rings are selected and for Tx, C2S rings are selected. Bugzilla ID: 734 Fixes: 09c7e63 ("net/memif: introduce memory interface PMD") Signed-off-by: Huzaifa Rahman <huzaifa.rahman@emumba.com> Reviewed-by: Joyce Kong <joyce.kong@arm.com>
- Loading branch information