Hi, > -----Original Message----- > From: Shiri Kuzin <[email protected]> > Sent: Friday, May 7, 2021 10:01 AM > To: [email protected] > Cc: Matan Azrad <[email protected]>; Raslan Darawsheh > <[email protected]>; Slava Ovsiienko <[email protected]> > Subject: [PATCH] common/mlx5: fix mkey attributes initialization > > The crypto driver added new fields to the mkey attributes struct: > crypto_en and set_remote_rw. > > The entire mkey struct was not initialized, only specific fields in it, > which caused the new added fields not to be initialized resulting in a > mkey creation error. > > This is fixed by initializing the entire mkey attributes struct to 0 > which will prevent this issue from reoccurring if any fields are added > to the mkey sturct in the future. > > Fixes: 0111a74e13dd ("common/mlx5: adjust DevX mkey fields for crypto") > > Signed-off-by: Shiri Kuzin <[email protected]> > Acked-by: Matan Azrad <[email protected]> > ---
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

