From 2a65fe6e09cf58f60b7605d7e668715be90cdfa0 Mon Sep 17 00:00:00 2001 From: cihangir Date: Fri, 9 Aug 2024 06:39:39 -0400 Subject: [PATCH] generic: make log line a bit more detailed --- sys/dev/netmap/netmap_generic.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/dev/netmap/netmap_generic.c b/sys/dev/netmap/netmap_generic.c index eb98f0053..0f384b2ad 100644 --- a/sys/dev/netmap/netmap_generic.c +++ b/sys/dev/netmap/netmap_generic.c @@ -438,7 +438,10 @@ generic_mbuf_destructor(struct mbuf *m) unsigned int r_orig = r; if (unlikely(!nm_netmap_on(na) || r >= na->num_tx_rings)) { - nm_prerr("Error: no netmap adapter on device %s", na->name); + nm_prerr("Error: no netmap adapter on device %s hw RX %u TX %u host RX %u TX %u r %u", + na->name, na->num_rx_rings, na->num_tx_rings, + na->num_host_rx_rings, na->num_host_rx_rings, + r); return; }