diff options
author | 2020-06-07 23:52:05 +0000 | |
---|---|---|
committer | 2020-06-07 23:52:05 +0000 | |
commit | 95b5dd68cd0fa32ebc515d75c237a688934a307e (patch) | |
tree | c880e27a8a505d1535f9a87bc14720e6c5bba4d5 /sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c | |
parent | add support for running taskq_barrier from a task inside the taskq. (diff) | |
download | wireguard-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_object.c')
0 files changed, 0 insertions, 0 deletions