Discussion:
DMA sync for bce(4) ring descriptors
(too old to reply)
Jonathan A. Kollasch
2009-05-27 20:10:55 UTC
Permalink
Hi,

bce(4) doesn't properly sync it's ring descriptors,
this becomes apparent on MIPS. I've been sitting on
this for quite a while, but I'd like someone to
bless this as being not-incorrect.

Attached is a patch, based mostly on how it's done in
nfe(4).

I've tested it on MIPS, but I don't have bce hardware in
an x86 box.

I'd also eventually like to have someone test a PCI bus
frontend and bus-independent backend split.

Jonathan Kollasch
Daniel Carosone
2009-05-28 00:41:51 UTC
Permalink
Post by Jonathan A. Kollasch
bce(4) doesn't properly sync it's ring descriptors,
this becomes apparent on MIPS. I've been sitting on
this for quite a while, but I'd like someone to
bless this as being not-incorrect.
Attached is a patch, based mostly on how it's done in
nfe(4).
I've tested it on MIPS, but I don't have bce hardware in
an x86 box.
I do and would be happy to test, though may not have an opportunity
for a few days. Someone else will have to comment on the patch
content, hopefully in the meantime.

--
Dan.

Loading...