people/xl0/gpxe.git
13 years agoCleaned up some debug messages.
Michael Brown [Mon, 17 Sep 2007 09:56:21 +0000 (10:56 +0100)]
Cleaned up some debug messages.

13 years agoUnicasts seem to be working. :)
Michael Brown [Mon, 17 Sep 2007 09:39:30 +0000 (10:39 +0100)]
Unicasts seem to be working. :)

13 years agoDead code disabling
Michael Brown [Mon, 17 Sep 2007 07:41:06 +0000 (08:41 +0100)]
Dead code disabling

13 years agoObtains a response to the get path record!
Michael Brown [Mon, 17 Sep 2007 07:36:56 +0000 (08:36 +0100)]
Obtains a response to the get path record!

13 years agoUse pkey table access to determine broadcast GID directly.
Michael Brown [Mon, 17 Sep 2007 05:35:21 +0000 (06:35 +0100)]
Use pkey table access to determine broadcast GID directly.

13 years agoPrepare for adding a metadata queue to IPoIB
Michael Brown [Mon, 17 Sep 2007 05:12:33 +0000 (06:12 +0100)]
Prepare for adding a metadata queue to IPoIB

13 years agoDead code removal
Michael Brown [Mon, 17 Sep 2007 04:12:47 +0000 (05:12 +0100)]
Dead code removal

13 years agoIPoIB code separated out to ipoib.c.
Michael Brown [Mon, 17 Sep 2007 04:04:58 +0000 (05:04 +0100)]
IPoIB code separated out to ipoib.c.

13 years agoRead port GID directly using MAD IFC.
Michael Brown [Mon, 17 Sep 2007 01:54:15 +0000 (02:54 +0100)]
Read port GID directly using MAD IFC.

13 years agoMulticast join now works.
Michael Brown [Sun, 16 Sep 2007 23:24:44 +0000 (00:24 +0100)]
Multicast join now works.

13 years agoNow transmits packets on our own allocated IPoIB queue pair. :)
Michael Brown [Sun, 16 Sep 2007 21:53:57 +0000 (22:53 +0100)]
Now transmits packets on our own allocated IPoIB queue pair. :)

13 years agoAlmost working with own-queue allocation.
Michael Brown [Sun, 16 Sep 2007 21:47:45 +0000 (22:47 +0100)]
Almost working with own-queue allocation.

13 years agocreate_qp() and destroy_qp() now written (but not tested).
Michael Brown [Sun, 16 Sep 2007 19:54:21 +0000 (20:54 +0100)]
create_qp() and destroy_qp() now written (but not tested).

13 years agoStarted implementing create_qp() and destroy_qp().
Michael Brown [Sun, 16 Sep 2007 18:03:24 +0000 (19:03 +0100)]
Started implementing create_qp() and destroy_qp().

13 years agoDon't get stuck in an infinite loop on negative integers!
Michael Brown [Sun, 16 Sep 2007 16:39:29 +0000 (17:39 +0100)]
Don't get stuck in an infinite loop on negative integers!

13 years agoAdd fls() for non-constant values.
Michael Brown [Sun, 16 Sep 2007 16:36:40 +0000 (17:36 +0100)]
Add fls() for non-constant values.

13 years agoRevert to dev_priv/owner_priv scheme, rather than container_of; it
Michael Brown [Sun, 16 Sep 2007 16:25:15 +0000 (17:25 +0100)]
Revert to dev_priv/owner_priv scheme, rather than container_of; it
makes it easier to put the generic allocation code into infiniband.c

13 years agodestroy_cq() now implemented (not tested).
Michael Brown [Sun, 16 Sep 2007 13:39:51 +0000 (14:39 +0100)]
destroy_cq() now implemented (not tested).

13 years agocreate_cq() implemented (but not tested).
Michael Brown [Sun, 16 Sep 2007 13:18:17 +0000 (14:18 +0100)]
create_cq() implemented (but not tested).

13 years agoMatch doorbell layout to expected usage.
Michael Brown [Sun, 16 Sep 2007 12:10:15 +0000 (13:10 +0100)]
Match doorbell layout to expected usage.

