You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For rx received traffic, I can use xdpdump to see if packets have reached the nic card. But how can I troubleshoot tx sent packets? Currently, I can only use tcpdump at the destination nic to check for missing packets. Are there any other troubleshooting approaches, tools, etc.? Any help would be greatly appreciated.
I apologize if this is a simple question. I'm just starting to learn about these concepts and would be extremely grateful for any guidance or suggestions. Thank you so much for your time and patience!
The text was updated successfully, but these errors were encountered:
I would start by looking at the xsk error stats with the socket option XDP_STATISTICS. If that does not help and you are running in copy mode (i.e. skb mode) then you could try "perf record -e skb:kfree_skb" to see where the skb is dropped. In zero-copy mode, this will not work since there are no skbs, so you would like have to use perf probe to put kprobes into the xsk and driver code to figure out what is going on. Ethernet interface stats using ethtool or even just ifconfig might give you some hints even in the xero-copy case.
For rx received traffic, I can use xdpdump to see if packets have reached the nic card. But how can I troubleshoot tx sent packets? Currently, I can only use tcpdump at the destination nic to check for missing packets. Are there any other troubleshooting approaches, tools, etc.? Any help would be greatly appreciated.
I apologize if this is a simple question. I'm just starting to learn about these concepts and would be extremely grateful for any guidance or suggestions. Thank you so much for your time and patience!
The text was updated successfully, but these errors were encountered: