[Intel-wired-lan] [PATCH net-next v6 7/9] ice: Allow changing lan_en and lb_en on all kinds of filters

Penigalapati, Sandeep sandeep.penigalapati at intel.com
Thu Sep 30 04:55:07 UTC 2021


>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Wojciech Drewek
>Sent: Friday, August 6, 2021 2:19 PM
>To: intel-wired-lan at lists.osuosl.org
>Subject: [Intel-wired-lan] [PATCH net-next v6 7/9] ice: Allow changing lan_en
>and lb_en on all kinds of filters
>
>From: Michal Swiatkowski <michal.swiatkowski at intel.com>
>
>There is no way to change default lan_en and lb_en flags while adding new
>rule. Add function that allows changing these flags on rule determined by rule
>id and recipe id.
>
>Function checks if the rule is presented on regular rules list or advance rules
>list and call the appropriate function to update rule entry.
>
>As rules with ICE_SW_LKUP_DFLT recipe aren't tracked in a list, implement
>function which updates flags without searching for rules based only on rule id.
>
>Signed-off-by: Michal Swiatkowski <michal.swiatkowski at intel.com>
>Signed-off-by: Wojciech Drewek <wojciech.drewek at intel.com>
>---
> drivers/net/ethernet/intel/ice/ice_fltr.c | 127
>++++++++++++++++++++++++++++++
> 1 file changed, 127 insertions(+)
>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati at intel.com>


More information about the Intel-wired-lan mailing list