linux/drivers/net/ethernet/intel/i40e
Przemyslaw Patynowski d64aaf3f78 i40e: Disallow ip4 and ip6 l4_4_bytes
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: 36777d9fa2 ("i40e: check current configured input set when adding ntuple filters")
Signed-off-by: Przemyslaw Patynowski <przemyslawx.patynowski@intel.com>
Signed-off-by: Kamil Maziarz  <kamil.maziarz@intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2022-12-05 08:30:51 -08:00
..
i40e.h i40e: add description and modify interrupts configuration procedure 2022-09-06 13:47:16 -07:00
i40e_adminq.c
i40e_adminq.h
i40e_adminq_cmd.h
i40e_alloc.h
i40e_client.c i40e: Fix kernel crash during module removal 2022-09-02 11:15:36 -07:00
i40e_common.c i40e: Add basic support for I710 devices 2022-09-06 12:49:00 -07:00
i40e_dcb.c
i40e_dcb.h
i40e_dcb_nl.c
i40e_ddp.c
i40e_debugfs.c
i40e_devids.h i40e: Add basic support for I710 devices 2022-09-06 12:49:00 -07:00
i40e_diag.c
i40e_diag.h
i40e_ethtool.c i40e: Disallow ip4 and ip6 l4_4_bytes 2022-12-05 08:30:51 -08:00
i40e_hmc.c
i40e_hmc.h
i40e_lan_hmc.c
i40e_lan_hmc.h
i40e_main.c i40e: Fix not setting default xps_cpus after reset 2022-12-05 08:30:51 -08:00
i40e_nvm.c
i40e_osdep.h
i40e_prototype.h
i40e_ptp.c net: ethernet: move from strlcpy with unused retval to strscpy 2022-08-31 14:11:26 -07:00
i40e_register.h i40e: Fix dropped jumbo frames statistics 2022-06-30 13:09:00 -07:00
i40e_status.h
i40e_trace.h
i40e_txrx.c i40e: Fix DMA mappings leak 2022-10-14 08:24:31 +01:00
i40e_txrx.h i40e: Fix DMA mappings leak 2022-10-14 08:24:31 +01:00
i40e_txrx_common.h
i40e_type.h i40e: Fix ethtool rx-flow-hash setting for X722 2022-10-25 16:18:31 -07:00
i40e_virtchnl_pf.c i40e: Fix for VF MAC address 0 2022-12-05 08:30:51 -08:00
i40e_virtchnl_pf.h i40e: Fix VF hang when reset is triggered on another VF 2022-10-25 16:18:31 -07:00
i40e_xsk.c i40e: Fix DMA mappings leak 2022-10-14 08:24:31 +01:00
i40e_xsk.h i40e: Fix DMA mappings leak 2022-10-14 08:24:31 +01:00
Makefile