net/ena: adjust logs
authorMichal Krawczyk <mk@semihalf.com>
Fri, 23 Jul 2021 10:24:49 +0000 (12:24 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 23 Jul 2021 15:42:25 +0000 (17:42 +0200)
commit617898d12a7232fa3fd5c16a04efc780c1a6f493
tree40d6436e4841482dece37867f5d8a44f5016643f
parent1e0857c3f79c72a512ce7cb4dd58bca04efc0b98
net/ena: adjust logs

ENA logs were not consistent regarding the new line character. Few of
them were relying on the new line character added by the PMD_*_LOG
macros, but most were adding the new line character by themselves. It
was causing ENA logs to add extra empty line after almost each log.

To unify this behavior, the missing new line characters were added to
the driver logs, and they were removed from the logging macros. After
this patch, every ENA log message should add '\n' at the end.

Moreover, the logging messages were adjusted in terms of wording
(removed unnecessary abbreviations), capitalizing of the words (start
sentences with capital letters, and use 'Tx/Rx' instead of 'tx/TX' etc.

Some of the logs were rephrased to make them more clear for the reader.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Shai Brandes <shaibran@amazon.com>
drivers/net/ena/ena_ethdev.c
drivers/net/ena/ena_logs.h