Re: Hairpin Queues Throughput ConnectX-6

2024-07-04 Thread Dmitry Kozlyuk
2024-07-04 13:08 (UTC+0200), Mário Kuka: [...] > So I can't achieve my goal: traffic from the hairpin queues is not > dropped if the CPU queue is overloaded. > Any idea how to achieve this in example 4? > What is the problem, full packet buffers/memory in the device that are > shared between the

Re: Hairpin Queues Throughput ConnectX-6

2024-07-04 Thread Mário Kuka
Hello I did experiments where I sent packets to the hairpin queues and the CPU queue at the same time. During testing, I found that when the CPU queue is overloaded too much, the hairpin queues also begin to drop packets. Example 1: Sending 10 Gbps to hairpin queues Resulting throughput is 10

Re: Hairpin Queues Throughput ConnectX-6

2024-06-27 Thread Mário Kuka
Hi Dmitry, Thank you for your helpful reply. Try enabling "Explicit Tx rule" mode if possible. I was able to achieve 137 Mpps @ 64B with the following command: dpdk-testpmd -a 21:00.0 -a c1:00.0 --in-memory -- \ -i --rxq=1 --txq=1 --hairpinq=8 --hairpin-mode=0x10 Based o this I was able

Re: Hairpin Queues Throughput ConnectX-6

2024-06-24 Thread Dmitry Kozlyuk
Hi Mário, 2024-06-19 08:45 (UTC+0200), Mário Kuka: > Hello, > > I want to use hairpin queues to forward high priority traffic (such as > LACP). > My goal is to ensure that this traffic is not dropped in case the > software pipeline is overwhelmed. > But during testing with dpdk-testpmd I can't