From: Bernard Iremonger Date: Thu, 16 Jan 2020 12:44:49 +0000 (+0000) Subject: app/testpmd: improve flow command debug X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=eda749cd22aaafc2dbe8115b3add46408ead41e0;p=dpdk.git app/testpmd: improve flow command debug print function name in port_flow_complain() Signed-off-by: Bernard Iremonger Acked-by: Konstantin Ananyev --- diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 9da1ffb034..4ac763849b 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -1303,7 +1303,7 @@ port_flow_complain(struct rte_flow_error *error) errstr = "unknown type"; else errstr = errstrlist[error->type]; - printf("Caught error type %d (%s): %s%s: %s\n", + printf("%s(): Caught PMD error type %d (%s): %s%s: %s\n", __func__, error->type, errstr, error->cause ? (snprintf(buf, sizeof(buf), "cause: %p, ", error->cause), buf) : "",