[Intel-wired-lan] [PATCH net-next v3 06/12] ice: allow changing lan_en and lb_en on dflt rules

Penigalapati, Sandeep sandeep.penigalapati at intel.com
Fri Aug 6 10:08:27 UTC 2021


>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
>Michal Swiatkowski
>Sent: Friday, June 25, 2021 8:15 AM
>To: intel-wired-lan at lists.osuosl.org
>Subject: [Intel-wired-lan] [PATCH net-next v3 06/12] ice: allow changing lan_en
>and lb_en on dflt rules
>
>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 ICE_SW_LKUP_DFLT
>recipe and any rule id.
>
>lan_en allows packet to go outside if rule is matched. Clearing this bit will
>block packet from sending it outside.
>
>lb_en allows packet to be forwarded to other VSI. Clearing this bit will block
>packet from forwarding it to other VSI.
>
>Signed-off-by: Michal Swiatkowski <michal.swiatkowski at linux.intel.com>
>---
> drivers/net/ethernet/intel/ice/ice_fltr.c   | 80 +++++++++++++++++++++
> drivers/net/ethernet/intel/ice/ice_fltr.h   |  7 ++
> drivers/net/ethernet/intel/ice/ice_switch.c |  2 +-
>drivers/net/ethernet/intel/ice/ice_switch.h |  6 ++
> 4 files changed, 94 insertions(+), 1 deletion(-)
>
Tested-by: Sandeep Penigalapati <sandeep.penigalapati at intel.com>


More information about the Intel-wired-lan mailing list