Michael Brown
c818d47e25
Restructured bits of initialisation (not testable at present)
17 years ago
Michael Brown
dc3165b746
Starting the firmware directly now works.
17 years ago
Michael Brown
0f62bcaa77
Start migrating the remaining initialisation steps.
17 years ago
Michael Brown
f3fcb53faf
Don't use the mailboxless version of the HW2SW_CQ command; it seems to
crash the machine.
17 years ago
Michael Brown
12b4cb964b
Removed more hacks, and adjusted number of queue entries for likely usage.
17 years ago
Michael Brown
11541b1e01
Remove hacks, and fix leaving the multicast GID.
17 years ago
Michael Brown
267a4483ab
Added an almost obscene amount of debugging and assertion code while
tracking down a bug that turned out to be a free_iob() used where I
needed a netdev_tx_complete(). This left the freed I/O buffer on the
net device's TX list, with bad, bad consequences later.
Also fixed the bug in question.
17 years ago
Michael Brown
bdac591726
Some interesting packet corruption happening now.
17 years ago
Michael Brown
2ed1acb9e9
Broadcast GID is now calculated by IPoIB layer.
17 years ago
Michael Brown
32a7bbb1e3
Cleaned up some debug messages.
17 years ago
Michael Brown
ab191e45db
Unicasts seem to be working. :)
17 years ago
Michael Brown
2209090120
Dead code disabling
17 years ago
Michael Brown
b3d3814c17
Obtains a response to the get path record!
17 years ago
Michael Brown
e05a8cd4de
Use pkey table access to determine broadcast GID directly.
17 years ago
Michael Brown
f6f1f2b7bb
Prepare for adding a metadata queue to IPoIB
17 years ago
Michael Brown
440e7926fb
Dead code removal
17 years ago
Michael Brown
4e78a53cf2
IPoIB code separated out to ipoib.c.
17 years ago
Michael Brown
67836430e6
Read port GID directly using MAD IFC.
17 years ago
Michael Brown
3c6a6bdc5d
Multicast join now works.
17 years ago
Michael Brown
96d0c75c00
Now transmits packets on our own allocated IPoIB queue pair. :)
17 years ago
Michael Brown
4ddb6570f8
Almost working with own-queue allocation.
17 years ago
Michael Brown
7e85f0d296
create_qp() and destroy_qp() now written (but not tested).
17 years ago
Michael Brown
251cc84ed6
Started implementing create_qp() and destroy_qp().
17 years ago
Michael Brown
b21d4ca21e
Revert to dev_priv/owner_priv scheme, rather than container_of; it
makes it easier to put the generic allocation code into infiniband.c
17 years ago
Michael Brown
e238bb1e43
destroy_cq() now implemented (not tested).
17 years ago
Michael Brown
18edcf6634
create_cq() implemented (but not tested).
17 years ago
Michael Brown
725a574042
Match doorbell layout to expected usage.
17 years ago
Michael Brown
5a43293c38
Started to add code for CQ creation
17 years ago
Michael Brown
156b409ccc
Rearrange data structures to maximise embedding (and hence minimise
the number of separate allocations that need to be done).
17 years ago
Michael Brown
791f992657
Command interface now reasonably friendly.
17 years ago
Michael Brown
bf9bd93856
First (working) draft of command interface.
17 years ago
Michael Brown
baa885ee8e
Kill off more dead code.
17 years ago
Michael Brown
37fc40bc8c
post_recv() now works, and we can pass data on the IPoIB queue pair
using entirely our own code.
17 years ago
Michael Brown
838b972cd3
Kill off some dead code
17 years ago
Michael Brown
31b82ea1dd
Hack up IB structures at start-of-day, instead of on each use.
17 years ago
Michael Brown
8deef093d9
Direct polling of TX completion queue now works.
17 years ago
Michael Brown
6a791649f0
Updated MLX_* accessor macros to use implicit type information.
17 years ago
Michael Brown
a3a91fedc1
Started added poll_cq() verb.
Started reworking MLX_EXTRACT(), MLX_POPULATE() etc. to automatically
determine type information.
17 years ago
Michael Brown
37a036bd48
Map the whole of physical memory
17 years ago
Michael Brown
970951666f
arbel_post_send() has been observed to transmit a packet!
17 years ago
Michael Brown
8b27da9de1
Gets a response out of the hardware. (An error completion, to be precise.)
17 years ago
Michael Brown
21d4ab3ce2
Prefix arbel-specific functions etc. with arbel_
17 years ago
Michael Brown
38a73b55c4
Now at least compiles
17 years ago
Michael Brown
9d08b7c692
Starting to introduce an Infiniband device abstraction
17 years ago
Michael Brown
75fbc96f75
Remove some dead code
17 years ago
Michael Brown
08e8dfd801
Now handling TX completions in our poll loop.
17 years ago
Michael Brown
e69863b5fb
Proof-of-concept to manually parse completion event
17 years ago
Michael Brown
e9df4f691e
Add EX_FLD_BE()
17 years ago
Michael Brown
da23e8d287
Start constructing a generic poll() routine.
17 years ago
Michael Brown
30a19c3f1c
Can now both send and receive packets. LL header format not yet
fixed; still using a quick hack-up just to be able to pass through
data.
17 years ago