RE: [PATCH] net/mlx5: fix the profile check of meter mark

2023-07-03 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Bing Zhao > Sent: Friday, June 30, 2023 3:45 PM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; Suanming Mou > ; Raslan Darawsheh > Cc: dev@dpdk.org; Alexander Kozyrev ; > sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix the

[PATCH] net/mlx5: fix the profile check of meter mark

2023-06-30 Thread Bing Zhao
When creating a meter_mark action, the profile should be specified. Or else there would be a crash if the pointer to the profile was not set properly: 1. creating an action template with only action mask set and using this template to create a table 2. creating a flow rule without setting