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

3032 Commits

Author SHA1 Message Date
Alex Forencich
448fa8eb4c Use SPDX
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-26 11:44:57 -07:00
Alex Forencich
0962811b38 Rename COPYING to LICENSE, use more generic license text
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-26 10:16:45 -07:00
Alex Forencich
9a93cfb5ad fpga/mqnic: Clean up readmes
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-26 00:08:49 -07:00
Alex Forencich
7d9528a6ae Update to latest version of cocotbext-pcie
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-25 18:56:53 -07:00
Alex Forencich
6ca5fbfd82 Merge PR #153
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-25 18:51:12 -07:00
Alex Forencich
edc5903157 fpga/common: Fix FIFO status connections
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-25 18:35:21 -07:00
Alex Forencich
344fcd45fc fpga/mqnic: Testbench parameter clean-up
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-24 01:25:25 -07:00
Alex Forencich
b84b6b53cc fpga/common/tb: Fix testbench name
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-24 00:57:02 -07:00
Alex Forencich
a7e4c9e6eb fpga/common/tb: Fix testbench parameters in mqnic_core_axi testbench
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-24 00:56:47 -07:00
Alex Forencich
045b0c1c68 merged changes in pcie 2023-06-23 22:49:05 -07:00
Alex Forencich
75126f1333 Configure RC model to split on all RCB boundaries during RX completion buffer tests
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-23 22:38:06 -07:00
Alex Forencich
fe7d8e229d Update cocotbext-pcie
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-23 22:37:30 -07:00
Alex Forencich
d730369671 Use correct offsets in testbench
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-23 02:39:22 -07:00
Alex Forencich
2f881e154a Adjust testbench timeouts
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-22 19:16:09 -07:00
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