net: qede: propagate extack through qede_flow_spec_validate()
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>
Wed, 8 May 2024 14:34:01 +0000 (14:34 +0000)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 May 2024 02:30:00 +0000 (19:30 -0700)
commitd2a437efd017d4d515917a8c8c5439f412b0043c
tree85910da1444b9a566d993dbb8af18a74001ea413
parenteb705d7345255316f3a25ba60c4c7ee215c92c1a
net: qede: propagate extack through qede_flow_spec_validate()

Pass extack to qede_flow_spec_validate() when called in
qede_flow_spec_to_rule().

Pass extack to qede_parse_actions().

Not converting qede_flow_spec_validate() to use extack for
errors, as it's only called from qede_flow_spec_to_rule(),
where extack is faked into a DP_NOTICE anyway, so opting to
keep DP_VERBOSE/DP_NOTICE usage.

Only compile tested.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240508143404.95901-14-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/qlogic/qede/qede_filter.c