Re: [PATCH net-next v2 00/14] net: qede: convert filter code to use extack
From: Simon Horman
Date: Fri May 10 2024 - 07:27:20 EST
On Wed, May 08, 2024 at 02:33:48PM +0000, Asbjørn Sloth Tønnesen wrote:
> This series converts the filter code in the qede driver
> to use NL_SET_ERR_MSG_*(extack, ...) for error handling.
>
> Patch 1-12 converts qede_parse_flow_attr() to use extack,
> along with all it's static helper functions.
>
> qede_parse_flow_attr() is used in two places:
> - qede_add_tc_flower_fltr()
> - qede_flow_spec_to_rule()
>
> In the latter call site extack is faked in the same way as
> is done in mlxsw (patch 12).
>
> While the conversion is going on, some error messages are silenced
> in between patch 1-12. If wanted could squash patch 1-12 in a v3, but
> I felt that it would be easier to review as 12 more trivial patches.
FWIIW, I like the easy to review approach taken here :)
> Patch 13 and 14, finishes up by converting qede_parse_actions(),
> and ensures that extack is propagated to it, in both call contexts.
..