From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DA88045500 for ; Wed, 26 Jun 2024 13:53:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CFD8A42EDA; Wed, 26 Jun 2024 13:53:22 +0200 (CEST) Received: from mail-pj1-f47.google.com (mail-pj1-f47.google.com [209.85.216.47]) by mails.dpdk.org (Postfix) with ESMTP id B9A2742E95 for ; Wed, 26 Jun 2024 13:39:30 +0200 (CEST) Received: by mail-pj1-f47.google.com with SMTP id 98e67ed59e1d1-2c85ca2dc5cso358635a91.0 for ; Wed, 26 Jun 2024 04:39:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=domainhart-com.20230601.gappssmtp.com; s=20230601; t=1719401969; x=1720006769; darn=dpdk.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=7ytokRW9X30RYZe98hyK7t796glOHzAVVUpQ+jT5YHM=; b=OwHjHhU4sw9xuCG8qNXxCzc2v4i+8jfOlSyHihJsF+b9juZwizwY0XWjrPJCO297bZ eSTQaaX/mXYLx98KRJn/hg/9WUBemILHrCBE06Z2pyp/Q9qbNGGW8ijRpTig8kLAPtZ4 3T0AIramUq7O2mzyuI5l6oVdLe5vBkw/ngNgZZlXCe/TNk2ZqQKEydqjG90a8vbZon6A F2CWLPLt5rmh/1ATzOjnkOs6sdV6OlFo523D9pGSRvpKGgt+wWDA7E4KxrJG1tlwRs7S 4YCrw6lDb5mEVnU4KA2vzfOqTO5Ys/5BVo9QyKK+2PbdEUW0x1EIm6URQ7eHgQR/Tvy3 tv5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719401969; x=1720006769; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=7ytokRW9X30RYZe98hyK7t796glOHzAVVUpQ+jT5YHM=; b=bEKtEg/PmHV79xVK1OjLxsApv2z+BSxzP51hDvGKhaw/zDFzKHTilMX+lonzkXIRxs TALnQCukFxZxJRQ4YQHyNdVwZtHXef33tyeQjM434U1FHrrK5AcpVIB4Y5ME+VLxRZmS vEIt5lfcB6x0dIMATJ6DFfnr5glsd1gcT9NSEIuB/PLa0ZYFgMEK7qbnK5BmXB9JLuL3 NkxkbogAK4muuXk0VOWmc48epbx0n7JW6iO3Dt6bxEA+bqeSK+oJw5w9H/dZyGfbBHj8 bJazJY7aA69vS7Or4j2wfN8sp8MHQHMa/m27ZAfvUkHDUJP5J29OMCYDkA5NJ0SHAx3c hrhQ== X-Gm-Message-State: AOJu0YwGd1LEWdhBKXWqtOihtW+ufvAjnvRfsK+7CmcnR6SaMcsQp8l1 QP+WB6pPjhc0YKFNe7virLQZC3xLH8fXAFPGlbtjfMBk3F3AmUxUsL5CGaX/mvyDlb0dGr7mexK QJEkC05ZlxQbTat4/fdEnQnJyIIicseGlBtlMHcsZX1J893Sr X-Google-Smtp-Source: AGHT+IG0DthZtHJ4i2zbdufhanKylWCsptuC6dKMV183CiPCn730KII0NAf9zUTFHhGkoRHI/2Y355F9PWPoNjE5+kk= X-Received: by 2002:a17:90b:303:b0:2c8:dc37:6256 with SMTP id 98e67ed59e1d1-2c8dc37665dmr1448479a91.33.1719401969459; Wed, 26 Jun 2024 04:39:29 -0700 (PDT) MIME-Version: 1.0 From: Tony Hart Date: Wed, 26 Jun 2024 07:39:17 -0400 Message-ID: Subject: Performance of CX7 with 'eth' pattern versus 'eth/ipv4' in hairpin To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org I'm using a CX7 and testing hairpin queues. The test traffic is entirely IPv4+UDP with distributed SIP,DIP pairs and received packets are u-turned via hairpin in the CX7 (single 400G interface). I see different performance when I use a pattern of 'eth' versus 'eth/ipv4' in the hairpin flow entry. From testing it seems that specifying just 'eth' is sufficient to invoke RSS and 'eth/ipv4' should be equivalent since the traffic is all ipv4, but I'm getting ~104Gbps for the 'eth' pattern and ~124Gbps for 'eth/ipv4' pattern. Any thoughts on why there is such a performance difference here? thanks tony This is the 'eth' pattern testpmd commands flow create 0 ingress group 0 pattern end actions jump group 1 / end flow create 0 ingress group 1 pattern eth / end actions count / rss queues 6 7 8 9 end / end The testpmd commands for 'eth/ipv4' flow create 0 ingress group 0 pattern end actions jump group 1 / end flow create 0 ingress group 1 pattern eth / ipv4 / end actions count / rss queues 6 7 8 9 end / end This is the testpmd command line... dpdk-testpmd -l8-14 -a81:00.0,dv_flow_en=1 -- -i --nb-cores 6 --rxq 6 --txq 6 --port-topology loop --forward-mode=rxonly --hairpinq 4 --hairpin-mode 0x10 Versions mlnx-ofa_kernel-24.04-OFED.24.04.0.6.6.1.rhel9u4.x86_64 kmod-mlnx-ofa_kernel-24.04-OFED.24.04.0.6.6.1.rhel9u4.x86_64 mlnx-ofa_kernel-devel-24.04-OFED.24.04.0.6.6.1.rhel9u4.x86_64 ofed-scripts-24.04-OFED.24.04.0.6.6.x86_64 DPDK: v24.03