idpf: add module register and probe functionality
authorPhani Burra <phani.r.burra@intel.com>
Tue, 8 Aug 2023 00:34:03 +0000 (17:34 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 13 Sep 2023 21:59:23 +0000 (14:59 -0700)
commite850efed5e152e6bdd367d5b82019f21298c0653
treec3a7883260c89a40fea3b24cf3e78ec0886e93a9
parent0d7502a9b4a7b7e99dea1dc90c2de6c31d015e26
idpf: add module register and probe functionality

Add the required support to register IDPF PCI driver, as well as
probe and remove call backs. Enable the PCI device and request
the kernel to reserve the memory resources that will be used by the
driver. Finally map the BAR0 address space.

Signed-off-by: Phani Burra <phani.r.burra@intel.com>
Co-developed-by: Alan Brady <alan.brady@intel.com>
Signed-off-by: Alan Brady <alan.brady@intel.com>
Co-developed-by: Madhu Chittim <madhu.chittim@intel.com>
Signed-off-by: Madhu Chittim <madhu.chittim@intel.com>
Co-developed-by: Shailendra Bhatnagar <shailendra.bhatnagar@intel.com>
Signed-off-by: Shailendra Bhatnagar <shailendra.bhatnagar@intel.com>
Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Co-developed-by: Pavan Kumar Linga <pavan.kumar.linga@intel.com>
Signed-off-by: Pavan Kumar Linga <pavan.kumar.linga@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/idpf/Makefile [new file with mode: 0644]
drivers/net/ethernet/intel/idpf/idpf.h [new file with mode: 0644]
drivers/net/ethernet/intel/idpf/idpf_controlq.h [new file with mode: 0644]
drivers/net/ethernet/intel/idpf/idpf_devids.h [new file with mode: 0644]
drivers/net/ethernet/intel/idpf/idpf_main.c [new file with mode: 0644]