Date: Tue, 25 Mar 2014 15:15:32 -0400 From: Ryan Stone <rysto32@gmail.com> To: Sean Fagan <sef@ixsystems.com> Cc: freebsd-net <freebsd-net@freebsd.org> Subject: Re: Non-interrupt packet sending and receiving Message-ID: <CAFMmRNxKAX9d0A=qCtX7f-NSKEM_4KcEZFMFvrzRVNzR=oWcKg@mail.gmail.com> In-Reply-To: <27D25BFC-7BB3-400F-8405-43B8D08135D2@ixsystems.com> References: <27D25BFC-7BB3-400F-8405-43B8D08135D2@ixsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
You might want to take a look at the projects/sv branch, which implement kernel core dumps over the network. We had to solve a similar problem there (in lem, em, igb and ixgbe) and ended up piggybacking on most of the DEVICE_POLLING code to do it. The work ended up stalling over objections over calling into the mbuf allocator (which I guess may be a stumbling block for your work). Unfortunately we weren't able to come up with a clean way to share the existing rx/tx paths in the drivers while separating the mbuf allocations out.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNxKAX9d0A=qCtX7f-NSKEM_4KcEZFMFvrzRVNzR=oWcKg>