Date: Tue, 04 Apr 2023 20:07:54 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270636] Netmap leaks mbufs when receiving frames in generic mode on AMD Ryzen Message-ID: <bug-270636-227-j9LUNOkBZ5@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-270636-227@https.bugs.freebsd.org/bugzilla/> References: <bug-270636-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270636 --- Comment #2 from koverskeid@gmail.com --- (In reply to Mark Johnston from comment #1) For testing purposes, I use a simple test application written in C which us= es poll and the function below. void consume_packet(struct nm_desc* nmd) { unsigned int ri; unsigned int while_iteration; char* buf; int i; for (ri =3D nmd->first_rx_ring; ri <=3D nmd->last_rx_ring; ri++) { struct netmap_ring* rxring; rxring =3D NETMAP_RXRING(nmd->nifp, ri); while (!nm_ring_empty(rxring)) { i =3D rxring->cur; buf =3D NETMAP_BUF(rxring, rxring->slot[i].buf_idx); printEthernetHeader(buf); rxring->cur =3D rxring->head =3D nm_ring_next(rxring, i); } } } I cannot see any console messages or log messages from netmap on the host. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270636-227-j9LUNOkBZ5>