Re: Non-interrupt packet sending and receiving

2014-03-28 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 03/28/14 15:46, Sean Fagan wrote: > Okay, I've taken the abandoned netdump code, gotten into 10.0 (what > I'm using for development right now), and restructure it to the > point where I can consider using it for my own purposes, while > still havi

Re: Non-interrupt packet sending and receiving

2014-03-28 Thread Sean Fagan
Okay, I've taken the abandoned netdump code, gotten into 10.0 (what I'm using for development right now), and restructure it to the point where I can consider using it for my own purposes, while still having it work for dumping a kernel over ethernet. Anyone want to take a look at the diffs I h

Re: Non-interrupt packet sending and receiving

2014-03-25 Thread Sean Fagan
On Mar 25, 2014, at 12:15 PM, Ryan Stone wrote: > 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

Re: Non-interrupt packet sending and receiving

2014-03-25 Thread Ryan Stone
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 c

Non-interrupt packet sending and receiving

2014-03-25 Thread Sean Fagan
This isn't the same as the polled driver; this is sending and receiving a single packet at a time. I've gotten (at least to a somewhat workable degree) Apple's KDP ported to FreeBSD. I've only changed the dev/e1000/if_lem.c driver for now (that's the one VMWare shows up as :)), but since I'm n