I have a implementation where the hardware dispatches 300 packets every second to a host application through DMA transfer and then to the host application's message queue.
When packets are sent at high rate to the app, I see that the app is not receiving one or two packets like this. When I use
tcpdump, I see that all packets are posted to the host. But how do i know whether where the packet was dropped? Using debug prints will consume CPU usage and not be easy as well.
Can I find out how many messages that I received on that message queue? Using
ipcs -q commmand does not list anything.