Date: Thu, 7 Feb 2019 11:28:54 +0000 (UTC) From: Vincenzo Maffione <vmaffione@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r343867 - head/sys/dev/netmap Message-ID: <201902071128.x17BSstM061760@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902071128.x17BSstM061760>