AW: Intel 10G 2P X520 Adapter doesn't receive anything with AF XDP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Best regards
> 
> Max

A small update. I disabled the ethtool ntuple rule which steers the multicast packets to a specific RX-Queue and let the program run for 2 minutes.
After 2 minutes or so I looked at the BPF map again and saw this:

		$ sudo bpftool map dump id 41
		key: 00 00 00 00  value: eb 00 00 00 00 00 00 00
		key: 01 00 00 00  value: 6b 00 00 00 00 00 00 00
		key: 02 00 00 00  value: 18 00 00 00 00 00 00 00
		key: 03 00 00 00  value: 01 00 00 00 00 00 00 00
		key: 04 00 00 00  value: 17 00 00 00 00 00 00 00
		key: 05 00 00 00  value: 3a 00 00 00 00 00 00 00
		key: 06 00 00 00  value: 65 00 00 00 00 00 00 00
		key: 07 00 00 00  value: 3c 7a 89 01 00 00 00 00
		key: 08 00 00 00  value: 02 00 00 00 00 00 00 00
		key: 09 00 00 00  value: 12 00 00 00 00 00 00 00
		key: 0a 00 00 00  value: 55 00 00 00 00 00 00 00
		key: 0b 00 00 00  value: 14 00 00 00 00 00 00 00
		key: 0c 00 00 00  value: 2c 00 00 00 00 00 00 00
		key: 0d 00 00 00  value: 00 00 00 00 00 00 00 00
		key: 0e 00 00 00  value: 1b 00 00 00 00 00 00 00

As you can see, the multicast stream is probably landing on RX-Queue 7 (unfortunately my XSK-Program is waiting for packets on RX-Queue 0) but somehow delayed for 1 or 2 minutes.

In case I enable ntuple via

                 ethtool -K eth5 ntuple on

and add the ethtool ntuple rule back, wait for 2 minutes again, I get this:

		$ sudo bpftool map dump id 46
		key: 00 00 00 00  value: 6f 16 00 00 00 00 00 00
		key: 01 00 00 00  value: 43 00 00 00 00 00 00 00
		key: 02 00 00 00  value: 0d 00 00 00 00 00 00 00
		key: 03 00 00 00  value: 00 00 00 00 00 00 00 00
		key: 04 00 00 00  value: 0e 00 00 00 00 00 00 00
		key: 05 00 00 00  value: 24 00 00 00 00 00 00 00
		key: 06 00 00 00  value: 34 00 00 00 00 00 00 00
		key: 07 00 00 00  value: 7d 05 00 00 00 00 00 00
		key: 08 00 00 00  value: 01 00 00 00 00 00 00 00
		key: 09 00 00 00  value: 0a 00 00 00 00 00 00 00
		key: 0a 00 00 00  value: 30 00 00 00 00 00 00 00
		key: 0b 00 00 00  value: 0e 00 00 00 00 00 00 00
		key: 0c 00 00 00  value: 1b 00 00 00 00 00 00 00
		key: 0d 00 00 00  value: 00 00 00 00 00 00 00 00
		key: 0e 00 00 00  value: 0a 00 00 00 00 00 00 00

As you can see, no indicator for a multicast stream with lots of packets :(

Something is wrong here...

    



[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux