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 04AA445AD9; Mon, 7 Oct 2024 21:42:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F3FEC4065C; Mon, 7 Oct 2024 21:39:08 +0200 (CEST) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id AF9484060C for ; Mon, 7 Oct 2024 21:39:07 +0200 (CEST) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-20b0b2528d8so54790885ad.2 for ; Mon, 07 Oct 2024 12:39:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728329947; x=1728934747; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=6yb5T2mgE6EYUXhiPPNU3XsZyMZpiB3FKkjRbRl9SXc=; b=dOUbLsgyfNQHIbT41i90D04OuCmQ0hrfOOeSuENGk7PbQpzeGnpOVnIw4fCKJQBom+ FZtQzNg1knTobzsGJ2dYvcLv4WiOcbsRJkh1+SAPNcLFqIlzBlJ9PlgflNDuzzxHfjiA qnFezU61wqwABDdU9jiJEqzq6cHMyZVlxXWsrUGr9XyvtCA3tlFu4jsWGqDMlLPI2cYc 9Rhxp9UYCTUieMnJq/07wdjkCAXYdQs84QyBqT40g8uvW+y9gEBWojAX9cxjnbF2vCwV MKZmZw7/pKcrlgm3Ou+oJ2qIqgROLZ2Jr0s8w87xQa/lQMpTnqwH1XNfqL/CsUhd4biW 187A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728329947; x=1728934747; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6yb5T2mgE6EYUXhiPPNU3XsZyMZpiB3FKkjRbRl9SXc=; b=dyrz0Ec+cd0QFCZloGuMxWtpYYvl+4wYYV8IN5Z+IjNsr9ttICENagga1pac9tHY2i S2lO4gJ7W87Asxsn6kCMYkdo9Ey5fuY+8Q40bkgTGpVALQTH4hWsCG1+lvDvvodMLFaw fqf6nJdt9LIQ+uEAPXntT+Dov2sVcveBJyhokj0IWccFNqcWmF5NL4AH+M9/zdREeW45 PeNjKxj9zgMvcV+7fsqoe7lod/eI5I7cb1DJJK0gbEnNX3Bbagb2pocEo7oCjPJPy/GA LYTSkc0BxaaydRgkhLSNwhM+UfSoe9fM7p6inWxfxGp4a7lSRVeXJMahCK1P2nsgjz05 EZeg== X-Gm-Message-State: AOJu0YzvWJB3pmtK1TY2bllQ6TAT2YTbHMVgZtDzz6fm6/tkZSUbS6Qd 6IeoAE128Q7HCO2Npq3z2jnnx6seG2ue/HmERn4WTKaB3xP/GnxKPlwmjDJQNQw= X-Google-Smtp-Source: AGHT+IHX9NXO49DR5aYfQeD8mJDbeQNp2/w2mPOFWUl4H2cUU6Dqk4D/keBjMFL5bpigjD7l6pyiog== X-Received: by 2002:a17:903:230a:b0:20b:9822:66fa with SMTP id d9443c01a7336-20bfdfb4a9amr183804065ad.16.1728329946737; Mon, 07 Oct 2024 12:39:06 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c139874fdsm43035475ad.245.2024.10.07.12.39.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 12:39:06 -0700 (PDT) Date: Mon, 7 Oct 2024 12:39:04 -0700 From: Stephen Hemminger To: supeng2087 Cc: dev@dpdk.org, supeng Subject: Re: [PATCH] examples/ipsec-secgw: fix cmp_sa_key bug Message-ID: <20241007123904.2e938d64@hermes.local> In-Reply-To: <20231122075840.58703-1-supeng2087@aliyun.com> References: <20231122075840.58703-1-supeng2087@aliyun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Wed, 22 Nov 2023 15:58:40 +0800 supeng2087 wrote: > From: supeng > > Inbound direction, sad_lookup function will call cmp_sa_key to compare packet outer ip info with local sa. Local sa src ip should equal packet dst ip, Local sa dst ip should equal src ip. > --- > examples/ipsec-secgw/sad.h | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Patch without Signed-off-by can not be accepted. For explanation of Signed-off-by see: https://en.wikipedia.org/wiki/Developer_Certificate_of_Origin