netmap: revert netmap_attach_ext() to pre-r343772

Reported by:	marius
MFC after:	1 week
This commit is contained in:
Vincenzo Maffione 2019-02-07 11:28:53 +00:00
parent 644b22ae36
commit 1ef2a88149

View File

@ -3711,8 +3711,7 @@ netmap_attach_ext(struct netmap_adapter *arg, size_t size, int override_reg)
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;