What happens if you try two commands ‘ethtool -p ‘ and ‘ethtool ‘ in parallel.

If you start 'ethtool -p ' and also start 'ethtool ' after that, you may see the delays in 'ethtool ' command. It is because any ethtool commands start by taking 'rtnl_lock' and 'ethtool -p' is keep running for LED on/off. In the below, bnx2x's identity function just turns on or off the led. get_settings()… Continue reading What happens if you try two commands ‘ethtool -p ‘ and ‘ethtool ‘ in parallel.