Date: Mon, 27 Jul 2015 22:54:24 +0800 From: Ben Woods <woodsb02@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: FreeBSD Current <freebsd-current@freebsd.org>, Sean Bruno <sbruno@freebsd.org> Subject: Re: E1000 mbuf leaks Message-ID: <CAOc73CDu=ayPQcYti_F2GP53oD%2BsNUP78%2BSzzetgLE-LZ9-1aA@mail.gmail.com> In-Reply-To: <55B60FC8.2020003@selasky.org> References: <55B60FC8.2020003@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, July 27, 2015, Hans Petter Selasky <hps@selasky.org> wrote: > Hi, > > I'm currently doing some busdma work, and possibly stepped over some > driver bugs. When "bus_dmamap_load_mbuf_sg()" returns ENOMEM the mbuf chain > is not freed. Is there some magic in "bus_dmamap_load_mbuf_sg()" for that > error code or is there a possible memory leak in all E1000 drivers? See > attached patch. Would this explain the high mbuf usage seen on pfsense when using the igb(4) or em(4) Intel NIC drivers? https://doc.pfsense.org/index.php/Tuning_and_Troubleshooting_Network_Cards#Intel_igb.284.29_and_em.284.29_Cards Regards, Ben -- -- From: Benjamin Woods woodsb02@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOc73CDu=ayPQcYti_F2GP53oD%2BsNUP78%2BSzzetgLE-LZ9-1aA>