qlcnic: Support SR-IOV enable and disable
o Add QLCNIC_SRIOV to Kconfig. o Provide PCI sysfs hooks to enable and disable SR-IOV. o Allow enabling only when CONFIG_QLCNIC_SRIOV is defined. o qlcnic_sriov_pf.c has all the PF related SR-IOV functionality. o qlcnic_sriov_common.c has VF functionality and SR-IOV functionality which is common between VF and PF. o qlcnic_sriov.h is a common header file for SR-IOV defines. Signed-off-by:Manish Chopra <manish.chopra@qlogic.com> Signed-off-by:
Sucheta Chakraborty <sucheta.chakraborty@qlogic.com> Signed-off-by:
Rajesh Borundia <rajesh.borundia@qlogic.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/qlogic/Kconfig 10 additions, 0 deletionsdrivers/net/ethernet/qlogic/Kconfig
- drivers/net/ethernet/qlogic/qlcnic/Makefile 3 additions, 1 deletiondrivers/net/ethernet/qlogic/qlcnic/Makefile
- drivers/net/ethernet/qlogic/qlcnic/qlcnic.h 18 additions, 2 deletionsdrivers/net/ethernet/qlogic/qlcnic/qlcnic.h
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 4 additions, 0 deletionsdrivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h 1 addition, 0 deletionsdrivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.h
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c 14 additions, 2 deletionsdrivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_hdr.h 2 additions, 1 deletiondrivers/net/ethernet/qlogic/qlcnic/qlcnic_hdr.h
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.h 1 addition, 0 deletionsdrivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.h
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 7 additions, 1 deletiondrivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h 58 additions, 0 deletionsdrivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov.h
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c 40 additions, 0 deletionsdrivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 455 additions, 0 deletionsdrivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c
Loading
Please register or sign in to comment