qed: Add CONFIG_QED_SRIOV
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Wed, 11 May 2016 13:36:12 +0000 (16:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 May 2016 04:04:06 +0000 (00:04 -0400)
commit32a47e72c9eb17e3b1bb507184e788b10d69ad4b
treea81710060b8afe34ea556544508551114095b033
parent631ad4a3e74d998b089e75983c0c5bf893c94b62
qed: Add CONFIG_QED_SRIOV

Add support for a new Kconfig option for qed* driver which would allow
[eventually] the support in VFs.

This patch adds the necessary logic in the PF to learn about the possible
VFs it will have to support [Based on PCI configuration space and HW],
and prepare a database with an entry per-VF as infrastructure for future
interaction with said VFs.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/Kconfig
drivers/net/ethernet/qlogic/qed/Makefile
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_hw.c
drivers/net/ethernet/qlogic/qed/qed_hw.h
drivers/net/ethernet/qlogic/qed/qed_sriov.c [new file with mode: 0644]
drivers/net/ethernet/qlogic/qed/qed_sriov.h [new file with mode: 0644]
drivers/net/ethernet/qlogic/qed/qed_vf.h [new file with mode: 0644]