Re: [dpdk-dev] [PATCH] net/mlx5: fix order of lines in loop

2019-08-06 Thread Eli Britstein
Acked-by: Eli Britstein On 8/5/2019 2:51 PM, Dekel Peled wrote: > Function flow_dv_zero_encap_udp_csum() uses a while loop to iterate > over vlan items in flow rule. > Pointer next_hdr is incremented to the next item before it is used, > so the first item is skipped. > > This patch moves the incr

Re: [dpdk-dev] [PATCH] net/mlx5: fix order of lines in loop

2019-08-05 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Dekel Peled > Sent: Monday, August 5, 2019 2:51 PM > To: Yongseok Koh ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Ori Kam ; dev@dpdk.org; Eli Britstein > > Subject: [dpdk-dev] [PATCH] net/mlx5: fix order of lin

Re: [dpdk-dev] [PATCH] net/mlx5: fix order of lines in loop

2019-08-05 Thread Slava Ovsiienko
> -Original Message- > From: Dekel Peled > Sent: Monday, August 5, 2019 14:51 > To: Yongseok Koh ; Slava Ovsiienko > ; Shahaf Shuler > Cc: Ori Kam ; dev@dpdk.org; Eli Britstein > > Subject: [PATCH] net/mlx5: fix order of lines in loop > > Function flow_dv_zero_encap_udp_csum() uses a wh

[dpdk-dev] [PATCH] net/mlx5: fix order of lines in loop

2019-08-05 Thread Dekel Peled
Function flow_dv_zero_encap_udp_csum() uses a while loop to iterate over vlan items in flow rule. Pointer next_hdr is incremented to the next item before it is used, so the first item is skipped. This patch moves the incrementing of next_hdr to the correct place. Fixes: bf1d7d9a033a ("net/mlx5: z