> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Martyna Szapar-Mudlaw > Sent: Tuesday, March 4, 2025 12:09 PM > To: [email protected] > Cc: [email protected]; Glaza, Jan <[email protected]>; Loktionov, > Aleksandr <[email protected]>; Jagielski, Jedrzej > <[email protected]>; Simon Horman <[email protected]>; Martyna > Szapar-Mudlaw <[email protected]> > Subject: [Intel-wired-lan] [iwl-net v3 2/5] ice: stop truncating queue ids > when > checking > > From: Jan Glaza <[email protected]> > > Queue IDs can be up to 4096, fix invalid check to stop truncating IDs to 8 > bits. > > Fixes: bf93bf791cec8 ("ice: introduce ice_virtchnl.c and ice_virtchnl.h") > Reviewed-by: Aleksandr Loktionov <[email protected]> > Reviewed-by: Jedrzej Jagielski <[email protected]> > Reviewed-by: Simon Horman <[email protected]> > Signed-off-by: Jan Glaza <[email protected]> > Signed-off-by: Martyna Szapar-Mudlaw <martyna.szapar- > [email protected]> > --- > drivers/net/ethernet/intel/ice/ice_virtchnl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/intel/ice/ice_virtchnl.c > b/drivers/net/ethernet/intel/ice/ice_virtchnl.c > index b6285433307c..343f2b4b0dc5 100644 > --- a/drivers/net/ethernet/intel/ice/ice_virtchnl.c > +++ b/drivers/net/ethernet/intel/ice/ice_virtchnl.c > @@ -565,7 +565,7 @@ bool ice_vc_isvalid_vsi_id(struct ice_vf *vf, u16 vsi_id)
Tested-by: Rafal Romanowski <[email protected]>
