Re: [dpdk-dev] [PATCH v2] net/mlx5: fix incorrect pointer operation in meter

2020-01-20 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Suanming Mou > Sent: Wednesday, January 8, 2020 12:41 PM > To: Matan Azrad ; Shahaf Shuler > ; Slava Ovsiienko > Cc: dev@dpdk.org; xiangxia.m@gmail.com; Raslan Darawsheh > ; sta...@dpdk.org > Subject: [PATCH v2] net/mlx5: fix incorrect pointer operati

Re: [dpdk-dev] [PATCH v2] net/mlx5: fix incorrect pointer operation in meter

2020-01-20 Thread Slava Ovsiienko
> -Original Message- > From: Suanming Mou > Sent: Wednesday, January 8, 2020 12:41 > To: Matan Azrad ; Shahaf Shuler > ; Slava Ovsiienko > Cc: dev@dpdk.org; xiangxia.m@gmail.com; Raslan Darawsheh > ; sta...@dpdk.org > Subject: [PATCH v2] net/mlx5: fix incorrect pointer operation in me

[dpdk-dev] [PATCH v2] net/mlx5: fix incorrect pointer operation in meter

2020-01-08 Thread Suanming Mou
The meter suffix flow item pointer restore is not correct to decrease a fixed value. The incorrect operation will cause incorrect match to the meter suffix flow, the flow create will fail once the magic number in the wrong offset memory start with RTE_FLOW_ITEM_TYPE_END. The pointer should decrease