]> git.dujemihanovic.xyz Git - linux.git/commit
Merge branch 'net-qede-convert-filter-code-to-use-extack'
authorJakub Kicinski <kuba@kernel.org>
Sat, 11 May 2024 02:30:02 +0000 (19:30 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 May 2024 02:30:02 +0000 (19:30 -0700)
commit24e28b60b0649b3e84d81a6e7e1094c5b1f52842
tree18375c5aa452517e283f63041a90e2eaaa1f1380
parentd50729f1d60bca822ef6d9c1a5fb28d486bd7593
parent841548793bd6a4f394034137e65d9c221492ff5e
Merge branch 'net-qede-convert-filter-code-to-use-extack'

Asbjørn Sloth Tønnesen says:

====================
net: qede: convert filter code to use extack

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.

Patch 13 and 14, finishes up by converting qede_parse_actions(),
and ensures that extack is propagated to it, in both call contexts.

v1: https://lore.kernel.org/netdev/20240507104421.1628139-1-ast@fiberby.net/
====================

Link: https://lore.kernel.org/r/20240508143404.95901-1-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>