net/sfc: improve logging in MAE backend of flow API
authorIvan Malov <ivan.malov@oktetlabs.ru>
Wed, 21 Jul 2021 04:15:05 +0000 (07:15 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 23 Jul 2021 21:27:08 +0000 (23:27 +0200)
commit73b91412ca5f7c5d1bb97e6fcc608afed19b25ef
treedfbab9770b0a39b182e5ca07b32c347b19284ec5
parentf1893715ce88c405b99860043468466b2e89ca02
net/sfc: improve logging in MAE backend of flow API

Errors detected during parsing of pattern items and actions
are reflected by setting RTE error, but the name of the bad
element is not disclosed, thus leaving the user to join the
dots themselves. Adjust the code to log missing information.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
drivers/net/sfc/sfc_flow.c
drivers/net/sfc/sfc_flow.h
drivers/net/sfc/sfc_mae.c