mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
print 'netmap stack ring full' only in verbose mode.
This commit is contained in:
parent
f7f504c320
commit
5b24837478
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234986
@ -1067,7 +1067,8 @@ netmap_start(struct ifnet *ifp, struct mbuf *m)
|
||||
kring->nr_hwcur + kring->nr_hwavail, len);
|
||||
na->nm_lock(ifp, NETMAP_CORE_LOCK, 0);
|
||||
if (kring->nr_hwavail >= lim) {
|
||||
D("stack ring %s full\n", ifp->if_xname);
|
||||
if (netmap_verbose)
|
||||
D("stack ring %s full\n", ifp->if_xname);
|
||||
goto done; /* no space */
|
||||
}
|
||||
if (len > NETMAP_BUF_SIZE) {
|
||||
|
Loading…
Reference in New Issue
Block a user