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

2521 Commits

Author SHA1 Message Date
Alex Forencich
ed5b1a9b54 Add PCIe script directory symlink
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-05-13 16:27:37 -07:00
Alex Forencich
d575230c27 Fix race condition while taking down port
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-05-13 15:56:26 -07:00
Alex Forencich
9653caf09b Add 25G mqnic design for Cisco Nexus K3P-Q 2022-05-09 14:02:13 -07:00
Alex Forencich
ba9ef590b7 Use Cisco Nexus part numbers for Cisco Nexus boards
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-05-09 13:43:47 -07:00
Alex Forencich
835f0d38f0 Update PTP subsystem to use separate clock for improved stability
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-05-06 17:46:16 -07:00
Alex Forencich
6656a14528 merged changes in eth 2022-05-06 00:22:55 -07:00
Alex Forencich
18d5c325bf Fix CMAC RX PTP timestamps
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-05-05 23:21:11 -07:00
Alex Forencich
274831c268 Fix PTP clock CDC module timing constraints
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-05-05 21:41:41 -07:00
Alex Forencich
1eb04bb75b utils: Improve PTP clock period reporting
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-05-05 15:11:26 -07:00
Alex Forencich
7ee0a661bd modules/mqnic: Add kernel version check for ndetdev ioctl change
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-05-05 11:19:53 -07:00
Alex Forencich
c2fea3a616 Add port register blocks with support for PHY link status reporting
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-05-04 09:03:37 -07:00
Alex Forencich
f67c704b11 Update placement constraints for hierarchy changes
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-05-02 13:16:20 -07:00
Alex Forencich
cfdd6f5455 Decouple transmit completion handling from PTP timestamping
Signed-off-by: Alex Forencich <alex@alexforencich.com>
2022-05-01 17:41:47 -07:00
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