[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZfLYfpsVP32uJA9P@mev-dev>
Date: Thu, 14 Mar 2024 11:59:23 +0100
From: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
To: Simon Horman <horms@...nel.org>
Cc: intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
marcin.szycik@...el.com, sridhar.samudrala@...el.com,
wojciech.drewek@...el.com, pmenzel@...gen.mpg.de,
Jedrzej Jagielski <jedrzej.jagielski@...el.com>
Subject: Re: [iwl-next v2 1/2] ice: tc: check src_vsi in case of traffic from
VF
On Mon, Feb 26, 2024 at 01:34:48PM +0000, Simon Horman wrote:
> On Thu, Feb 22, 2024 at 01:39:55PM +0100, Michal Swiatkowski wrote:
> > In case of traffic going from the VF (so ingress for port representor)
> > source VSI should be consider during packet classification. It is
> > needed for hardware to not match packets from different ports with
> > filters added on other port.
> >
> > It is only for "from VF" traffic, because other traffic direction
> > doesn't have source VSI.
> >
> > Set correct ::src_vsi in rule_info to pass it to the hardware filter.
> >
> > For example this rule should drop only ipv4 packets from eth10, not from
> > the others VF PRs. It is needed to check source VSI in this case.
> > $tc filter add dev eth10 ingress protocol ip flower skip_sw action drop
> >
> > Reviewed-by: Jedrzej Jagielski <jedrzej.jagielski@...el.com>
> > Reviewed-by: Sridhar Samudrala <sridhar.samudrala@...el.com>
> > Signed-off-by: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
>
> Hi Michal,
>
> Should this be treated as a fix: have a Fixes tag; be targeted at 'iwl'?
>
> That notwithstanding, this look good to me.
>
> Reviewed-by: Simon Horman <horms@...nel.org>
>
> ...
Thanks Simon, you are right, it will go to net with correct fixes tag.
Thanks,
Michal
Powered by blists - more mailing lists