[Intel-wired-lan] [PATCH net v3] i40e: Disallow ip4 and ip6 l4_4_bytes
G, GurucharanX
gurucharanx.g at intel.com
Mon Aug 22 05:11:51 UTC 2022
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Kamil Maziarz
> Sent: Tuesday, August 9, 2022 6:35 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Patynowski, PrzemyslawX <przemyslawx.patynowski at intel.com>;
> Maziarz, Kamil <kamil.maziarz at intel.com>
> Subject: [Intel-wired-lan] [PATCH net v3] i40e: Disallow ip4 and ip6
> l4_4_bytes
>
> From: Przemyslaw Patynowski <przemyslawx.patynowski at intel.com>
>
> Return -EOPNOTSUPP, when user requests l4_4_bytes for raw IP4 or
> IP6 flow director filters. Flow director does not support filtering on l4 bytes
> for PCTYPEs used by IP4 and IP6 filters.
> Without this patch, user could create filters with l4_4_bytes fields, which did
> not do any filtering on L4, but only on L3 fields.
>
> Fixes: 36777d9fa24c ("i40e: check current configured input set when adding
> ntuple filters")
> Signed-off-by: Przemyslaw Patynowski
> <przemyslawx.patynowski at intel.com>
> Signed-off-by: Kamil Maziarz <kamil.maziarz at intel.com>
> ---
> v3: removed footer and added Fixes tag
> ---
> v2: changed author and tree
> ---
> drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 12 ++----------
> 1 file changed, 2 insertions(+), 10 deletions(-)
>
When we pass dst-port as one of the parameter while creating the rule then the filter is getting created as earlier
More information about the Intel-wired-lan
mailing list