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 37E4A43CDD; Mon, 18 Mar 2024 04:20:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CC9CD40289; Mon, 18 Mar 2024 04:20:22 +0100 (CET) Received: from wfhigh5-smtp.messagingengine.com (wfhigh5-smtp.messagingengine.com [64.147.123.156]) by mails.dpdk.org (Postfix) with ESMTP id A91D44026E; Mon, 18 Mar 2024 04:20:21 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id AA31318000BC; Sun, 17 Mar 2024 23:20:19 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 17 Mar 2024 23:20:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1710732019; x=1710818419; bh=9krClMRKQFGVhiVgcxb384cE829HWt1p+Od+d+J9mGw=; b= LmmGNhBIUdmMbRY3VgU7cG/e2R0h5co43YItkdk7BVYdmjii5bgQUQKnOoFZNmI4 Agh0Be9vziCjGo64EKjgUfQy0wtS9nsygbftU1T0iyv3TfzdVus8YltLl4R6JTtx 0VbjGXwuVEAaj+u52WRgOL4JIpryvA2XN0kEPuLZ1oH3H09h/qcQDj4VL5g0doHl Yb58XZTDFHxGijBIcKEjSXVVBUsSwfwdjaNgK0ZF9awrzh695OCfiVCoIkp7Hwyp 9LS/VtHIl4VfWbIEHS6ttGeQZV+i3UrMV3a2++GdJT99+S7WMIoCPtrn9AnLm6er jLEKamQAUFRDJWql+CHB4w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1710732019; x= 1710818419; bh=9krClMRKQFGVhiVgcxb384cE829HWt1p+Od+d+J9mGw=; b=P tUhSCqAQQcUsqqdxEVdte4Mi2qrdFpYYvzwQ3BZaTD2TPQDXVEuiJdPY9qwWa776 kVEV3Y5231HyIBhotBQ7/QDCuqpGR9Xrs9vl/K1+MWH0PykuIZenaSYBz4F05GLt M2BsHB9EJgITSDCKu/8vxDrcLTN1znne+aSUpJ1Mk7+8ZOi8GufSs3CHCnYRuUih PquKk3GMSAuisHmm1M1XqkyFBkUU2Jm0pNr4S8rkZI1Bgj5yIeXwkjCogr80zBgl 13PX5ec82NQ4sQGjh7JA9CmG8dm/zQoegCfY7U+AlpEu27FxMSEwXlH+OYLtVu1u 0VAfBtF0iGM9yUz68svng== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrkeeigdehkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepjeduveehieevuddutdevfffgtdegkeeuveejffejgedtgeegkefg vdeugfefkeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 17 Mar 2024 23:20:17 -0400 (EDT) From: Thomas Monjalon To: Chaoyong He Cc: dev@dpdk.org, stable@dpdk.org, oss-drivers@corigine.com, Shihong Wang , stable@dpdk.org, Akhil Goyal , Radu Nicolau , Chaoyong He , Peng Zhang Subject: Re: [PATCH] examples/ipsec-secgw: fix Rx queue ID in Rx callback Date: Mon, 18 Mar 2024 04:20:15 +0100 Message-ID: <7014158.18pcnM708K@thomas> In-Reply-To: <20240311023247.2520028-1-chaoyong.he@corigine.com> References: <20240311023247.2520028-1-chaoyong.he@corigine.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 11/03/2024 03:32, Chaoyong He: > From: Shihong Wang > > The Rx queue ID on the core and on the port are not necessarily > equal, for example, there are two RX queues on core0, queue0 and > queue1, queue0 is the rx_queueid0 on port0 and queue1 is the > rx_queueid0 on port1. > > The 'rte_eth_add_rx_callback()' function is based on the port > registration callback function, so should be the RX queue ID on > the port. > > Fixes: d04bb1c52647 ("examples/ipsec-secgw: use HW parsed packet type in poll mode") > Cc: stable@dpdk.org > Cc: Akhil Goyal > Cc: Radu Nicolau > > Signed-off-by: Shihong Wang > Reviewed-by: Chaoyong He > Reviewed-by: Peng Zhang Applied, thanks.