[Intel-wired-lan] [PATCH iwl-next v3 4/6] ice: remove headers argument from ice_tc_count_lkups

2025-02-08 Thread Larysa Zaremba
Remove the headers argument from the ice_tc_count_lkups() function, because it is not used anywhere. Reviewed-by: Michal Swiatkowski Signed-off-by: Larysa Zaremba --- drivers/net/ethernet/intel/ice/ice_tc_lib.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/driv

[Intel-wired-lan] [tnguy-net-queue:dev-queue] BUILD SUCCESS 6aef0483f3f7682c70359cbe30a6e5d7d9aec5f4

2025-02-08 Thread kernel test robot
-13.2.0 arc defconfiggcc-14.2.0 arc randconfig-001-20250208gcc-13.2.0 arc randconfig-001-20250209gcc-13.2.0 arc randconfig-002-20250208gcc-13.2.0 arc randconfig-002-20250209gcc

[Intel-wired-lan] [tnguy-next-queue:dev-queue] BUILD SUCCESS 820e145d30facd90981914efefddb82c9786c963

2025-02-08 Thread kernel test robot
allnoconfiggcc-13.2.0 arc allyesconfiggcc-13.2.0 arc randconfig-001-20250208gcc-13.2.0 arc randconfig-002-20250208gcc-13.2.0 arm allmodconfiggcc-14.2.0 arm

[Intel-wired-lan] [PATCH iwl-next v3 1/6] ice: fix check for existing switch rule

2025-02-08 Thread Larysa Zaremba
From: Mateusz Pacuszka In case the rule already exists and another VSI wants to subscribe to it new VSI list is being created and both VSIs are moved to it. Currently, the check for already existing VSI with the same rule is done based on fdw_id.hw_vsi_id, which applies only to LOOKUP_RX flag. Ch

[Intel-wired-lan] [PATCH iwl-next v3 5/6] ice: support egress drop rules on PF

2025-02-08 Thread Larysa Zaremba
tc clsact qdisc allows us to add offloaded egress rules with commands such as the following one: tc filter add dev egress protocol lldp flower skip_sw action drop Support the egress rule drop action when added to PF, with a few caveats: * in switchdev mode, all PF traffic has to go uplink with a

[Intel-wired-lan] [PATCH iwl-next v3 6/6] ice: enable LLDP TX for VFs through tc

2025-02-08 Thread Larysa Zaremba
Only a single VSI can be in charge of sending LLDP frames, sometimes it is beneficial to assign this function to a VF, that is possible to do with tc capabilities in the switchdev mode. It requires first blocking the PF from sending the LLDP frames with a following command: tc filter add dev egre

[Intel-wired-lan] [PATCH iwl-next v3 3/6] ice: receive LLDP on trusted VFs

2025-02-08 Thread Larysa Zaremba
From: Mateusz Pacuszka When a trusted VF tries to configure an LLDP multicast address, configure a rule that would mirror the traffic to this VF, untrusted VFs are not allowed to receive LLDP at all, so the request to add LLDP MAC address will always fail for them. Add a forwarding LLDP filter t

[Intel-wired-lan] [PATCH iwl-next v3 0/6] ice: LLDP support for VFs

2025-02-08 Thread Larysa Zaremba
Allow to: * receive LLDP packets on a VF in legacy mode * receive LLDP packets on a VF in switchdev mode * transmit LLDP from a VF in switchdev mode Many VSIs can receive LLDP packets, but only one VSI per port can transmit LLDP, therefore LLDP TX from VF requires adding an egress drop rule to the

[Intel-wired-lan] [PATCH iwl-next v3 2/6] ice: do not add LLDP-specific filter if not necessary

2025-02-08 Thread Larysa Zaremba
Commit 34295a3696fb ("ice: implement new LLDP filter command") introduced the ability to use LLDP-specific filter that directs all LLDP traffic to a single VSI. However, current goal is for all trusted VFs to be able to see LLDP neighbors, which is impossible to do with the special filter. Make us