net/ena/base: add device argument to logging macros
authorMichal Krawczyk <mk@semihalf.com>
Tue, 11 May 2021 06:45:38 +0000 (08:45 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 11 May 2021 13:00:43 +0000 (15:00 +0200)
commitac2fd8a5ea4cd71841542bfecb47912f5289b5dc
treea5f77e03d4ac674bace0004e2032aa05a4eb1c27
parentb4f8decd3875dd633bb46e7dc41c2060f1abc922
net/ena/base: add device argument to logging macros

Some platforms may make use of the device argument to make the logs more
verbose and specific for the appropriate device.

As it's not used by the ENA DPDK PMD for the logging, the type is just
defined, but never used.

It may be reconsidered to change this in the future by adding port ID
to the message logs, but as for now the logging behavior won't change.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Guy Tzalik <gtzalik@amazon.com>
drivers/net/ena/base/ena_com.c
drivers/net/ena/base/ena_com.h
drivers/net/ena/base/ena_eth_com.c
drivers/net/ena/base/ena_eth_com.h
drivers/net/ena/base/ena_plat_dpdk.h