sfc: use flow_rule_is_supp_control_flags()
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>
Wed, 17 Apr 2024 14:07:10 +0000 (14:07 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 19 Apr 2024 00:04:19 +0000 (17:04 -0700)
commitbb534830a74f54037df923e15254e8c885dce35a
tree112591a62f0ca3d8c8c03830c2777d4e198e1876
parent4713744d9f6ee1f6dc5ac6f58c30f1b9f21067f8
sfc: use flow_rule_is_supp_control_flags()

Change the check for unsupported control flags, to use the new helper
flow_rule_is_supp_control_flags().

Since the helper was based on sfc, then nothing really changes.

Compile-tested, and compiled objects are identical.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Edward Cree <ecree.xilinx@gmail.com>
Link: https://lore.kernel.org/r/20240417140712.100905-1-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sfc/tc.c