RE: [PATCH] net/mlx5: fix entry size in HWS construct data ipool

2022-06-05 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Thursday, June 2, 2022 2:39 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; > Suanming Mou ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix entry size in HWS const

[PATCH] net/mlx5: fix entry size in HWS construct data ipool

2022-06-02 Thread Michael Baum
The mlx5_action_construct_data structure memory is managed by ipool named acts_ipool. The size of one entry in this ipool is mistakenly defined as size of rte_flow_hw structure. This size is used to reset in the allocated part. When the size is incorrect it resets memory that does not belong to it