[dpdk-dev] [PATCH v5] net/virtio: fix wrong variable assignment in helper macro
Maxime Coquelin
maxime.coquelin at redhat.com
Fri Sep 18 14:30:19 CEST 2020
On 9/18/20 11:55 AM, Vipul Ashri wrote:
> Inside Macro ASSIGN_UNLESS_EQUAL(var, val), assignment to var is always
> failing as assignment done using var_ having local scope only.
> This leads to TX packets not going out and found broken due to cleanup
> malfunctioning. This patch fixes the wrong variable assignment.
>
> Fixes: 57f90f894588 ("net/virtio: reuse packed ring functions")
> Cc: stable at dpdk.org
>
> Signed-off-by: Vipul Ashri <vipul.ashri at oracle.com>
> ---
> drivers/net/virtio/virtqueue.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Applied to dpdk-next-virtio/master.
Thanks,
Maxime
More information about the dev
mailing list