[PATCH openEuler-5.10 088/146] net/mlx5: E-Switch, Change mode lock from mutex to rw semaphore