diff options
| author | Ziwei Xiao <[email protected]> | 2024-06-25 00:12:27 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-06-26 00:48:33 +0000 |
| commit | 1108566ca509e67aa8abfbf914b1cd31e9ff51f8 (patch) | |
| tree | 914d0e31c5f77802d5dedbe2719e4fb2e6ee94d0 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | Merge branch 'ethtool-provide-the-dim-profile-fine-tuning-channel' (diff) | |
| download | kernel-1108566ca509e67aa8abfbf914b1cd31e9ff51f8.tar.gz kernel-1108566ca509e67aa8abfbf914b1cd31e9ff51f8.zip | |
gve: Add adminq mutex lock
We were depending on the rtnl_lock to make sure there is only one adminq
command running at a time. But some commands may take too long to hold
the rtnl_lock, such as the upcoming flow steering operations. For such
situations, it can temporarily drop the rtnl_lock, and replace it for
these operations with a new adminq lock, which can ensure the adminq
command execution to be thread-safe.
Signed-off-by: Ziwei Xiao <[email protected]>
Reviewed-by: Praveen Kaligineedi <[email protected]>
Reviewed-by: Harshitha Ramamurthy <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
