diff options
author | Jason Wang <[email protected]> | 2023-07-20 04:38:38 -0400 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2024-03-19 03:19:22 -0400 |
commit | b9f7425239a09903629f71f719654983481b00aa (patch) | |
tree | 387181683222742253ab16824fc96ea4a37aaf00 /include/linux/fpga/fpga-mgr.h | |
parent | d5c0ed17fea60cca9bc3bf1278b49ba79242bbcd (diff) |
virtio-net: convert rx mode setting to use workqueue
This patch convert rx mode setting to be done in a workqueue, this is
a must for allow to sleep when waiting for the cvq command to
response since current code is executed under addr spin lock.
Note that we need to disable and flush the workqueue during freeze,
this means the rx mode setting is lost after resuming. This is not the
bug of this patch as we never try to restore rx mode setting during
resume.
Signed-off-by: Jason Wang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Shannon Nelson <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions