Michael Brown
f6a8158eed
Make seek information part of the xfer metadata, rather than an entirely
separate xfer method.
Add missing .alloc_iob entries to several xfer_interface_operations
structures.
17 yıl önce
Michael Brown
3311169707
When the DHCP file/sname fields are empty, don't allow them to override
their equivalent DHCP-option-specified values.
17 yıl önce
Michael Brown
82bae302b1
Fix off-by-one error (discovered by Shao Miller).
17 yıl önce
Michael Brown
f3265b4bf8
Add preliminary support for MTFTP.
17 yıl önce
Michael Brown
1949641d10
Fix compiler warnings that appear only on OpenBSD.
17 yıl önce
Michael Brown
798f7f6b8e
Kill off some warnings-problematic debug statements in ndp.c; the code
is non-functional anyway.
17 yıl önce
Michael Brown
df868476e7
Various warnings fixups for OpenBSD with gcc-3.3.5.
17 yıl önce
Michael Brown
423e9d72f3
udp_open_promisc() calls udp_open_common() with peer==NULL.
17 yıl önce
Michael Brown
3b1efba864
Add RFC2090 TFTP multicast support.
17 yıl önce
Michael Brown
f770744ee0
Quick hack to be able to accept transfers from servers that don't
supply options.
17 yıl önce
Michael Brown
b3abf25e3c
Allow DHCP server to instruct gPXE to ignore ProxyDHCP (which will
also avoid waiting for ProxyDHCP offers).
Also reduce the ProxyDHCP timeout, because it's already irritating me.
17 yıl önce
Michael Brown
0becbf5fba
Add ProxyDHCP support.
17 yıl önce
Michael Brown
fb809da2df
Remove some assumptions about DHCP obtaining only a single options block.
17 yıl önce
Michael Brown
8d18338ae7
Add PXE-required DHCP options to DHCPDISCOVER and DHCPREQUEST packets.
17 yıl önce
Michael Brown
26f3a09ccf
Add UUID to DHCP request as option 97 (if available).
17 yıl önce
Michael Brown
c194b0c4bf
Work around a bug in the OpenSolaris iSCSI target.
We didn't specify values for MaxRecvDataSegmentLength and
MaxBurstLength (to save space, since we were happy with the
RFC-defined default values of 8kB and 256kB respectively). However,
the OpenSolaris target (incorrectly) assumes default values of zero
for these parameters.
The upshot was that the OpenSolaris target would get stuck in an
endless loop trying to send us the first 512-byte sector, zero bytes
at a time, and would eventually run out of memory and core-dump.
Fixed by explicitly specifying the default values for these two
parameters.
17 yıl önce
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 yıl önce
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 yıl önce
Michael Brown
1af346b531
Minor debug message improvement.
17 yıl önce
Michael Brown
af303db75d
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us
to construct DHCP packets suitable for Infiniband.
17 yıl önce
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 yıl önce
Michael Brown
387a1a8556
Minor debug message improvement.
17 yıl önce
Michael Brown
f6f1f2b7bb
Prepare for adding a metadata queue to IPoIB
17 yıl önce
Michael Brown
4e78a53cf2
IPoIB code separated out to ipoib.c.
17 yıl önce
Michael Brown
7e85f0d296
create_qp() and destroy_qp() now written (but not tested).
17 yıl önce
Michael Brown
251cc84ed6
Started implementing create_qp() and destroy_qp().
17 yıl önce
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 yıl önce
Michael Brown
37fc40bc8c
post_recv() now works, and we can pass data on the IPoIB queue pair
using entirely our own code.
17 yıl önce
Michael Brown
8deef093d9
Direct polling of TX completion queue now works.
17 yıl önce
Michael Brown
08e8dfd801
Now handling TX completions in our poll loop.
17 yıl önce
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 yıl önce
Michael Brown
7e4e5af462
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us
to construct DHCP packets suitable for Infiniband.
17 yıl önce
Michael Brown
771455653b
Bugfix: DHCP message type should be a one-byte option... (d'oh)
17 yıl önce
Michael Brown
c0d99245a9
Bugfix: DHCP message type should be a one-byte option... (d'oh)
17 yıl önce
Michael Brown
7b6d11e713
Started IB driver rewrite
17 yıl önce
Michael Brown
972f293e46
Check for correct block number in tftp_rx_data().
(Problem observed by Clay McClure in VMware Fusion.)
17 yıl önce
Michael Brown
00d93c6dd9
Minor style fix: structure fields are generally initialised in the
order in which they occur.
17 yıl önce
Marty Connor
14e1d3cc4d
TFTP default blocksize fix from Vampyre
17 yıl önce
Holger Lubitz
f92096d180
use malloc attribute
17 yıl önce
Holger Lubitz
bc9f960b66
use malloc attribute
17 yıl önce
Holger Lubitz
6f0eca1400
use malloc attribute
17 yıl önce
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 yıl önce
Michael Brown
0a3c2b80ea
Add start_timer_nodelay()
17 yıl önce
Michael Brown
9fd6a0418f
Allowed zero-cost enforced ordering of features in startup banner
list.
Added FEATURE() macros to most relevant (non-driver) files.
17 yıl önce
Michael Brown
67afe84292
Use otherwise-useless byte in DHCP feature option as a version number
17 yıl önce
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 yıl önce
Holger Lubitz
fdd5fbe3ae
fix gcc 4.2.1 warning: initialized field overwritten
17 yıl önce
Michael Brown
79691961ba
Add identifier for the network device into the DHCP request.
17 yıl önce
Michael Brown
5e26df0325
Centralise construction of the DHCP request and response packets.
17 yıl önce
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 yıl önce