On Mon, 28 May 2018 09:09:17 -0700 Eric Dumazet <eric.duma...@gmail.com> wrote:
> Tariq, here are my test results : No drops for me. > > # ./netperf -H 2607:f8b0:8099:e18:: -t UDP_STREAM > MIGRATED UDP STREAM TEST from ::0 (::) port 0 AF_INET6 to > 2607:f8b0:8099:e18:: () port 0 AF_INET6 > Socket Message Elapsed Messages > Size Size Time Okay Errors Throughput > bytes bytes secs # # 10^6bits/sec > > 212992 65507 10.00 202117 0 10592.00 > 212992 10.00 0 0.00 Hmm... Eric the above result show that ALL your UDP packets were dropped! You have 0 okay messages and 0.00 Mbit/s throughput. It needs to look like below (test on i40e NIC): $ netperf -t UDP_STREAM -H fee0:cafe::1 MIGRATED UDP STREAM TEST from ::0 (::) port 0 AF_INET6 to fee0:cafe::1 () port 0 AF_INET6 : histogram : demo Socket Message Elapsed Messages Size Size Time Okay Errors Throughput bytes bytes secs # # 10^6bits/sec 212992 65507 10.00 186385 0 9767.08 212992 10.00 186385 9767.08 If I manually instruct ip6tables to drop all UDP packets, then I get what you see... so, something on your test system are likely dropping your UDP packets, but letting regular netperf (TCP) control communication through. # ip6tables -I INPUT -p udp -j DROP $ netperf -t UDP_STREAM -H fee0:cafe::1 MIGRATED UDP STREAM TEST from ::0 (::) port 0 AF_INET6 to fee0:cafe::1 () port 0 AF_INET6 : histogram : demo Socket Message Elapsed Messages Size Size Time Okay Errors Throughput bytes bytes secs # # 10^6bits/sec 212992 65507 10.00 182095 0 9542.41 212992 10.00 0 0.00 -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer