[PATCH v3 1/2] net/ice/base: add profile validation on switch filter

Zhang, Qi Z qi.z.zhang at intel.com
Wed Feb 9 03:15:40 CET 2022



> -----Original Message-----
> From: Zhang, Yuying <yuying.zhang at intel.com>
> Sent: Wednesday, January 26, 2022 11:57 PM
> To: dev at dpdk.org; Zhang, Qi Z <qi.z.zhang at intel.com>
> Cc: Zhang, Yuying <yuying.zhang at intel.com>
> Subject: [PATCH v3 1/2] net/ice/base: add profile validation on switch filter
> 
> Profile type was determined without validation when getting switch field
> vector bitmap. It caused error when associating profile id with given recipe if
> no lookup elements were given.
> Add profile validation to check if the profile is existing before getting bitmap.

Added fixline :
Fixes: 55744222e6e2 ("net/ice/base: associate recipes by profile type")

> 
> Signed-off-by: Yuying Zhang <yuying.zhang at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi




More information about the dev mailing list