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

2558 Commits

Author SHA1 Message Date
Alex Forencich
53f3547ef5 Rework hierarchy to move port-specific logic out of mqnic_core and into mqnic_interface and new port-level modules
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-29 14:32:57 -07:00
Alex Forencich
2d5e82f42a apps: Fix application module symbol search path to include core mqnic module
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-25 00:48:56 -07:00
Alex Forencich
56641b3471 modules/mqnic: Export symbols
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-25 00:47:37 -07:00
Alex Forencich
e4de3c2fb5 modules/mqnic: Consistent naming of driver functions and structs
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-24 23:01:15 -07:00
Alex Forencich
cc9d445005 Move driver-specific code out of mqnic_hw.h
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-24 22:54:04 -07:00
Alex Forencich
698fd2f104 Consistent naming of library functions and structs
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-24 22:51:37 -07:00
Alex Forencich
d5c2566dff Add statistics collection for AXI DMA IF
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-23 13:12:50 -07:00
Alex Forencich
2bd8350276 Add RX queue mapping module
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-23 00:12:22 -07:00
Alex Forencich
1b3caa1f0f Fix reg block enumeration to properly handle NULL register blocks
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-22 23:27:15 -07:00
Alex Forencich
f4d2662dff Fix find_reg_block handling of NULL register blocks
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-22 23:25:15 -07:00
Alex Forencich
28bbae908b fpga/common: Store receive queue index in packet object in driver model
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-22 19:04:26 -07:00
Alex Forencich
5ae58e751f modules/mqnic: Use eth_hw_addr_set when available
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-22 18:46:40 -07:00
Alex Forencich
ba70ae2521 fpga/mqnic/fb2CG: Add integrations for template and DMA benchmark applications on fb2CG@KU15P
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-21 14:20:40 -07:00
Alex Forencich
d45857fb98 fpga/app/dma_bench: Add DMA benchmark application
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-21 14:19:43 -07:00
Alex Forencich
6044b75fa3 fpga/app/template: Add extension kernel module for template application
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-21 13:43:36 -07:00
Alex Forencich
e2cf0947ae fpga/app/template: Add utility for template application
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-21 13:42:56 -07:00
Alex Forencich
65a986cc89 modules/mqnic: Add support for extension kernel modules using the auxiliary bus
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-21 13:18:00 -07:00
Alex Forencich
7f8bbe30de Add application ID
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-21 13:15:45 -07:00
Alex Forencich
dbe0dc70ee modules/mqnic: Remove obsolete PHC entries
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-20 21:29:56 -07:00
Alex Forencich
ba70498518 fpga: Add DMA immediate connections and parameters
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-20 15:00:58 -07:00
Alex Forencich
aaadae3809 merged changes in pcie 2022-04-20 00:44:33 -07:00
Alex Forencich
0b815522b0 Sync example design testbenches
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-20 00:43:55 -07:00
Alex Forencich
e4b1df0ddb Fix immediate enable register implementation in example design
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-20 00:43:21 -07:00
Alex Forencich
f6397865e2 fpga/mqnic/fb2CG: Remove old comments from config.tcl scripts
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-19 23:35:51 -07:00
Alex Forencich
ffc0a70c40 Update scripts to use setpci built-in bit masking
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-19 23:18:50 -07:00
Alex Forencich
c58585036e lib/mqnic: Add mqnic_print_fw_id
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-19 13:37:54 -07:00
Alex Forencich
e6c18cfb68 Move fpga_id into library
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-19 13:36:02 -07:00
Alex Forencich
730ccf3a5b lib/mqnic: Reorganize library code
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-19 13:13:53 -07:00
Alex Forencich
a1cd110074 Peel off common software components into a static library
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-19 01:45:01 -07:00
Alex Forencich
030281b7fc modules/mqnic: Simplify kernel module makefile
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-18 22:55:07 -07:00
Alex Forencich
07cb1e8da7 fpga/mqnic/XUPP3R: Add 10G mqnic design for XUP-P3R
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-18 22:54:31 -07:00
Alex Forencich
69201fbf82 modules/mqnic: Clean up error handling in common probe; do not fail probe if interface creation fails so userspace tools will still be usable via driver
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-16 23:30:39 -07:00
Alex Forencich
5133bf5d27 modules/mqnic: Clear board_ops after deinit
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-16 23:25:07 -07:00
Alex Forencich
2cf8a910b2 modules/mqnic: Clean-up and error handling improvements in PHC registration
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-16 23:23:20 -07:00
Alex Forencich
edb545ca50 utils/mqnic-fw: Fix width detection for BPI flash
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-16 22:00:16 -07:00
Alex Forencich
f44641e91e utils: Add sanity check when reading SPI flash ID
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-16 15:23:17 -07:00
Alex Forencich
a6affe4190 modules/mqnic: Add driver support for XUP-P3R board
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-16 15:21:11 -07:00
Alex Forencich
58bcea2114 modules/mqnic: Add driver support for DNPCIe_40G_KU_LL_2QSFP board
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-16 15:20:44 -07:00
Alex Forencich
07f3924b75 modules/mqnic: Add missing request_module
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-16 15:20:04 -07:00
Alex Forencich
e167423ed4 modules/mqnic: Include proper indices in messages
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-16 15:19:20 -07:00
Alex Forencich
5bc569c469 Update device lists
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-16 12:34:29 -07:00
Alex Forencich
1ffbd2d8d3 mqnic/fpga/XUPP3R: Add 10G, 25G, and 100G mqnic designs for BittWare XUP-P3R board
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-16 12:33:50 -07:00
Alex Forencich
eb530475fb More expressive flash format register
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-15 18:38:01 -07:00
Alex Forencich
7be7b1cc9f utils/mqnic-fw: Confirm write and reset operations
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-15 18:17:04 -07:00
Alex Forencich
88679ef7eb utils/mqnic-fw: Add segment erase action
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-15 18:04:51 -07:00
Alex Forencich
09257457cb utils/mqnic-fw: Determine data width directly from control registers
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-15 16:15:11 -07:00
Alex Forencich
d9867948ec utils/mqnic-fw: Remove unused address width parameter
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-15 15:54:03 -07:00
Alex Forencich
756afbc13c fpga/mqnic/VCU1525: Generate fallback bitstreams
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-15 13:25:46 -07:00
Alex Forencich
cf8aa506b2 utils: Always use 4-byte addresses for large SPI flash devices
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-15 13:13:59 -07:00
Alex Forencich
47f0044099 fpga/mqnic: Fix incorrect SLR in placement constraints
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-04-14 11:51:10 -07:00