Intel® Direct Ethernet Transport (Archived)

DET/DAPL on Fedora 13

The kernel driver OOPs-es on Fedora 13.
I've had to patch the kernel driver slightly to get it to compile at all:
- 'breakpoint' now does BUG() which causes the trace below.
- proc_fs's entries were changed slightly in kernel 2.4.33,
I removed the non-compiling bits.
Cheers,
Ronald.
=============

Ethernet Gigabit Diagnostics

Whiledeveloping an ethernet analyzer I was working around with the ethernet gigabit diagnostics registers (RDFT, RDFH, PBM) with a 82541 PCI Adapter and found, that the real frame data are always stored 8 Bytes after the RDFT location. At a closer look to these 8 Bytes I found the first 2 Bytes providing the frame size. Following of 2 bytes containing some magic frame information, following 4 bytes set to 0. Basically the first 2 Bytes are very helpful to keep track of the PBM (Packet Buffer) frames, I like to know the meaning of the 6 following bytes.

Direct Ethernet

I am trying to build the DET software on a Fedora Box and found a problem that prevents the kernel driver from compiling. I made a small change and was able to fix the problem.

In det_debug.h it attempts to define an 'assert' macro. Inside the definition of the macro is uses another macro 'BREAK()' which is suppose to call 'breakpoint()'. However, on my system the compiler flags this as an error. To get it to build, I just removed the 'BREAK()' in the macro and all the files build fine.

What I had to do.

mv det-1.1.0 det-1.1.1

edit det_debug.hpp as above

Подписаться на Intel® Direct Ethernet Transport (Archived)