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)
commit1ed98ed55d6bf47d5a21b1e2db35ceb8b9a4c91c
treeb6d074c041165a1f8df097c2417d69ee1fdc8f01
parent7167cf0e8cd10287b7912b9ffcccd9616f382922
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