Xilinx / open-nic-driver

AMD OpenNIC driver includes the Linux kernel driver
GNU General Public License v2.0
58 stars 40 forks source link

Loopback test tcpdump empty #47

Closed dariusgrassi closed 1 year ago

dariusgrassi commented 1 year ago

Hi,

I am currently trying to get the loopback test working, however tcpdump on the FPGA NIC iface is not outputting any packets. Here are the steps I followed:

Issue: tcpdump on the FPGA displays no traffic

However, tcpdump on a separate NIC attached to the same server as the FPGA does display traffic between the FPGA (192.168.1.10) and the separate machine (192.168.10.15). tcpdump of the interface on the separate machine displays the same.

Essentially, everything appears to be working, except tcpdump on the FPGA NIC interface.

Xilinx Alveo U280 OpenNIC shell w/ 2 CMAC ports Ubuntu 20.04

Thanks!

dariusgrassi commented 1 year ago

The fix for me was directly connecting to a separate machine and disabling the RS flag in the source onic_main.c.