netmap: improve the netmap attach message on FreeBSD.
MFC after: 1 week
This commit is contained in:
parent
ee95847eed
commit
d82f9014fa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281406
@ -2710,11 +2710,17 @@ netmap_attach(struct netmap_adapter *arg)
|
||||
}
|
||||
#endif /* linux */
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
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);
|
||||
#else
|
||||
D("success for %s tx %d/%d rx %d/%d queues/slots",
|
||||
hwna->up.name,
|
||||
hwna->up.num_tx_rings, hwna->up.num_tx_desc,
|
||||
hwna->up.num_rx_rings, hwna->up.num_rx_desc
|
||||
);
|
||||
#endif
|
||||
return 0;
|
||||
|
||||
fail:
|
||||
|
Loading…
Reference in New Issue
Block a user