Re: [dpdk-dev] [PATCH v5] net/virtio: fix wrong variable assignment in helper macro

2020-09-18 Thread Maxime Coquelin
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

Re: [dpdk-dev] [PATCH v5] net/virtio: fix wrong variable assignment in helper macro

2020-09-18 Thread Maxime Coquelin
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

[dpdk-dev] [PATCH v5] net/virtio: fix wrong variable assignment in helper macro

2020-09-18 Thread Vipul Ashri
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/vi