Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fpga: dfl: pci: add device IDs for Silicom N501x PAC cards

This adds the approved PCI Express Device IDs for the Silicom PAC N5010
and N5011 cards (aka. Silicom Lightning Creek cards).

The N5010 features an FPGA that manages/interfaces four QSFP ports, and
allows on-board custom packet processing/filtering/routing, based on
logic loaded with user-provided FPGA bitstreams.

The N5011 cards adds a PCIe switch that exposes, in addition to the FPGA
itself, two Intel E810 (aka Columbiaville) ethernet controllers. With
this, packets can be forwarded from the FPGA to the host for further
processing.

Signed-off-by: Martin Hundebøll <mhu@silicom.dk>
Acked-by: Wu Hao <hao.wu@intel.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>

authored by

Martin Hundebøll and committed by
Moritz Fischer
82fb70b8 0a05cdf1

+5
+5
drivers/fpga/dfl-pci.c
··· 74 74 #define PCIE_DEVICE_ID_PF_DSC_1_X 0x09C4 75 75 #define PCIE_DEVICE_ID_INTEL_PAC_N3000 0x0B30 76 76 #define PCIE_DEVICE_ID_INTEL_PAC_D5005 0x0B2B 77 + #define PCIE_DEVICE_ID_SILICOM_PAC_N5010 0x1000 78 + #define PCIE_DEVICE_ID_SILICOM_PAC_N5011 0x1001 79 + 77 80 /* VF Device */ 78 81 #define PCIE_DEVICE_ID_VF_INT_5_X 0xBCBF 79 82 #define PCIE_DEVICE_ID_VF_INT_6_X 0xBCC1 ··· 93 90 {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_PAC_N3000),}, 94 91 {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_PAC_D5005),}, 95 92 {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_PAC_D5005_VF),}, 93 + {PCI_DEVICE(PCI_VENDOR_ID_SILICOM_DENMARK, PCIE_DEVICE_ID_SILICOM_PAC_N5010),}, 94 + {PCI_DEVICE(PCI_VENDOR_ID_SILICOM_DENMARK, PCIE_DEVICE_ID_SILICOM_PAC_N5011),}, 96 95 {0,} 97 96 }; 98 97 MODULE_DEVICE_TABLE(pci, cci_pcie_id_tbl);