svn commit: r343867 - head/sys/dev/netmap
Vincenzo Maffione
vmaffione at FreeBSD.org
Thu Feb 7 11:28:54 UTC 2019
Author: vmaffione
Date: Thu Feb 7 11:28:53 2019
New Revision: 343867
URL: https://svnweb.freebsd.org/changeset/base/343867
Log:
netmap: revert netmap_attach_ext() to pre-r343772
Reported by: marius
MFC after: 1 week
Modified:
head/sys/dev/netmap/netmap.c
Modified: head/sys/dev/netmap/netmap.c
==============================================================================
--- head/sys/dev/netmap/netmap.c Thu Feb 7 10:44:53 2019 (r343866)
+++ head/sys/dev/netmap/netmap.c Thu Feb 7 11:28:53 2019 (r343867)
@@ -3711,8 +3711,7 @@ netmap_attach_ext(struct netmap_adapter *arg, size_t s
hwna->up.nm_dtor = netmap_hw_dtor;
}
- nm_prinf("%s: netmap queues/slots: TX %d/%d, RX %d/%d\n",
- hwna->up.name,
+ if_printf(ifp, "netmap queues/slots: TX %d/%d, RX %d/%d\n",
hwna->up.num_tx_rings, hwna->up.num_tx_desc,
hwna->up.num_rx_rings, hwna->up.num_rx_desc);
return 0;
More information about the svn-src-all
mailing list