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 33DC242DE9; Thu, 6 Jul 2023 17:58:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F629410FA; Thu, 6 Jul 2023 17:58:34 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 9572D40A79; Thu, 6 Jul 2023 17:58:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688659111; x=1720195111; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=23cHzdL0dAVGxwnxjbCktvJEI0r25fMJht1Xi7DNMBs=; b=K/9rhTULa8dpKUqZRJIIbwIX5A6l10xglaMp4dYOaeebCHv77NHrpoER gBFgWqH0T6HFJqgIQTgUDVJyEPgtXEM7dmq8hFfGhA+FdTFDMVgFHxffw 6mRnNzMI8GFLYixhUwRxwYG/GC99c3mqfbOeq2zwS60qOngZepfFf3XAL rLwlIbjtrLOIWoFddiu23NILqBbs76T0FVZmNNk1wyk/KeNPCJEDIyhOt D+b7kzrOd5MorytKXZeTqZEmxf/v2DjHUrxfONqKsLLGru14EmD3pt4Z8 sUu2/FsOP9qKEUnEJ9IGM7SSo5gexsyJi0oB/3jno/tRpxPb/Bl9hJCMU A==; X-IronPort-AV: E=McAfee;i="6600,9927,10763"; a="363677388" X-IronPort-AV: E=Sophos;i="6.01,185,1684825200"; d="scan'208";a="363677388" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2023 08:58:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10763"; a="722839551" X-IronPort-AV: E=Sophos;i="6.01,185,1684825200"; d="scan'208";a="722839551" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga007.fm.intel.com with ESMTP; 06 Jul 2023 08:58:30 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 6 Jul 2023 08:58:29 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Thu, 6 Jul 2023 08:58:29 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.172) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Thu, 6 Jul 2023 08:58:29 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X9e3xnOl0EP/8ZLJVvuE5AGItPZR6hWibHm766Rejb7fIQa5P1TJRVGpXGEQ3V78EKBSoOJNkZB45WmnUqsu+N0VuISo2U3Z2C6rhRQ+b2cbn+y1DHzkblnDFSgVKR32Vy6fnFOoxqYw+fT746F+ld7NZYOBXx6qxK5VZMHLtzZrnzg979QrlBhdSwQCh9md9qgiEmjhrJVQhUOXkbRBScikTZNFKFL0Mpiht0niJrWf00fyQonan7qQGnpJb0IRDr9Gadp/zhQ9BmM141523GE9QtDEOV70t6nMTrz9yOQdQBRQUxgEoFrKMVE9HOr8VQljcOUAAnsU3f3EEh9uBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cKs1TTUr3eLjHbRqNCOOlfq/Dn1GtfhvdJU9lAgq0LA=; b=UxYjNTzWy6TFI7skm7jTQISfpkcG/5mmvz3sSHFSeV5//dAJSDXw7xd7OYv7itvyle43Nr96ZW+TSYYBv0qauiq796oI9gBKZYXz+2yw9wjXqk6c4FbwxzRNpxcjF4FR2SqWKsqvQvPBBZV4/TwSLBOAjLNisaGJY7112R4Tqjkztw1kJKoAd84v/dHGw4xEW2WBCLbp2WtcPgOj2fKAz2THK7dlrK7v8JXI9euTHCaGc0i0E9unI6/lAQz7d4O/kM1UpmmOMLYpyolYFmDrrIX+rtNQAoi0mxJgaDvTSZkMTZ19TvzCriU+DnGKUwHNT3AjT0qe6LC05mekX0X+TA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN7PR11MB7639.namprd11.prod.outlook.com (2603:10b6:806:32a::14) by CO1PR11MB5025.namprd11.prod.outlook.com (2603:10b6:303:9e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.24; Thu, 6 Jul 2023 15:58:25 +0000 Received: from SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::9d99:dcc6:8339:8c5d]) by SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::9d99:dcc6:8339:8c5d%7]) with mapi id 15.20.6544.024; Thu, 6 Jul 2023 15:58:25 +0000 From: "Power, Ciara" To: "Ji, Kai" , "dev@dpdk.org" CC: "gakhil@marvell.com" , "stable@dpdk.org" , "Ji, Kai" , "Matz, Olivier" Subject: RE: [PATCH v2] examples/ipsec-secgw: fix of socket id default value Thread-Topic: [PATCH v2] examples/ipsec-secgw: fix of socket id default value Thread-Index: AQHZr/kpN5Ns/ZU+uECCwX1aj68xLK+s5VnA Date: Thu, 6 Jul 2023 15:58:25 +0000 Message-ID: References: <20230705172954.906085-1-kai.ji@intel.com> <20230706110034.981345-1-kai.ji@intel.com> In-Reply-To: <20230706110034.981345-1-kai.ji@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB7639:EE_|CO1PR11MB5025:EE_ x-ms-office365-filtering-correlation-id: 95bbd20a-a500-447e-4281-08db7e39d4d0 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: f6J7bp6tXynVY3jixI3LwLl7ZEbz0yRhw8Q7ZKZQqBfe7uCBGagXfanbEQX3dQsSZcsl5QLdusDSBMrnhbQcm+FSKJl89gBQ5sw83KuTy5J8lQSmJ+HccE/b26Dndogxgb29G9v1QGwc7m7ck97kd/J3Bc2oDn+8CyDkbjnZAqJtuo4lEwCE+IvO5jDSgyzSFGGyf1fss3U1be7pgWVRYZx84O7L28KH1owXfe2Ys+1cBtZF59XwLAjiN5xCb/VBuwyzeXy33gYTLX0a2u5ys1l0e7t6SnePuZrW5mWJrNCP3S361uQWF0rPbJiX9RSiRiaOmJEa2LsaA2QVM/tCfwyVxAl8ZM9F2uChIhTkn3+nmbw4ofBGV/OxbEEmkCoCJc1Ql/3/7ed4kfsBWzbyKpEzOJo0yNrPtXbEPoYffayCZxhw9hC4QZwWcwXAMNDd7WbJBHevzZpqcHZrrj3+3DIOogcPTLpqw/AOFr3ey0jGbB3uchfY68YR5bdu5/Z2j7JdTf3xJMr7b3ZUzOFXJ0DCh0i5YrrEX+8HRbHXwSm2CuzowvI5b7p++h2zHwvX1jS7tENK3WsIqFJe5XgLo9wkK2CFOJHvASXSGVoMSjEpm56WurydB309CcqoKLOo x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7639.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(136003)(366004)(376002)(39860400002)(396003)(346002)(451199021)(66446008)(64756008)(66476007)(54906003)(41300700001)(110136005)(66556008)(8676002)(76116006)(82960400001)(4326008)(8936002)(316002)(66946007)(38070700005)(122000001)(38100700002)(6506007)(53546011)(55016003)(478600001)(5660300002)(9686003)(26005)(71200400001)(4744005)(7696005)(186003)(33656002)(83380400001)(86362001)(52536014)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?YdPQD6AZCmqch88I/htkNGe/DPlHnN9yEL+SzrpZS5dMak2XUvJ/6sp1qJUu?= =?us-ascii?Q?Woo4+f/bxAC0pqWzDh8JhylcPQMulFQgjSd8OCzbJ3t+o8yRAMZyIynajnmD?= =?us-ascii?Q?i3dZWcMb9Ugry4jvw5OsioY4pfxyqjC4SKMgUVK8E3ZMiNMhum1LVXH7Njlk?= =?us-ascii?Q?aPJID78qR2L9Ce9USv1L5PVsNDoQs8sulBSW3w3AiPPCuUB59+4oJrpygeDX?= =?us-ascii?Q?OuBJxs9mMfPPfpuELG+yLAXMWWN9wtKd7FC6y5ZV1zMHTiMz1wusJJwnpW9c?= =?us-ascii?Q?yaO3c5PC8LExohVqe/EbDwWIMswN/YJNfBj/x+E8uRGC7maPXpGSp2lfry/7?= =?us-ascii?Q?/IqUgJrwf6ltXscZCmCr1FGpvXpLbarp+lqdkmgHfhsWkViD4g8HayCOW56M?= =?us-ascii?Q?TW0V5dJhZZwhkOLNFVKWR4svkQOUNFV8nLX9xFshe7l0ZrnmtOSLWag/+oZG?= =?us-ascii?Q?g/ZE1ypWQR4piPJodYSZFyWTQvjKSd/45i8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m+3pyDhMmiFMc7PxsCAh3CGo/UBsia5pRV8gn9DRv1hGs4eHzdmZUkoN1?= =?us-ascii?Q?es+p/hfEfRG6TsstLtC6OQk5F9EMoYmUyeS1Ki93PKwfMklTVi6Fv+0Lt2qy?= =?us-ascii?Q?O1g2p8rpaAtkcSq2VGuT6pFsrxizRLJLnndjQmeckmLNQ9l+MkGJuY6NgEjE?= =?us-ascii?Q?K2OeRub42MM5TaH+ZBXJPCXlonA9ar5KVBXeSKiD?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN7PR11MB7639.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95bbd20a-a500-447e-4281-08db7e39d4d0 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2023 15:58:25.1272 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: j1Oe/D72H1ogOfFBIx8unKUdWspJrXK6QvC6tQC6xSBkYgN8fgthTScH5SULepQp642gCaQYrTiXBqUYgA1GKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5025 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Kai Ji > Sent: Thursday 6 July 2023 12:01 > To: dev@dpdk.org > Cc: gakhil@marvell.com; stable@dpdk.org; Ji, Kai ; Matz= , > Olivier > Subject: [PATCH v2] examples/ipsec-secgw: fix of socket id default value >=20 > Due to recent changes to the default device socket ID, before being used = as > an index for session mempool list, set socket ID to 0 if unknown (-1). >=20 > Fixes: 7dcd73e37965 ("drivers/bus: set device NUMA node to unknown by > default") > Cc: olivier.matz@6wind.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Kai Ji > --- > examples/ipsec-secgw/ipsec-secgw.c | 3 +++ Acked-by: Ciara Power