mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
netmap: ring size limit not enough for multi-queue em(4)
Also mutes a spammy message. Bravely going where no man has gone before. :)
This commit is contained in:
parent
9832fead8f
commit
36fb07bfef
2 changed files with 2 additions and 2 deletions
|
|
@ -4331,7 +4331,7 @@ netmap_transmit(if_t ifp, struct mbuf *m)
|
|||
if (busy < 0)
|
||||
busy += kring->nkr_num_slots;
|
||||
if (busy + mbq_len(q) >= kring->nkr_num_slots - 1) {
|
||||
nm_prlim(2, "%s full hwcur %d hwtail %d qlen %d", na->name,
|
||||
nm_prdis(2, "%s full hwcur %d hwtail %d qlen %d", na->name,
|
||||
kring->nr_hwcur, kring->nr_hwtail, mbq_len(q));
|
||||
} else {
|
||||
mbq_enqueue(q, m);
|
||||
|
|
|
|||
|
|
@ -565,7 +565,7 @@ struct netmap_mem_d nm_mem = { /* Our memory allocator. */
|
|||
.num = 100,
|
||||
},
|
||||
[NETMAP_RING_POOL] = {
|
||||
.size = 9*PAGE_SIZE,
|
||||
.size = 18*PAGE_SIZE,
|
||||
.num = 200,
|
||||
},
|
||||
[NETMAP_BUF_POOL] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue