On 2/23/2022 10:28 AM, Jiawen Wu wrote:
Remove 'DEBUGFUNC' due to too many invalid debug log prints, unify the
DEBUG level macros.

Fixes: 7dc117068a7c ("net/txgbe: support probe and remove")
Cc:sta...@dpdk.org

Signed-off-by: Jiawen Wu<jiawe...@trustnetic.com>
---
  drivers/net/txgbe/base/meson.build    |   2 +-
  drivers/net/txgbe/base/txgbe_eeprom.c |  41 ++----
  drivers/net/txgbe/base/txgbe_hw.c     | 202 ++++++--------------------
  drivers/net/txgbe/base/txgbe_mbx.c    |  38 -----
  drivers/net/txgbe/base/txgbe_mng.c    |  21 +--
  drivers/net/txgbe/base/txgbe_osdep.h  |   1 +
  drivers/net/txgbe/base/txgbe_phy.c    |  84 ++---------
  drivers/net/txgbe/base/txgbe_vf.c     |  12 +-
  drivers/net/txgbe/txgbe_logs.h        |   7 +-
  9 files changed, 79 insertions(+), 329 deletions(-)

diff --git a/drivers/net/txgbe/base/meson.build 
b/drivers/net/txgbe/base/meson.build
index 7a30191472..09da79af40 100644
--- a/drivers/net/txgbe/base/meson.build
+++ b/drivers/net/txgbe/base/meson.build
@@ -22,6 +22,6 @@ foreach flag: error_cflags
  endforeach
base_lib = static_library('txgbe_base', sources,
-    dependencies: static_rte_eal,
+    dependencies: [static_rte_eal, static_rte_ethdev],

Is this because of 'RTE_ETHER_ADDR_PRT_FMT' macro?
If so dependency should be 'static_rte_net', not ethdev.

Reply via email to