Re: [dpdk-dev] [PATCH] net/mlx5: fix modify header action position

2019-04-16 Thread Ori Kam
PSB > -Original Message- > From: Yongseok Koh > Sent: Wednesday, April 17, 2019 2:42 AM > To: Ori Kam > Cc: Shahaf Shuler ; dev@dpdk.org; Dekel Peled > ; sta...@dpdk.org > Subject: Re: [PATCH] net/mlx5: fix modify header action position > > On Sun, Apr 14, 2019 at 08:19:57PM +, Ori K

Re: [dpdk-dev] [PATCH] net/mlx5: fix modify header action position

2019-04-16 Thread Yongseok Koh
On Sun, Apr 14, 2019 at 08:19:57PM +, Ori Kam wrote: > According to RTE flow the action order should be the order that the > actions were given. > In the case of modify actions the position of the action was always > last. > > This commit solves this issue by saving the position of the first m

[dpdk-dev] [PATCH] net/mlx5: fix modify header action position

2019-04-14 Thread Ori Kam
According to RTE flow the action order should be the order that the actions were given. In the case of modify actions the position of the action was always last. This commit solves this issue by saving the position of the first modify action, and then adds to this position the pointer to the modif