original_kernel/drivers/net/ethernet/intel/i40e
Asbjørn Sloth Tønnesen 174ee5bcfe i40e: flower: validate control flags
This driver currently doesn't support any control flags.

Use flow_rule_has_control_flags() to check for control flags,
such as can be set through `tc flower ... ip_flags frag`.

In case any control flags are masked, flow_rule_has_control_flags()
sets a NL extended error message, and we return -EOPNOTSUPP.

Only compile-tested.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2024-05-08 09:12:09 -07:00
..
Makefile
i40e.h i40e: Add helper to access main VEB 2024-04-30 09:33:10 -07:00
i40e_adminq.c
i40e_adminq.h
i40e_adminq_cmd.h
i40e_alloc.h
i40e_client.c i40e: Add helper to access main VSI 2024-04-30 09:33:05 -07:00
i40e_common.c
i40e_dcb.c
i40e_dcb.h
i40e_dcb_nl.c
i40e_ddp.c i40e: Add helper to access main VSI 2024-04-30 09:33:05 -07:00
i40e_debug.h
i40e_debugfs.c i40e: Consolidate checks whether given VSI is main 2024-04-30 09:33:07 -07:00
i40e_devids.h
i40e_devlink.c
i40e_devlink.h
i40e_diag.c
i40e_diag.h
i40e_ethtool.c i40e: Add helper to access main VEB 2024-04-30 09:33:10 -07:00
i40e_hmc.c
i40e_hmc.h
i40e_io.h
i40e_lan_hmc.c
i40e_lan_hmc.h
i40e_main.c i40e: flower: validate control flags 2024-05-08 09:12:09 -07:00
i40e_nvm.c
i40e_prototype.h
i40e_ptp.c i40e: Add helper to access main VSI 2024-04-30 09:33:05 -07:00
i40e_register.h
i40e_trace.h
i40e_txrx.c i40e: Add helper to access main VSI 2024-04-30 09:33:05 -07:00
i40e_txrx.h
i40e_txrx_common.h
i40e_type.h
i40e_virtchnl_pf.c i40e: Add helper to access main VSI 2024-04-30 09:33:05 -07:00
i40e_virtchnl_pf.h
i40e_xsk.c
i40e_xsk.h