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.
il y a 18 ans
Michael Brown
387a1a8556
Minor debug message improvement.
il y a 18 ans
Michael Brown
f6f1f2b7bb
Prepare for adding a metadata queue to IPoIB
il y a 18 ans
Michael Brown
4e78a53cf2
IPoIB code separated out to ipoib.c.
il y a 18 ans
Michael Brown
7e85f0d296
create_qp() and destroy_qp() now written (but not tested).
il y a 18 ans
Michael Brown
251cc84ed6
Started implementing create_qp() and destroy_qp().
il y a 18 ans
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
il y a 18 ans
Michael Brown
37fc40bc8c
post_recv() now works, and we can pass data on the IPoIB queue pair
using entirely our own code.
il y a 18 ans
Michael Brown
8deef093d9
Direct polling of TX completion queue now works.
il y a 18 ans
Michael Brown
08e8dfd801
Now handling TX completions in our poll loop.
il y a 18 ans
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.
il y a 18 ans
Michael Brown
7e4e5af462
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us
to construct DHCP packets suitable for Infiniband.
il y a 18 ans
Michael Brown
771455653b
Bugfix: DHCP message type should be a one-byte option... (d'oh)
il y a 18 ans
Michael Brown
c0d99245a9
Bugfix: DHCP message type should be a one-byte option... (d'oh)
il y a 18 ans
Michael Brown
7b6d11e713
Started IB driver rewrite
il y a 18 ans
Michael Brown
972f293e46
Check for correct block number in tftp_rx_data().
(Problem observed by Clay McClure in VMware Fusion.)
il y a 18 ans
Michael Brown
00d93c6dd9
Minor style fix: structure fields are generally initialised in the
order in which they occur.
il y a 18 ans
Marty Connor
14e1d3cc4d
TFTP default blocksize fix from Vampyre
il y a 18 ans
Holger Lubitz
f92096d180
use malloc attribute
il y a 18 ans
Holger Lubitz
bc9f960b66
use malloc attribute
il y a 18 ans
Holger Lubitz
6f0eca1400
use malloc attribute
il y a 18 ans
Michael Brown
2ff1b1245b
Use start_timer_nodelay() in protocols which rely on the retry timer
to generate the initial transmission; this cuts off around 0.3s per
instantiated connection.
il y a 18 ans
Michael Brown
0a3c2b80ea
Add start_timer_nodelay()
il y a 18 ans
Michael Brown
9fd6a0418f
Allowed zero-cost enforced ordering of features in startup banner
list.
Added FEATURE() macros to most relevant (non-driver) files.
il y a 18 ans
Michael Brown
67afe84292
Use otherwise-useless byte in DHCP feature option as a version number
il y a 18 ans
Michael Brown
0acb016840
Add FEATURE() macro, plus code to display features at startup time,
and generate DHCP options to indicate features to DHCP server (and to
PXE NBPs).
il y a 18 ans
Holger Lubitz
fdd5fbe3ae
fix gcc 4.2.1 warning: initialized field overwritten
il y a 18 ans
Michael Brown
79691961ba
Add identifier for the network device into the DHCP request.
il y a 18 ans
Michael Brown
5e26df0325
Centralise construction of the DHCP request and response packets.
il y a 18 ans
Michael Brown
847ac4f336
tls_change_cipher() can complain about null cipher and digest
algorithms; we only need the pubkey check disabled (and only because
pubkey algorithms are not yet integrated into the crypto_algorithm
subsystem).
il y a 18 ans
Michael Brown
60e3aa4d75
Change #warnings to FIXMEs, so that we can build without NO_WERROR=1
il y a 18 ans
Michael Brown
bf3d8fb1aa
Allowed HTTPS to be a separately configurable feature.
il y a 18 ans
Michael Brown
6fc9ed167e
TLS now working again.
il y a 18 ans
Michael Brown
43013da9bf
Quick hack to get AoE back in to the tree, on a par with the current
iSCSI hack.
il y a 18 ans
Holger Lubitz
e6cfa7ced9
make http_open static
il y a 18 ans
Holger Lubitz
fa11865de0
make add_ndp_entry static
il y a 18 ans
Michael Brown
47a86bca2d
Prepare for iBFT merge when possible. iscsiboot.c contains a really,
really ugly hack at present, but that doesn't hugely matter since I'm
aiming to change the interface to iSCSI devices anyway within the next
week.
il y a 18 ans
Michael Brown
9aa61ad5a2
Add per-file error identifiers
il y a 18 ans
Michael Brown
94415b7669
Added missing "static" declarations
il y a 18 ans
Michael Brown
f44969f7df
nameserver should be static
il y a 18 ans
Michael Brown
096fa94f0c
Add support for TCP timestamps
il y a 18 ans
Michael Brown
eb530845d4
Adjust received length to take into account any already-received data
in tcp_rx_data().
Clarify comments on discarding duplicate or out-of-order data.
il y a 18 ans
Michael Brown
d5735c631c
Avoid reusing auto-allocated ports after connection close.
il y a 18 ans
Michael Brown
b3e44a24b1
May be required in some disconnect scenarios
il y a 18 ans
Michael Brown
9dc6a1e678
Remove some obsolete stream-API files
il y a 18 ans
Michael Brown
fd4fcb57db
Add missing static
il y a 18 ans
Michael Brown
fabd0f5fec
Fix TX state machine and miscellaneous other bits.
il y a 18 ans
Michael Brown
ef9fd938d0
Fix root-path parsing.
il y a 18 ans
Michael Brown
b94420a52b
Ready to start testing
il y a 18 ans
Michael Brown
edd1b173a7
Code in place to use a hypothetical SCSI interface.
il y a 18 ans