| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
drivers that implement rss and multiple rings depend on the symmetric
toeplitz code, and use it to generate a key that decides with rx
ring a packet lands on. if the toeplitz code is enabled, this diff
has the pcb and tcp layer use the toeplitz code to generate a flowid
for packets they send, which in turn is used to pick a tx ring.
because the nic and the stack use the same key, the tx and rx sides
end up with the same hash/flowid. at the very least this means that
the same rx and tx queue pair on a particular nic are used for both
sides of the connection. as the stack becomes more parallel, it
will also help keep both sides of the tcp connection processing in
the one place.
|
|
|
|
|
|
|
| |
mcx is still hardcoded/limited to 1 queue for now, but this lets
different mcx devices use different cpus for handling packets.
looks good jmatthew@
|
| |
|
| |
|
| |
|
|
|
|
| |
checked against linux and windows drivers
|
| |
|
|
|
|
| |
checked against linux and windows drivers
|
|
|
|
| |
reported and tested by John Batteen on a TP-Link TG-3468
|
| |
|
|
|
|
| |
shows up on a TP-Link TG-3468 John Batteen has
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change wires the pages used by virtual machines managed by vmm(4).
When uvm swaps out a page, vmm(4) does not properly do TLB flushing,
possibly leading to memory corruption or improper page access later.
While this diff is not the correct fix (implementing proper TLB flush
semantics), it does work around the problem by not letting the pages
get swapped out in the first place.
This means that under memory pressure, swap pages will have to come
from other processes, and it also means you cannot overcommit vmm(4)
memory assignment (eg, assign more memory to VMs than you actually
have).
It is my plan to fix this the correct way, but that will take time.
This issue was originally pointed out a long time ago by Maxime V., but
due to my taking a year away from OpenBSD, the issue remained unfixed.
|
|
|
|
| |
ok kettenis@
|
|
|
|
|
|
| |
IPMI. Use these calls to add support for impi(4) on PowerNV systems.
ok dlg@
|
|
|
|
|
|
|
|
| |
This includes ujoy_hid_is_collection() to work around limitations of
hid_is_collection() until this can be combined without fallout.
input, testing with 8bitdo controller, and ok brynet@
PS4 controller testing, fix for hid_is_collection, and ok mglocker@
|
|
|
|
|
|
|
| |
Claim to be a touchpad instead, which sets up ims devices in X11 to
be more like touchpads.
ok mglocker
|
|
|
|
| |
ok dlg@ bluhm@
|
|
|
|
| |
ok dlg@ kn@
|
|
|
|
| |
ok claudio@ mvs@
|
|
|
|
|
|
| |
Add a NULL check to prevent crash in pflog(4) introduced in previous
commit.
Reported-by: syzbot+c6d2f2ad34b822bce98a@syzkaller.appspotmail.com
|
|
|
|
|
|
| |
message "wroute" into dmesg. Since revision 1.263 pledge "wroute"
allows to change the routing table of a socket.
OK florian@ semarie@
|
|
|
|
|
|
|
|
| |
rdr-to, nat-to, af-to rules. The kernel uses the information from
the packet description and fills it into the fields in the pflog
header. While doing this, it is trival to figure out whether the
packet has been rewritten.
OK sashan@
|
|
|
|
|
|
|
| |
the EDK2-based UEFI firmware sets it to its own hardcoded values.
Makes device-tree mode work with newer versions of the Raspberry Pi firmware.
ok patrick@
|
|
|
|
|
|
|
|
| |
avoiding an unhelpful error message if the card's firmware doesn't expose
the sensor registers.
tested by chris@, who saw the unhelpful error message
ok dlg@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and af-to addresses and ports applied. Therefore it created a mbuf
chain on the stack with a partial copy. This is too complicated
for IP options, extension header, NAT46 af-to, and fragmented mbuf
chains. It even caused a crash in syzkaller. Usually the length
checks in pf_setup_pdesc() rejected the faked mbuf and the goto
copy logged the packet unmodified. Remove the pflog_mtap() function
and call bpf_mtap_hdr() directly. As the old buggy code was bypassed
in most cases, tcpdump(8) output of pflog does not change.
Uncondionally log the unmodified packet.
Reported-by: syzbot+947e89e06ac3fec187d0@syzkaller.appspotmail.com
OK sashan@
|
|
|
|
|
|
|
|
| |
console i/o still happens using ofw routines, which is Good Enough(tm)
for now. having a working machine means i can better test changes
now though.
ok deraadt@
|
|
|
|
| |
ok patrick@
|
|
|
|
| |
ok dlg@
|
|
|
|
| |
ok dlg@
|
|
|
|
| |
ok dlg@ kn@
|
|
|
|
| |
ok dlg@
|
|
|
|
| |
ok dlg@
|
|
|
|
| |
ok dlg@
|
| |
|
|
|
|
| |
ok tb@, deraadt@
|
|
|
|
| |
ok tb@, deraadt@
|
|
|
|
|
| |
moved option control into a sysctl.
reminder that we can delete this from benjamin baier
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A rwlock is attached to every amap and is shared with all its anon. The
same lock will be used by multiple amaps if they have anons in common.
This should be enough to get the upper part of the fault handler out of the
KERNEL_LOCK() which seems to bring up to 20% improvements in builds.
This is based/copied/adapted from the most recent work done in NetBSD which
is an evolution of the precendent simple_lock scheme.
Tested by many, thanks!
ok kettenis@, mvs@
|
| |
|
|
|
|
| |
ok dlg@
|
|
|
|
| |
ok dlg@
|
|
|
|
| |
ok dlg@
|
|
|
|
| |
ok dlg@
|
|
|
|
| |
ok mpi@
|
| |
|
| |
|
|
|
|
| |
ok sashan@
|
| |
|
|
|
|
| |
ok mpi@
|