OSDN Git Service

qlcnic: Allow SR-IOV VF probe in hypervisor.
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Fri, 9 May 2014 06:51:29 +0000 (02:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 May 2014 17:08:57 +0000 (13:08 -0400)
commit132a3f2bee7600366244097658c4c89ac99a8981
tree9f04577618d93f7da585944dbc759b13580185ed
parenta3ab3c13f1fe6eea92468ddd1681d41e133fe703
qlcnic: Allow SR-IOV VF probe in hypervisor.

o Add support for SR-IOV VF probe in hypervisor to enable
  assignment of VFs within hypervisor.
o SR-IOV VF can be uplinked to bridge/macvtap device with this change.
o Refactor SR-IOV enable/disable code. We cannot take rtnl lock
  while enabling/disabling SR-IOV as VF probe will take an rtnl
  lock.
o Disable spoofchk by default.

Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c