From: Suresh Reddy Date: Fri, 10 Jul 2015 09:32:50 +0000 (-0400) Subject: be2net: make SET_LOOPBACK_MODE cmd asynchrounous X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~369^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c8559750cd7b7936dd38810fc2110fc91d7d527;p=pandora-kernel.git be2net: make SET_LOOPBACK_MODE cmd asynchrounous The SET_LOOPBACK_MODE command is always issued from ethtool only in a process context. So, while waiting for the cmd to complete, the driver can sleep instead of holding spin_lock_bh() on the mcc_lock. This is done by calling be_mcc_notify() instead of be_mcc_notify_wait() (that returns only after the cmd completes while the MCCQ is locked). Signed-off-by: Suresh Reddy Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed