Re: [Intel-wired-lan] [PATCH iwl-net] ice: fix LAG recipe to profile association
"Rinitha, SX" <[email protected]> Wed, 15 Jul 2026 07:12:27 +0000
| Newsgroups | org.osuosl.intel-wired-lan,org.kernel.vger.netdev |
|---|---|
| Message-ID | <IA1PR11MB6241995BF3969D53A1BA4FF78BF82@IA1PR11MB6241.namprd11.prod.outlook.com> |
> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of Marcin Szycik > Sent: 19 May 2026 16:51 > To: [email protected] > Cc: [email protected]; Marcin Szycik <[email protected]>; Michal Swiatkowski <[email protected]>; Loktionov, Aleksandr <[email protected]>; Ertman, David M <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-net] ice: fix LAG recipe to profile association > > ice_init_lag() associates recipes to profiles, assuming that Link Aggregation-related profiles will always have profile ID lower than 70 (ICE_PROFID_IPV6_GTPU_IPV6_TCP_INNER). This value seems arbitrary and might not always be valid for some versions of DDP package, i.e. LAG profiles may have profile ID greater than 70. This would lead to misconfigured switch and LAG not working properly. > > Fix it by checking up to maximum profile ID. > > Fixes: 1e0f9881ef79 ("ice: Flesh out implementation of support for SRIOV on bonded interface") > Signed-off-by: Marcin Szycik <[email protected]> > Reviewed-by: Michal Swiatkowski <[email protected]> > Reviewed-by: Aleksandr Loktionov <[email protected]> > Reviewed-by: Dave Ertman <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice_lag.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)