Michael Brown
9ac0377fbb
Force a netdevice poll in net_tx() before attempting to transmit
packet, to work around the problem whereby small TX rings get backed
up because we haven't yet poll()ed for TX completions.
17 years ago
Michael Brown
2303c45d65
Force a netdevice poll in net_tx() before attempting to transmit
packet, to work around the problem whereby small TX rings get backed
up because we haven't yet poll()ed for TX completions.
17 years ago
Michael Brown
1af346b531
Minor debug message improvement.
17 years ago
Michael Brown
af303db75d
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us
to construct DHCP packets suitable for Infiniband.
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
387a1a8556
Minor debug message improvement.
17 years ago
Michael Brown
f6f1f2b7bb
Prepare for adding a metadata queue to IPoIB
17 years ago
Michael Brown
4e78a53cf2
IPoIB code separated out to ipoib.c.
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
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
8deef093d9
Direct polling of TX completion queue now works.
17 years ago
Michael Brown
08e8dfd801
Now handling TX completions in our poll loop.
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
Michael Brown
7e4e5af462
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us
to construct DHCP packets suitable for Infiniband.
17 years ago
Michael Brown
771455653b
Bugfix: DHCP message type should be a one-byte option... (d'oh)
17 years ago
Michael Brown
c0d99245a9
Bugfix: DHCP message type should be a one-byte option... (d'oh)
17 years ago
Michael Brown
7b6d11e713
Started IB driver rewrite
17 years ago
Michael Brown
972f293e46
Check for correct block number in tftp_rx_data().
(Problem observed by Clay McClure in VMware Fusion.)
17 years ago
Michael Brown
00d93c6dd9
Minor style fix: structure fields are generally initialised in the
order in which they occur.
17 years ago
Marty Connor
14e1d3cc4d
TFTP default blocksize fix from Vampyre
17 years ago
Holger Lubitz
f92096d180
use malloc attribute
17 years ago
Holger Lubitz
bc9f960b66
use malloc attribute
17 years ago
Holger Lubitz
6f0eca1400
use malloc attribute
17 years ago
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.
17 years ago
Michael Brown
0a3c2b80ea
Add start_timer_nodelay()
17 years ago
Michael Brown
9fd6a0418f
Allowed zero-cost enforced ordering of features in startup banner
list.
Added FEATURE() macros to most relevant (non-driver) files.
17 years ago
Michael Brown
67afe84292
Use otherwise-useless byte in DHCP feature option as a version number
17 years ago
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).
17 years ago
Holger Lubitz
fdd5fbe3ae
fix gcc 4.2.1 warning: initialized field overwritten
17 years ago
Michael Brown
79691961ba
Add identifier for the network device into the DHCP request.
17 years ago
Michael Brown
5e26df0325
Centralise construction of the DHCP request and response packets.
17 years ago
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).
17 years ago
Michael Brown
60e3aa4d75
Change #warnings to FIXMEs, so that we can build without NO_WERROR=1
17 years ago
Michael Brown
bf3d8fb1aa
Allowed HTTPS to be a separately configurable feature.
17 years ago
Michael Brown
6fc9ed167e
TLS now working again.
17 years ago
Michael Brown
43013da9bf
Quick hack to get AoE back in to the tree, on a par with the current
iSCSI hack.
17 years ago
Holger Lubitz
e6cfa7ced9
make http_open static
17 years ago
Holger Lubitz
fa11865de0
make add_ndp_entry static
17 years ago
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.
17 years ago
Michael Brown
9aa61ad5a2
Add per-file error identifiers
17 years ago
Michael Brown
94415b7669
Added missing "static" declarations
17 years ago
Michael Brown
f44969f7df
nameserver should be static
17 years ago
Michael Brown
096fa94f0c
Add support for TCP timestamps
17 years ago
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.
17 years ago
Michael Brown
d5735c631c
Avoid reusing auto-allocated ports after connection close.
17 years ago
Michael Brown
b3e44a24b1
May be required in some disconnect scenarios
17 years ago
Michael Brown
9dc6a1e678
Remove some obsolete stream-API files
17 years ago
Michael Brown
fd4fcb57db
Add missing static
17 years ago