13 years agoStarted to add code for CQ creation
Michael Brown [Sun, 16 Sep 2007 11:52:58 +0000 (12:52 +0100)]
Started to add code for CQ creation

13 years agoRearrange data structures to maximise embedding (and hence minimise
Michael Brown [Sun, 16 Sep 2007 03:02:20 +0000 (04:02 +0100)]
Rearrange data structures to maximise embedding (and hence minimise
the number of separate allocations that need to be done).

13 years agoCommand interface now reasonably friendly.
Michael Brown [Sun, 16 Sep 2007 02:13:25 +0000 (03:13 +0100)]
Command interface now reasonably friendly.

13 years agoFirst (working) draft of command interface.
Michael Brown [Sun, 16 Sep 2007 00:44:57 +0000 (01:44 +0100)]
First (working) draft of command interface.

13 years agoKill off more dead code.
Michael Brown [Sat, 15 Sep 2007 22:36:41 +0000 (23:36 +0100)]
Kill off more dead code.

13 years agopost_recv() now works, and we can pass data on the IPoIB queue pair
Michael Brown [Sat, 15 Sep 2007 22:33:25 +0000 (23:33 +0100)]
post_recv() now works, and we can pass data on the IPoIB queue pair
using entirely our own code.

13 years agoKill off some dead code
Michael Brown [Sat, 15 Sep 2007 20:26:14 +0000 (21:26 +0100)]
Kill off some dead code

13 years agoHack up IB structures at start-of-day, instead of on each use.
Michael Brown [Sat, 15 Sep 2007 20:23:34 +0000 (21:23 +0100)]
Hack up IB structures at start-of-day, instead of on each use.

13 years agoDirect polling of TX completion queue now works.
Michael Brown [Sat, 15 Sep 2007 19:58:29 +0000 (20:58 +0100)]
Direct polling of TX completion queue now works.

13 years agoAdd const attribute to byte-swapping functions
Michael Brown [Sat, 15 Sep 2007 17:44:35 +0000 (18:44 +0100)]
Add const attribute to byte-swapping functions

13 years agoUpdated MLX_* accessor macros to use implicit type information.
Michael Brown [Sat, 15 Sep 2007 17:44:09 +0000 (18:44 +0100)]
Updated MLX_* accessor macros to use implicit type information.

13 years agoStarted added poll_cq() verb.
Michael Brown [Sat, 15 Sep 2007 14:40:35 +0000 (15:40 +0100)]
Started added poll_cq() verb.

Started reworking MLX_EXTRACT(), MLX_POPULATE() etc. to automatically
determine type information.

13 years agoMap the whole of physical memory
Michael Brown [Sat, 15 Sep 2007 02:22:04 +0000 (03:22 +0100)]
Map the whole of physical memory

13 years agoarbel_post_send() has been observed to transmit a packet!
Michael Brown [Sat, 15 Sep 2007 01:53:05 +0000 (02:53 +0100)]
arbel_post_send() has been observed to transmit a packet!

13 years agoGets a response out of the hardware. (An error completion, to be precise.)
Michael Brown [Sat, 15 Sep 2007 00:35:07 +0000 (01:35 +0100)]
Gets a response out of the hardware.  (An error completion, to be precise.)

13 years agoPrefix arbel-specific functions etc. with arbel_
Michael Brown [Fri, 14 Sep 2007 23:27:09 +0000 (00:27 +0100)]
Prefix arbel-specific functions etc. with arbel_

13 years agoNow at least compiles
Michael Brown [Fri, 14 Sep 2007 23:19:38 +0000 (00:19 +0100)]
Now at least compiles

13 years agoStarting to introduce an Infiniband device abstraction
Michael Brown [Fri, 14 Sep 2007 19:29:44 +0000 (20:29 +0100)]
Starting to introduce an Infiniband device abstraction

13 years agoRemove some dead code
Michael Brown [Fri, 14 Sep 2007 10:23:06 +0000 (11:23 +0100)]
Remove some dead code

13 years agoNow handling TX completions in our poll loop.
Michael Brown [Fri, 14 Sep 2007 10:10:25 +0000 (11:10 +0100)]
Now handling TX completions in our poll loop.

13 years agoProof-of-concept to manually parse completion event
Michael Brown [Fri, 14 Sep 2007 09:18:09 +0000 (10:18 +0100)]
Proof-of-concept to manually parse completion event

13 years agoAdd EX_FLD_BE()
Michael Brown [Fri, 14 Sep 2007 09:17:29 +0000 (10:17 +0100)]
Add EX_FLD_BE()

13 years agoStart constructing a generic poll() routine.
Michael Brown [Thu, 13 Sep 2007 16:47:14 +0000 (17:47 +0100)]
Start constructing a generic poll() routine.

13 years agoCan now both send and receive packets. LL header format not yet
Michael Brown [Thu, 13 Sep 2007 13:43:12 +0000 (14:43 +0100)]
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.

13 years agoDump received packet, including GRH.
Michael Brown [Thu, 13 Sep 2007 02:15:27 +0000 (03:15 +0100)]
Dump received packet, including GRH.

13 years agoUse RFC4390 whenever hardware address exceeds 16 bytes; this allows us
Michael Brown [Thu, 13 Sep 2007 00:53:04 +0000 (01:53 +0100)]
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us
to construct DHCP packets suitable for Infiniband.

13 years agoNow sends IP packets correctly.
Michael Brown [Thu, 13 Sep 2007 00:14:56 +0000 (01:14 +0100)]
Now sends IP packets correctly.

13 years agoBugfix: DHCP message type should be a one-byte option... (d'oh)
Michael Brown [Thu, 13 Sep 2007 00:13:57 +0000 (01:13 +0100)]
Bugfix: DHCP message type should be a one-byte option... (d'oh)

13 years agoStarted IB driver rewrite
Michael Brown [Wed, 12 Sep 2007 21:17:43 +0000 (22:17 +0100)]
Started IB driver rewrite

13 years agoMerge branch 'master' into 3leaf-rewrite
Michael Brown [Tue, 11 Sep 2007 14:42:17 +0000 (15:42 +0100)]
Merge branch 'master' into 3leaf-rewrite

13 years agoMerge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown [Sun, 9 Sep 2007 12:31:38 +0000 (13:31 +0100)]
Merge branch 'master' of rom.etherboot.org:/gpxe

13 years agoUse "/bin/echo -e" instead of shell builtin echo; some shells don't
Michael Brown [Sat, 8 Sep 2007 22:38:17 +0000 (23:38 +0100)]
Use "/bin/echo -e" instead of shell builtin echo; some shells don't
implement the -e option.

(Thanks to Jim McQuillan for this suggestion.)

13 years agoCheck for correct block number in tftp_rx_data().
Michael Brown [Sat, 8 Sep 2007 18:30:25 +0000 (19:30 +0100)]
Check for correct block number in tftp_rx_data().

(Problem observed by Clay McClure in VMware Fusion.)

13 years agoRe-added the kpxe prefix. I have no idea when this disappeared.
Michael Brown [Sat, 8 Sep 2007 14:57:01 +0000 (15:57 +0100)]
Re-added the kpxe prefix.  I have no idea when this disappeared.

13 years agoAdd the possibility to create .o files from arbitrary binary blobs.
Michael Brown [Thu, 6 Sep 2007 14:11:09 +0000 (15:11 +0100)]
Add the possibility to create .o files from arbitrary binary blobs.

13 years agoAdded missing .kpxe prefix.
Michael Brown [Thu, 6 Sep 2007 14:08:41 +0000 (15:08 +0100)]
Added missing .kpxe prefix.

13 years agoMinor style fix: structure fields are generally initialised in the
Michael Brown [Thu, 6 Sep 2007 12:37:47 +0000 (13:37 +0100)]
Minor style fix: structure fields are generally initialised in the
order in which they occur.

13 years agoTFTP default blocksize fix from Vampyre
Marty Connor [Thu, 30 Aug 2007 17:51:38 +0000 (13:51 -0400)]
TFTP default blocksize fix from Vampyre

13 years agoallpxes allroms alldsks fixes from Vampyre
Marty Connor [Thu, 30 Aug 2007 17:08:46 +0000 (13:08 -0400)]
allpxes allroms alldsks fixes from Vampyre

13 years agoAdd sis900 variant (patch from Vampyre)
Marty Connor [Thu, 30 Aug 2007 12:36:00 +0000 (08:36 -0400)]
Add sis900 variant (patch from Vampyre)

13 years agoForce MAC address for testing purposes
Michael Brown [Wed, 29 Aug 2007 19:07:41 +0000 (20:07 +0100)]
Force MAC address for testing purposes

13 years agoMerge branch 'master' into curses
Holger Lubitz [Thu, 23 Aug 2007 21:15:54 +0000 (23:15 +0200)]
Merge branch 'master' into curses

Conflicts:

src/include/compiler.h
src/include/readline/readline.h

created by strings branch merge. resolved.

13 years agoMerge branch 'master' of git://git.etherboot.org/scm/gpxe
Holger Lubitz [Thu, 23 Aug 2007 21:10:59 +0000 (23:10 +0200)]
Merge branch 'master' of git://git.etherboot.org/scm/gpxe

13 years agoMerge commit 'holger/strings'
Michael Brown [Thu, 23 Aug 2007 20:51:57 +0000 (21:51 +0100)]
Merge commit 'holger/strings'

13 years agoMerge branch 'master' into 3leaf
Michael Brown [Thu, 23 Aug 2007 19:50:58 +0000 (20:50 +0100)]
Merge branch 'master' into 3leaf

13 years agoAuto-assign drive number only if set to 0xff; almost all applications
Michael Brown [Thu, 23 Aug 2007 19:50:24 +0000 (20:50 +0100)]
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.

13 years agoAllow legacy "make bin/etherboot.%".
Michael Brown [Wed, 22 Aug 2007 22:10:00 +0000 (23:10 +0100)]
Allow legacy "make bin/etherboot.%".

13 years agoMerge branch 'master' into 3leaf
Michael Brown [Tue, 21 Aug 2007 00:53:11 +0000 (01:53 +0100)]
Merge branch 'master' into 3leaf

13 years agouse malloc attribute
Holger Lubitz [Mon, 20 Aug 2007 18:30:24 +0000 (20:30 +0200)]
use malloc attribute

13 years agouse malloc attribute
Holger Lubitz [Mon, 20 Aug 2007 18:30:17 +0000 (20:30 +0200)]
use malloc attribute

13 years agouse malloc attribute
Holger Lubitz [Mon, 20 Aug 2007 18:30:11 +0000 (20:30 +0200)]
use malloc attribute

13 years agouse malloc attribute
Holger Lubitz [Mon, 20 Aug 2007 18:29:58 +0000 (20:29 +0200)]
use malloc attribute

13 years agouse malloc attribute
Holger Lubitz [Mon, 20 Aug 2007 18:29:50 +0000 (20:29 +0200)]
use malloc attribute

13 years agouse malloc attribute
Holger Lubitz [Mon, 20 Aug 2007 18:29:41 +0000 (20:29 +0200)]
use malloc attribute

13 years agouse malloc attribute
Holger Lubitz [Mon, 20 Aug 2007 18:29:30 +0000 (20:29 +0200)]
use malloc attribute

13 years agouse malloc attribute
Holger Lubitz [Mon, 20 Aug 2007 18:29:23 +0000 (20:29 +0200)]
use malloc attribute

13 years agouse malloc attribute
Holger Lubitz [Mon, 20 Aug 2007 18:29:09 +0000 (20:29 +0200)]
use malloc attribute

13 years agouse malloc attribute
Holger Lubitz [Mon, 20 Aug 2007 18:28:47 +0000 (20:28 +0200)]
use malloc attribute

13 years agouse malloc attribute
Holger Lubitz [Mon, 20 Aug 2007 18:28:23 +0000 (20:28 +0200)]
use malloc attribute

13 years agodefine malloc attribute
Holger Lubitz [Mon, 20 Aug 2007 18:28:11 +0000 (20:28 +0200)]
define malloc attribute

13 years ago__nonnull changes
Holger Lubitz [Sun, 19 Aug 2007 22:35:07 +0000 (00:35 +0200)]
__nonnull changes

13 years ago__nonnull changes
Holger Lubitz [Sun, 19 Aug 2007 22:34:59 +0000 (00:34 +0200)]
__nonnull changes

13 years ago__nonnull changes
Holger Lubitz [Sun, 19 Aug 2007 22:34:46 +0000 (00:34 +0200)]
__nonnull changes

13 years ago__nonnull changes
Holger Lubitz [Sun, 19 Aug 2007 22:34:39 +0000 (00:34 +0200)]
__nonnull changes

13 years ago__nonnull changes
Holger Lubitz [Sun, 19 Aug 2007 22:34:32 +0000 (00:34 +0200)]
__nonnull changes

13 years ago__nonnull changes
Holger Lubitz [Sun, 19 Aug 2007 22:34:17 +0000 (00:34 +0200)]
__nonnull changes

13 years ago__nonnull changes
Holger Lubitz [Sun, 19 Aug 2007 22:34:04 +0000 (00:34 +0200)]
__nonnull changes

13 years ago__nonnull changes
Holger Lubitz [Sun, 19 Aug 2007 22:33:55 +0000 (00:33 +0200)]
__nonnull changes

13 years ago__nonnull changes
Holger Lubitz [Sun, 19 Aug 2007 22:33:51 +0000 (00:33 +0200)]
__nonnull changes

13 years ago__nonnull changes
Holger Lubitz [Sun, 19 Aug 2007 22:32:51 +0000 (00:32 +0200)]
__nonnull changes

13 years ago__nonnull changes
Holger Lubitz [Sun, 19 Aug 2007 22:32:36 +0000 (00:32 +0200)]
__nonnull changes

13 years agodefine __nonnull
Holger Lubitz [Wed, 1 Aug 2007 23:01:01 +0000 (01:01 +0200)]
define __nonnull

13 years agodefine __pure and __const
Holger Lubitz [Wed, 1 Aug 2007 22:27:54 +0000 (00:27 +0200)]
define __pure and __const

13 years agoMerge branch 'master' of git://git.etherboot.org/scm/gpxe
Holger Lubitz [Sun, 19 Aug 2007 20:30:42 +0000 (22:30 +0200)]
Merge branch 'master' of git://git.etherboot.org/scm/gpxe

13 years agoAdded error IDs for all files in drivers/net; they're likely to need them.
Michael Brown [Sat, 18 Aug 2007 23:29:27 +0000 (00:29 +0100)]
Added error IDs for all files in drivers/net; they're likely to need them.

13 years agoMerge branch 'master' of git://git.etherboot.org/scm/gpxe
Holger Lubitz [Sat, 18 Aug 2007 23:29:29 +0000 (01:29 +0200)]
Merge branch 'master' of git://git.etherboot.org/scm/gpxe

13 years agoAdded error IDs for all files in drivers/net; they're likely to need them.
Michael Brown [Sat, 18 Aug 2007 23:29:27 +0000 (00:29 +0100)]
Added error IDs for all files in drivers/net; they're likely to need them.

13 years agoFix building on distros which use dash as the default shell.
Michael Brown [Sat, 18 Aug 2007 18:05:06 +0000 (19:05 +0100)]
Fix building on distros which use dash as the default shell.

13 years agoAdd barrier() primitive (was present in Eb5.4), used by some currently
Michael Brown [Sat, 18 Aug 2007 17:04:50 +0000 (18:04 +0100)]
Add barrier() primitive (was present in Eb5.4), used by some currently
out-of-tree driver code.

13 years agoAdd barrier() primitive (was present in Eb5.4), used by some currently
Michael Brown [Sat, 18 Aug 2007 17:04:50 +0000 (18:04 +0100)]
Add barrier() primitive (was present in Eb5.4), used by some currently
out-of-tree driver code.