>-----Original Message-----
>From: Intel-wired-lan <[email protected]> On Behalf Of
>Marcin Szycik
>Sent: Friday, March 4, 2022 10:11 PM
>To: [email protected]
>Cc: [email protected]; [email protected]; osmocom-net-
>[email protected]; [email protected]; [email protected]; intel-
>[email protected]; [email protected]; [email protected];
>[email protected]
>Subject: [Intel-wired-lan] [PATCH net-next v10 6/7] ice: Fix FV offset 
>searching
>
>From: Michal Swiatkowski <[email protected]>
>
>Checking only protocol ids while searching for correct FVs can lead to a
>situation, when incorrect FV will be added to the list. Incorrect means that FV
>has correct protocol id but incorrect offset.
>
>Call ice_get_sw_fv_list with ice_prot_lkup_ext struct which contains all
>protocol ids with offsets.
>
>With this modification allocating and collecting protocol ids list is not 
>longer
>needed.
>
>Signed-off-by: Michal Swiatkowski <[email protected]>
>---
>v7: Fix ice_get_sw_fv_list kernel-doc
>v10: Fix 80 char line limit
>---
> .../net/ethernet/intel/ice/ice_flex_pipe.c    | 22 +++++------
> .../net/ethernet/intel/ice/ice_flex_pipe.h    |  2 +-
> drivers/net/ethernet/intel/ice/ice_switch.c   | 39 +------------------
> 3 files changed, 12 insertions(+), 51 deletions(-)
>
Tested-by: Sandeep Penigalapati <[email protected]>

Reply via email to