summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2020-06-07 23:52:05 +0000
committerdlg <dlg@openbsd.org>2020-06-07 23:52:05 +0000
commit95b5dd68cd0fa32ebc515d75c237a688934a307e (patch)
treec880e27a8a505d1535f9a87bc14720e6c5bba4d5 /sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c
parentadd support for running taskq_barrier from a task inside the taskq. (diff)
downloadwireguard-openbsd-95b5dd68cd0fa32ebc515d75c237a688934a307e.tar.xz
wireguard-openbsd-95b5dd68cd0fa32ebc515d75c237a688934a307e.zip
build on mpi's work toward ix multiq support.
this calls if_attach_queues and if_attach_iqueues to allocate an ifq and ifiq per tx ring and rx ring respectivly, and then tie them together. ix rx rings deliver packets into ifiqs, and ifqs push packets onto ix tx rings. the return value from ifiq_input is also used to tell the if_rxr stuff to back off. this also makes the rx refill timeout per rx ring instead of per interface, and makes it only schedule the timeout when the ring is completely empty to avoid races with normal rx ring operation. tested by hrvoje popovski ok jmatthew@
Diffstat (limited to 'sys/dev/pci/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions