Alex Forencich
4d2c2071cc
modules/mqnic: Fix kernel version ifdef for netif_napi_add
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-07-03 22:54:34 -07:00
Wesley New
a5e810eedc
Minor fixes to getingstarted document
...
I have updated the docs with a couple of minor writing fixes
2023-07-03 22:52:07 -07:00
Alex Forencich
9f1f27bc8b
scripts: Perform verbose dumps in test script
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-27 23:35:33 -07:00
Alex Forencich
cc202ce45d
utils: Add verbose option to mqnic-dump; hide disabled queues, scheduler state, and zero-valued statistics counters by default
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-27 23:31:28 -07:00
Alex Forencich
82df10a356
modules/mqnic: Add missing priv reference
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-27 00:04:09 -07:00
Alex Forencich
6887a4a004
fpga/mqnic/KR260: fix symlink
...
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2023-06-26 15:20:53 -07:00
Ulrich Langenbach
21f5a758c9
modules/mqnic: use unsigned short for I2C addresses
...
the i2c_client defines i2c addresses as unsigned short so we follow
this style
2023-06-26 12:10:27 -07:00
Ulrich Langenbach
b1f14659d9
modules/mqnic: sfp module eeprom i2c address adjustment for full access
...
* the optical diagnostics data is provided by the SFP modules
using another I2C address, which must be set via the I2C client
2023-06-26 12:10:27 -07:00
Ulrich Langenbach
6bd8ae031f
modules/mqnic: fix SFP EEPROM readout to support optical module diagnosis
...
* fix offset check for allowing an offset of exactly 256 Bytes
* fix allowing the I2C address of 0x51 to access the optical SFP modules
diagnosis information, see SFF8472 rev 12.4 p. 8
2023-06-26 12:10:27 -07:00
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