]> www.infradead.org Git - users/dwmw2/linux.git/commit
eth: fbnic: Add register init to set PCIe/Ethernet device config
authorAlexander Duyck <alexanderduyck@fb.com>
Fri, 12 Jul 2024 15:49:23 +0000 (08:49 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Jul 2024 19:50:42 +0000 (12:50 -0700)
commit3646153161f1052972d9d2062d8c27b0e30c89f8
treeb39c5615ec9612b6ad2bd00335876e4ce4af7649
parent1a9d48892ea5bf27f359f40d96511acc3eecea58
eth: fbnic: Add register init to set PCIe/Ethernet device config

As a part of enabling the device the first step is to configure the AXI and
Ethernet interfaces to allow for basic traffic. This consists of
configuring several registers related to the PCIe and Ethernet FIFOs as
well as configuring the handlers for moving traffic between entities.

Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Link: https://patch.msgid.link/172079936376.1778861.15942501417449077552.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_csr.h
drivers/net/ethernet/meta/fbnic/fbnic_devlink.c
drivers/net/ethernet/meta/fbnic/fbnic_mac.c [new file with mode: 0644]
drivers/net/ethernet/meta/fbnic/fbnic_mac.h [new file with mode: 0644]
drivers/net/ethernet/meta/fbnic/fbnic_pci.c