eth: fbnic: Allocate core device specific structures and devlink interface
authorAlexander Duyck <alexanderduyck@fb.com>
Fri, 12 Jul 2024 15:49:20 +0000 (08:49 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Jul 2024 19:50:42 +0000 (12:50 -0700)
commit1a9d48892ea5bf27f359f40d96511acc3eecea58
tree166b718bea9b38bdacd87657ff98724b5c995a98
parent546dd90be97913c775b5bcd20b665f4ff5df9cd4
eth: fbnic: Allocate core device specific structures and devlink interface

At the core of the fbnic device will be the devlink interface. This
interface will eventually provide basic functionality in the event that
there are any issues with the network interface.

Add support for allocating the MSI-X vectors and setting up the BAR
mapping. With this we can start enabling various subsystems and start
brining up additional interfaces such the AXI fabric and the firmware
mailbox.

Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Link: https://patch.msgid.link/172079936012.1778861.4670986685222676467.stgit@ahduyck-xeon-server.home.arpa
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/meta/fbnic/Makefile
drivers/net/ethernet/meta/fbnic/fbnic.h
drivers/net/ethernet/meta/fbnic/fbnic_devlink.c [new file with mode: 0644]
drivers/net/ethernet/meta/fbnic/fbnic_irq.c [new file with mode: 0644]
drivers/net/ethernet/meta/fbnic/fbnic_pci.c