I am debugging a data acquisition application with mellanox and RDMA. The application receives RDMA packets and stores it into a buffer in which it processes the data.
It seems to be experiencing packet dropping, bum im not sure.
We performed some experiments setting a sniffer with the command
ethtool --set-priv-flags <interface> sniffer on
Then we ran the application.
After running the application, ifconfig shows dropped packets:
enp193s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 4200
inet 10.255.255.9 netmask 255.255.255.252 broadcast 10.255.255.11
inet6 fe80::1270:fdff:feb0:44a0 prefixlen 64 scopeid 0x20
ether 10:70:fd:b0:44:a0 txqueuelen 1000 (Ethernet)
RX packets 1191250 bytes 2688829552 (2.6 GB)
RX errors 1667 dropped 1124230 overruns 0 frame 1667
TX packets 75329 bytes 19750525 (19.7 MB)
TX errors 17 dropped 0 overruns 0 carrier 17 collisions 0
How can i debug this with more certainty about what is happening?
I tried using ethtool --show-priv-flags enp192s0f0:
Private flags for enp193s0f0:
rx_cqe_moder : on
tx_cqe_moder : off
rx_cqe_compress : off
tx_cqe_compress : off
rx_striding_rq : on
rx_no_csum_complete: off
xdp_tx_mpwqe : on
sniffer : off
dropless_rq : off
per_channel_stats : on
tx_xdp_hw_checksum : off