Closed laochonlam closed 2 years ago
Hi Lam,
I have a similar question. Could you share how you solved this problem?
I use U280. Thanks in advance!
Best, Jinghan
No I am not able to solve this problem.
Lm
Hi, I suggest checking what the CMAC RX link status along with some of the CMAC registers (port 0: 0x8204 or port 1: 0xC204). The RX link status need to be 0x3 for transmitting packets. Examples of link status errors are reading back values of 0xC0 or 0xE0.
Another possible cause might be if the OpenNIC is connected to a switch with RS-FEC enabled on that port. The current steps in the instructions didn't cover the step for writing the CMAC's register for enabling RS-FEC and followed by writing to SYSCFG_OFFSET_SHELL_RESET to reset the CMAC subsystem related logic, which the Linux kernel driver performs in lines 190-198 of "onic_hardware.c". There was a bug fix checked in today to open-nic-driver related to the issue of resets after enabling RS-FEC.
https://github.com/Xilinx/open-nic-driver/commit/59af3287b19c7ed35888f49a5cc3ede03d84f11a
Hi, I suggest checking what the CMAC RX link status along with some of the CMAC registers (port 0: 0x8204 or port 1: 0xC204). The RX link status need to be 0x3 for transmitting packets. Examples of link status errors are reading back values of 0xC0 or 0xE0.
Hi, all,
I can send packets using pktgen (although I can send packets, the statistics is quite off). Each time I quit pktgen and unbind the dpdk, I found the CMAC link status (0x8204) became 0xC0. Is there any solution to this issue?
Thanks!
Hi, thanks for your open-source in the dpdk solution. I tried this and I am not able to send packets.
When I use this DPDK, every installation instruction works perfectly until the last step - send packet via pktgen. It should send packets, but I can't receive any packets on the other side of the NIC. Do you have any better way to debug it or how you debug it? Thanks!
Here is the log pktgen generated.
I use U250 and tested with open-nic-driver.
Lam