1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

3218 Commits

Author SHA1 Message Date
Alex Forencich
4798f2162d Remove extraneous parameters from pcie_us_axi_dma_wr testbench
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-22 18:14:34 -07:00
Alex Forencich
2306e51522 Example design parameter clean-up
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-22 18:08:44 -07:00
Alex Forencich
84eef7b90c Remove extraneous parameters from pcie_msix testbench
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-22 17:54:01 -07:00
Alex Forencich
aba315c9fc Add completion buffer tests to example driver
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-22 16:51:08 -07:00
Alex Forencich
95a735c226 Add completion buffer test to example design testbenches
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-22 16:50:39 -07:00
Alex Forencich
145e150ba4 Reorganize example design testbenches, run benchmark in testbench
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-22 16:49:53 -07:00
Alex Forencich
0db9fdd2b9 Test S10 example design with 2 segments by default
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-22 16:47:00 -07:00
Alex Forencich
0a53e7c990 Improve completion credit count tracking
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-22 16:45:00 -07:00
Joachim Foerster
12a90c6b71 modules/mqnic: Export existing dropped_packets counter per TX ring to netdev statistics
Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
2023-06-22 11:19:11 +02:00
Joachim Foerster
3a9401d02b lib/mqnic/.gitignore: Minor, add libmqnic.a
Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
2023-06-22 11:06:13 +02:00
Joachim Foerster
af22f5a43c utils/.gitignore: Minor, add mqnic-xcvr
Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
2023-06-22 11:06:13 +02:00
Joachim Foerster
bf09d80999 utils/Makefile: clean: Fix, also call target clean on libmqnic directory
Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
2023-06-22 11:06:12 +02:00
Alex Forencich
e59f5a03bd Update example designs based on results of buffer size tests
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-21 16:26:40 -07:00
Alex Forencich
acfd88a043 fpga/common: Update Stratix 10 core logic based on RX completion buffer size test results
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-21 16:12:58 -07:00
Alex Forencich
23595150dd Fix TLP mux pause
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-21 02:30:38 -07:00
Alex Forencich
1b2140a849 Add RX completion stall feature to example design for testing completion buffer
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-19 13:13:52 -07:00
Alex Forencich
f049e9bc37 fpga/common: Update US/US+ core logic based on RX completion buffer size test results
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-16 16:57:53 -07:00
Alex Forencich
ca655ca9fb Update example designs based on results of buffer size tests
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-16 16:55:42 -07:00
Alex Forencich
fde1f5d341 lib/mqnic: Attempt to locate miscdev via PCIe device so that userspace tools still work when specifying the PCIe BDF when the driver is loaded
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-16 14:55:20 -07:00
Alex Forencich
9536554c5a Add request and completion counters
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-13 15:41:10 -07:00
Alex Forencich
bf51c8b7bb Connect DMA engine busy status outputs
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-13 15:38:59 -07:00
Alex Forencich
b91076f6d3 Fix AXIS_PCIE_RQ_USER_WIDTH parameter for US+ devices
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-13 11:28:20 -07:00
Alex Forencich
0f566cba49 Support more PetaLinux releases
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-13 00:23:25 -07:00
Alex Forencich
731bb7f38a Add RCB to debug info
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-12 23:53:53 -07:00
Alex Forencich
902df50c96 modules/mqnic: Add RCB to debug info
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-12 23:52:52 -07:00
Alex Forencich
71c6f3167c modules/mqnic: Request I2C mux kernel module when necessary
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-12 15:36:43 -07:00
Alex Forencich
2c8b1d0e29 fpga/mqnic/520N_MX: Add 25G mqnic design for BittWare 520N-MX
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-12 15:36:26 -07:00
Alex Forencich
9f808c65b2 fpga/mqnic/DK_DEV_1SMX_H_A: Add virtual I2C switch to control modsel pins
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-11 02:05:37 -07:00
Alex Forencich
5099e4a3d5 fpga/mqnic/DK_DEV_AGF014EA: Add virtual I2C switch to control modsel pins
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-11 00:37:50 -07:00
Alex Forencich
a3e7cc4c77 modules/mqnic: Update board config in driver for ADM-PCIE-9V3, Nexus K35P-S, and Nexus K3P-S to support optical module communication
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-10 20:26:33 -07:00
Alex Forencich
f5c7dce04a fpga/mqnic/Nexus_K3P_S: Add virtual I2C switch to control modsel pins
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-10 20:24:41 -07:00
Alex Forencich
15fe14ab88 fpga/mqnic/Nexus_K35_S: Add virtual I2C switch to control modsel pins
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-10 20:24:08 -07:00
Alex Forencich
8a261b1307 fpga/mqnic/ADM_PCIE_9V3: Add virtual I2C switch to control modsel pins
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-10 20:21:56 -07:00
Alex Forencich
45d941b63b fpga/common: Add I2C single reg module
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-10 20:17:55 -07:00
Alex Forencich
397ea57cbd modules/mqnic: software_node struct must be static, just set I2C mux props for all clients instead of attempting to do something dynamic
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-10 20:14:29 -07:00
Alex Forencich
5638287413 fpga/mqnic: Fix P-tile parameter names
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-07 11:09:33 -07:00
Alex Forencich
4d2523449f fpga/mqnic/ZCU106: Update device tree for PetaLinux
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-02 23:13:38 -07:00
Alex Forencich
0ad2635b76 fpga/mqnic/ZCU102: Update device tree for PetaLinux
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-02 23:13:28 -07:00
Alex Forencich
a8c60e89ac fpga/mqnic/KR260: Add 10G mqnic design for Kria KR260
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-02 02:05:30 -07:00
Alex Forencich
2f134d1968 fpga/mqnic/ZCU102/fpga_zynqmp: Add support for Ubuntu for ZCU102 MPSoC
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-02 01:53:59 -07:00
Alex Forencich
beaf1c6fbf fpga/mqnic/ZCU106/fpga_zynqmp: Add support for Ubuntu for ZCU106 MPSoC
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-02 01:53:24 -07:00
Alex Forencich
f553be3b65 modules/mqnic: Assert reset during probe of platform device, if connected
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-01 23:17:54 -07:00
Alex Forencich
64cdae1ccf fpga: Update designs for RX completion buffer management
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-31 10:26:40 -07:00
Alex Forencich
c45be17cea fpga/common: Add busy status outputs to DMA IF instances
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-30 21:27:56 -07:00
Alex Forencich
ffe158f43c merged changes in pcie 2023-05-30 21:27:16 -07:00
Alex Forencich
9cee4f3808 Update example designs for RX completion buffer management
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-30 18:38:43 -07:00
Alex Forencich
3d2feb36dc Add completion buffer management logic to DMA interface modu
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-30 18:37:44 -07:00
Alex Forencich
972ec36ce8 Add RCB status output to PCIe model
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-30 18:37:12 -07:00
Alex Forencich
b2de81fbd9 Add RCB status output to shims
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-30 14:26:32 -07:00
Alex Forencich
f59c5b78c8 Minor refactor of PCIe read request TLP size computation signals
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-05-28 01:02:24 -07:00