diff options
author | 2019-08-07 22:34:25 +0000 | |
---|---|---|
committer | 2019-08-07 22:34:25 +0000 | |
commit | 2fa30b922268cc463d0bbaa066b031e18180b633 (patch) | |
tree | e60893e397ff082f35a26ae866837d0baed12d21 /sys/dev/softraid.c | |
parent | Process admin queue responses in the interrupt handler, rather than (diff) | |
download | wireguard-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