aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/netns.py
diff options
context:
space:
mode:
authorKalesh AP <[email protected]>2024-05-01 00:30:54 +0000
committerJakub Kicinski <[email protected]>2024-05-02 14:27:20 +0000
commitde21ec442d411b17a2386cb6683acd18b047506d (patch)
tree39bc1b1ac845a8736970a7f919b8ddeef000e58d /tools/testing/selftests/net/lib/py/netns.py
parentbnxt_en: Don't call ULP_STOP/ULP_START during L2 reset (diff)
downloadkernel-de21ec442d411b17a2386cb6683acd18b047506d.tar.gz
kernel-de21ec442d411b17a2386cb6683acd18b047506d.zip
bnxt_en: Add a mutex to synchronize ULP operations
The current scheme relies heavily on the RTNL lock for all ULP operations between the L2 and the RoCE driver. Add a new en_dev_lock mutex so that the asynchronous ULP_STOP and ULP_START operations can be serialized with bnxt_register_dev() and bnxt_unregister_dev() calls without relying on the RTNL lock. The next patch will remove the RTNL lock from the ULP_STOP and ULP_START calls. Reviewed-by: Selvin Thyparampil Xavier <[email protected]> Reviewed-by: Vikas Gupta <[email protected]> Reviewed-by: Pavan Chebbi <[email protected]> Signed-off-by: Kalesh AP <[email protected]> Signed-off-by: Michael Chan <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/netns.py')
0 files changed, 0 insertions, 0 deletions