Age | Commit message (Collapse) | Author |
|
all HCs.
ok patrick@
|
|
|
|
|
|
about buffer parameters. No behaviour change.
|
|
pool_item_header is now pool_page_header. the more useful change
is pool_list is now pool_cache_item. that's what items going into
the per cpu pool caches are cast to, and they get linked together
to make a list.
the functions operating on what is now pool_cache_items have been
renamed to make it more obvious what they manipulate.
|
|
OXM matchs, switch actions and switch instructions. With this validations
we don't have to rely on having a flawless controller and then we don't
need to restrict switch(4) usage with just switchd(8).
ok reyk@
|
|
This adds the last required bit of the KVP interface: providing
IP address info back to the Host on request. Normally the Host
is not specifying the address family and in this case we prefer
to report back the first IPv4 address we can find and resort to
IPv6 only when no IPv4 addresses are configured.
It also appears that the 5th version of the message format is
not publicly documented yet and IP address information request
messages differ from the 4th version so we have to take the
negotiated protocol version down a notch.
|
|
and swofp_mp_recv_port_desc(). We already have splnet() before calling
swofp_input().
ok reyk@
|
|
validations functions so it can returns errors with code 0. While here
fix some minor details: memory leak on duplicated instructions, remove
unused goto label, fix some whitespace/tab issues.
ok reyk@
|
|
|
|
context.
Convert them to timeout_set_proc(9).
|
|
This will allow to have a single lock/unlock dance per timer.
|
|
ok deraadt@
|
|
|
|
initial thread
ok jsing@ kettenis@
|
|
defer their creation to later, so that they are owned by BUILDUSER.
This eliminates the last root-owned files in obj/ from 'make build'.
In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc
to avoid creating bogus symlinks on all other archs.
joint work with & ok natano, "let's try it" deraadt
|
|
defer their creation to later, so that they are owned by BUILDUSER.
This eliminates the last root-owned files in obj/ from 'make build'.
In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc
to avoid creating bogus symlinks on all other archs.
joint work with & ok natano, "let's try it" deraadt
|
|
it instead.
If anything bad happen due to a malformed descriptor it makes no sense
to try to attach a driver, and bail before probing.
This is similar to the change to avoid calling usbd_set_config_index().
|
|
Feedback from miod@
|
|
doing requests like that causes lockups on boot.
reported by and this fix test by simon mages
|
|
1) Replace '.elif !exists(${OBJDIR}/Makefile)' with just '.else'. espie
pointed out, that if the file existed, make wouldn't be reading this
file, so the check is superflous. Less clutter.
2) Unconditionally define the 'clean' and 'cleandir' targets, also when
obj doesn't exist. This changes the behaviour of 'make clean' to be
successful (doing nothing) without obj@ or obj/.
ok tb millert deraadt
|
|
outside bonito(4).
ok miod@
|
|
|
|
interrupt drives all the cnmac ports.
ok stsp@
|
|
With input from reyk@, OK mpi
|
|
This change makes it possible for the Host to update the value
of an existing key via a Set operation as well as to remove the
key completely with a Delete message.
|
|
ok mikeb@
|
|
We need to ensure list and data consistency during concurrent
accesses since the interrupt handler is not executed under the
kernel lock and may add or modify entries while userland process
is reading the value or traversing the list.
|
|
|
|
The implemented abstraction allows us to query and set little
endian UTF-16 keys exchanged between the Host and the Guest via
a text based pvbus(4) interface.
All keys are attached to one of several key pools: Auto, Guest,
External or Guest/Parameters. The hostctl(8) is able to modify
values for keys in the Auto pool as well as set new keys in the
Guest pool while the Host provides its keys in External and
Guest/Parameters pools.
Discussed with reyk@
|
|
since they have a better clue how to size it.
While here, cleanup the kernel output a bit.
|
|
reply to avoid reference leaks.
ok mikeb@
|
|
|
|
|
|
|
|
reinstate the original of 115200
spotted by brad
|
|
Clang static analyser has found that a tsleep was using an uninitialised
pointer value as a wait channel. An associated wakeup wasn't doing the
right thing either.
|
|
|
|
it copies the existing pool code, except it works on pool_list
structures instead of pool_item structures.
after this id like to poison the words used by the TAILQ_ENTRY in
the pool_list struct that arent used until a list of items is moved
into the global depot.
|
|
it makes it more readable, and fixes a bug in pool_list_put where it
was returning the next item in the current list rather than the next
list to be freed.
|
|
Asked by and ok stsp@, ok jasper@
|
|
this is modelled on whats described in the "Magazines and Vmem:
Extending the Slab Allocator to Many CPUs and Arbitrary Resources"
paper by Jeff Bonwick and Jonathan Adams.
the main semantic borrowed from the paper is the use of two lists
of free pool items on each cpu, and only moving one of the lists
in and out of a global depot of free lists to mitigate against a
cpu thrashing against that global depot.
unlike slabs, pools do not maintain or cache constructed items,
which allows us to use the items themselves to build the free list
rather than having to allocate arrays to point at constructed pool
items.
the per cpu caches are build on top of the cpumem api.
this has been kicked a bit by hrvoje popovski and simon mages (thank you).
im putting it in now so it is easier to work on and test.
ok jmatthew@
|
|
Makes firmware load work reliably without the horrid tsleep() workaround hack.
Patch by Imre Vadasz
|
|
change the behavior on the system whose x2apic is disabled by BIOS.
ok sf
|
|
instead of hardcoding it. With this we can change the error type to
something else and get a more accurate description of what happened.
ok reyk@
|
|
return the error code and the return value to signal if the validation
was successful or not. With this we can signal some errors in the spec
that uses the value 0 (zero).
ok reyk@
|
|
raise the mtu to 9380 bytes so we can take advantage of the extra space.
i need to revisit the macro names at some point.
|
|
my early revision board doesnt like it at all
|
|
so c++ programs can use them.
OK jca@
|
|
Skip a network port if its PHY cannot be found.
Tested on Lanner MR-326B (has fdt) by pirofti@, and
on EdgeRouter Pro (has fdt) and on EdgeRouter Lite (no fdt) by me.
|