diff options
| author | Rui Paulo <rpaulo@FreeBSD.org> | 2015-04-11 06:20:46 +0000 |
|---|---|---|
| committer | Rui Paulo <rpaulo@FreeBSD.org> | 2015-04-11 06:20:46 +0000 |
| commit | d82f9014fa8e63a6cb1dbc9b9603e7b36ab1a6ec (patch) | |
| tree | 9259c200ec74a874291f09d78d21725fa422b62e /sys/dev/netmap | |
| parent | ee95847eedd430871dc64909642e5e365a6edfc8 (diff) | |
Notes
Diffstat (limited to 'sys/dev/netmap')
| -rw-r--r-- | sys/dev/netmap/netmap.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/netmap/netmap.c b/sys/dev/netmap/netmap.c index 5401df384914..11229ccf6b87 100644 --- a/sys/dev/netmap/netmap.c +++ b/sys/dev/netmap/netmap.c @@ -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: |
