AF_XDP (i40e) behavior change in 5.11?
./xsk_fwd -i ens1f0 -q 2 -i ens1f1 -q 2 -c 5 -i ens1f0 -q 3 -i ens1f1 - q 3 -c 6
On 5.10, the cores (2,3) assigned interrupts for the queues (2,3) are idle when there is no traffic.
On 5.11, the cores immediately go to 100% system time when the program starts (as viewed in htop). There is no network traffic.
Intel 710/i40e.
I tried this with xsk_fwd built from 5.10 and 5.11 trees with the same result.
Is this behavior change expected?
Quoted 10 lines · Dan Siemon
./xsk_fwd -i ens1f0 -q 2 -i ens1f1 -q 2 -c 5 -i ens1f0 -q 3 -i ens1f1 - q 3 -c 6
On 5.10, the cores (2,3) assigned interrupts for the queues (2,3) are idle when there is no traffic.
On 5.11, the cores immediately go to 100% system time when the program starts (as viewed in htop). There is no network traffic.
Quoted 6 lines
Intel 710/i40e.
I tried this with
xsk_fwdbuilt from 5.10 and 5.11 trees with the same result.Is this behavior change expected?
Thanks for reporting this. No, this is not intentional. I did send up a fix for a bug in the i40e driver that was introduced in 5.11. It might be the culprit. Could you please try the patch below and see if it works? It is not yet in net.
https://www.spinics.net/lists/netdev/msg729128.html
/Magnus
Quoted 21 lines · Magnus Karlsson
Quoted 19 lines · Dan Siemon
./xsk_fwd -i ens1f0 -q 2 -i ens1f1 -q 2 -c 5 -i ens1f0 -q 3 -i ens1f1 -
q 3 -c 6On 5.10, the cores (2,3) assigned interrupts for the queues (2,3) are
idle when there is no traffic.On 5.11, the cores immediately go to 100% system time when the program
starts (as viewed in htop). There is no network traffic.Intel 710/i40e.
I tried this with
xsk_fwdbuilt from 5.10 and 5.11 trees with the same
result.
Quoted 8 lines
Quoted 1 line
Is this behavior change expected?
Thanks for reporting this. No, this is not intentional. I did send up a fix for a bug in the i40e driver that was introduced in 5.11. It might be the culprit. Could you please try the patch below and see if it works? It is not yet in net.
Hi Magnus,
It appears (quick testing) that the patch fixes the problem.
Thanks.
Quoted 30 lines · Dan Siemon
Quoted 28 lines · Magnus Karlsson
Quoted 13 lines · Dan Siemon
./xsk_fwd -i ens1f0 -q 2 -i ens1f1 -q 2 -c 5 -i ens1f0 -q 3 -i ens1f1 -
q 3 -c 6On 5.10, the cores (2,3) assigned interrupts for the queues (2,3) are
idle when there is no traffic.On 5.11, the cores immediately go to 100% system time when the program
starts (as viewed in htop). There is no network traffic.Quoted 7 lines
Intel 710/i40e.
I tried this with
xsk_fwdbuilt from 5.10 and 5.11 trees with the same
result.Is this behavior change expected?
Thanks for reporting this. No, this is not intentional. I did send up a fix for a bug in the i40e driver that was introduced in 5.11. It might be the culprit. Could you please try the patch below and see if it works? It is not yet in net.
Quoted 5 lines
Quoted 1 line
Hi Magnus,
It appears (quick testing) that the patch fixes the problem.
Perfect! I will send a mail and try to get it through the internal testing as soon as possible so we can get it up on the list and merged.
Thank you: Magnus
Quoted 2 lines
Thanks.