summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorjmatthew <jmatthew@openbsd.org>2019-08-07 22:34:25 +0000
committerjmatthew <jmatthew@openbsd.org>2019-08-07 22:34:25 +0000
commit2fa30b922268cc463d0bbaa066b031e18180b633 (patch)
treee60893e397ff082f35a26ae866837d0baed12d21 /sys/dev/softraid.c
parentProcess admin queue responses in the interrupt handler, rather than (diff)
downloadwireguard-openbsd-2fa30b922268cc463d0bbaa066b031e18180b633.tar.xz
wireguard-openbsd-2fa30b922268cc463d0bbaa066b031e18180b633.zip
Handle VF resets. When the PF changes VF settings, the VF will be reset,
which means the driver has to set everything up again from scratch. When we detect a reset (identified by an interrupt with ICR 0xdeadbeef), schedule a task that sets up the admin queue, establishes communication with the PF, and configures the rx/tx queues again. The interface is taken down during the reset process.
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions