]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Fix SR-IOV configuration
authorManish Chopra <manish.chopra@qlogic.com>
Tue, 1 Oct 2013 06:23:48 +0000 (02:23 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Oct 2013 16:34:59 +0000 (12:34 -0400)
commitc64b37ef1be490c73b108b7f36e05e145c146d12
treeb6d074c041165a1f8df097c2417d69ee1fdc8f01
parent3d36f6e0f54c0f317ce29db4bf2dc7a11cf2cb28
qlcnic: Fix SR-IOV configuration

o Interface needs to be brought down and up while configuring SR-IOV.
  Protect interface up/down using rtnl_lock()/rtnl_unlock()

Signed-off-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c