Re: [PATCH v2 3/3] testpmd: replace EAL logtype TESTPMD_LOG

2024-03-08 Thread Stephen Hemminger
On Fri, 8 Mar 2024 19:05:32 +0530 "Singh, Aman Deep" wrote: > > if (ret) { > > - RTE_LOG(ERR, EAL, "can not get port by device %s!\n", > > - device_name); > > + fprintf(stderr, "Can not get port by device %s!\n", > > devic

Re: [PATCH v2 3/3] testpmd: replace EAL logtype TESTPMD_LOG

2024-03-08 Thread Singh, Aman Deep
On 2/16/2024 9:06 AM, Stephen Hemminger wrote: Testpmd is misusing EAL logtype for some errors. Since the code directly has a macro for logging, use that. Signed-off-by: Stephen Hemminger Acked-by: Huisong Li fix testpmd --- app/test-pmd/testpmd.c | 42 +++-

[PATCH v2 3/3] testpmd: replace EAL logtype TESTPMD_LOG

2024-02-15 Thread Stephen Hemminger
Testpmd is misusing EAL logtype for some errors. Since the code directly has a macro for logging, use that. Signed-off-by: Stephen Hemminger Acked-by: Huisong Li fix testpmd --- app/test-pmd/testpmd.c | 42 +++--- 1 file changed, 15 insertions(+), 27 deletio