Re: [Intel-wired-lan] [PATCH iwl-net] ice: Fix VF-VF direction matching in drop rule in switchdev

2023-11-04 Thread Simon Horman
On Wed, Oct 25, 2023 at 04:47:24PM +0200, Marcin Szycik wrote: > When adding a drop rule on a VF, rule direction is not being set, which > results in it always being set to ingress (ICE_ESWITCH_FLTR_INGRESS > equals 0). Because of this, drop rules added on port representors don't > match any

Re: [Intel-wired-lan] [PATCH iwl-net] ice: Fix VF-VF direction matching in drop rule in switchdev

2023-10-30 Thread Buvaneswaran, Sujai
> -Original Message- > From: Intel-wired-lan On Behalf Of > Marcin Szycik > Sent: Wednesday, October 25, 2023 8:17 PM > To: intel-wired-...@lists.osuosl.org > Cc: net...@vger.kernel.org; Marcin Szycik ; > Michal Swiatkowski > Subject: [Intel-wired-lan] [PATCH

[Intel-wired-lan] [PATCH iwl-net] ice: Fix VF-VF direction matching in drop rule in switchdev

2023-10-25 Thread Marcin Szycik
When adding a drop rule on a VF, rule direction is not being set, which results in it always being set to ingress (ICE_ESWITCH_FLTR_INGRESS equals 0). Because of this, drop rules added on port representors don't match any packets. To fix it, set rule direction in drop action to egress when netdev