Re: [dpdk-dev] [PATCH] net/mlx5: fix unnecessary init in MARK action conversion

2020-07-22 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Michael Baum > Sent: Tuesday, July 21, 2020 3:05 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Slava Ovsiienko > ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix unnecessary init in MARK action

[dpdk-dev] [PATCH] net/mlx5: fix unnecessary init in MARK action conversion

2020-07-21 Thread Michael Baum
The flow_dv_convert_action_mark function defines an array of field_modify_info structures and initializes the first entity. In the first entity id field, it initializes to 0, even though its type is an enum that has no value of 0. In fact, the function does not use this id field before assigning t