0f62bcaa77
Start migrating the remaining initialisation steps.
Michael Brown2007-09-17 21:14:09 +01:00
f3fcb53faf
Don't use the mailboxless version of the HW2SW_CQ command; it seems to crash the machine.
Michael Brown2007-09-17 19:47:19 +01:00
12b4cb964b
Removed more hacks, and adjusted number of queue entries for likely usage.
Michael Brown2007-09-17 19:17:55 +01:00
11541b1e01
Remove hacks, and fix leaving the multicast GID.
Michael Brown2007-09-17 19:12:06 +01:00
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.
Michael Brown2007-09-17 19:01:10 +01:00
2c56ede6f8
Moved iobuf.h assertions outside the static inline functions, so that the assert message's file and line number gives some clue as to the real location of the problem.
Michael Brown2007-09-17 18:38:04 +01:00
bdac591726
Some interesting packet corruption happening now.
Michael Brown2007-09-17 13:31:13 +01:00
2ed1acb9e9
Broadcast GID is now calculated by IPoIB layer.
Michael Brown2007-09-17 11:50:25 +01:00
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
Michael Brown2007-09-16 17:25:15 +01:00
e238bb1e43
destroy_cq() now implemented (not tested).
Michael Brown2007-09-16 14:39:51 +01:00
18edcf6634
create_cq() implemented (but not tested).
Michael Brown2007-09-16 14:18:17 +01:00
156b409ccc
Rearrange data structures to maximise embedding (and hence minimise the number of separate allocations that need to be done).
Michael Brown2007-09-16 04:02:20 +01:00
791f992657
Command interface now reasonably friendly.
Michael Brown2007-09-16 03:13:25 +01:00
bf9bd93856
First (working) draft of command interface.
Michael Brown2007-09-16 01:44:57 +01:00
da23e8d287
Start constructing a generic poll() routine.
Michael Brown2007-09-13 17:47:14 +01:00
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.
Michael Brown2007-09-13 14:43:12 +01:00
99411e36da
Added netdev_priv() to ease Linux driver compatibility.
Michael Brown2007-09-13 13:34:38 +01:00
7e4e5af462
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us to construct DHCP packets suitable for Infiniband.
Michael Brown2007-09-13 01:53:04 +01:00
771455653b
Bugfix: DHCP message type should be a one-byte option... (d'oh)
Michael Brown2007-09-13 01:13:57 +01:00
01b755704a
Auto-assign drive number only if set to 0xff; almost all applications require that we use drive 0x80, so it should probably be the default.
Michael Brown2007-08-23 20:50:24 +01:00