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 8466042B0C for ; Mon, 15 May 2023 07:56:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79CEF410F9; Mon, 15 May 2023 07:56:54 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 5A7A440395; Mon, 15 May 2023 07:56:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684130211; x=1715666211; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=eo/tUYTZNrQqlXLxL0setfTLJEJFUZIOcdJOeXrtS6E=; b=OEZYPziTcXAmLLj4JjJi9XmdL2ZIz+1qHeGBNFmgFx5e0lckriOgtLzg JIRgNwoZkNJk+X8ULDds/3xujCx26v7JCdmzpRfS8ECyYhhtUGRw+hdRR Fg3ZhoWphEbCrL5AR6HcnOgZE8DW2dQMw23PVB94Qb1dbc76N6DGjSaBR YOENLay/Z+AEC3BPpNRkSIqhSd0poLP6XUL4i/axPD+R1esA4JbfRTerF 3P8Ad0bCMqMI3qyLRq1JD211i5N4f5iuDlDkQLw0vymXnXdN27fjOR+jY Pn5mY2nl4m3kJRpisT54NbEOtBTXv1o1Drwa3saF/zoOZz3lv4X/VfI1k g==; X-IronPort-AV: E=McAfee;i="6600,9927,10710"; a="353388528" X-IronPort-AV: E=Sophos;i="5.99,275,1677571200"; d="scan'208";a="353388528" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 May 2023 22:56:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10710"; a="678337123" X-IronPort-AV: E=Sophos;i="5.99,275,1677571200"; d="scan'208";a="678337123" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga006.jf.intel.com with ESMTP; 14 May 2023 22:56:50 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Sun, 14 May 2023 22:56:50 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Sun, 14 May 2023 22:56:50 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.46) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Sun, 14 May 2023 22:56:49 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RigD/6Ndenax1LK61DoyuYvM8/E39AuvQ+uf8U46Pjwh6qPUu4bV9IdBha+F+zqSuPMQLAwKDzOBdDlTBBB5ommhav56WipV9AZQn65ott/eNJTMgqM9PmNYjcItpT/oII355ATp9wgTyh/FlPVbHA0GipL6kvMNNROjV1JoQJBb8Mc/Mnj8Gf6pXD0dSuulnKpdZL8OqzVztrp1B8Nrq6qRd99Ohyho88sRaQLkp9teFeIGLIHIsxpueqGoN+EzHqbxgE1LYrMtVAPPEv/wTByV/guZp70mGC6QIouvHVfB7n+zsQEWSWvZwuovDx6P52rYbYwOcddxTPXM7bwBcA== 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=oa278lLo4oYR2DMnEIdRxDfZfIZPGlNe4weTw0zI54s=; b=U8EVypyyFDqds2qsca1O51zToFQi70EmAw4QcYp49a34pRsWdKOahcc9l9JY6WDu/LM5l095cNCUm6kyxoLfjuDJKxmWew8cuDSWzKkVjBmTdxvIYJNmxANHPFsjI5BiXynuzXYwkTdoYrjti7Zg6FKm3/PiamDyJiU1Pi34H5lesDQr9dQH1Fq/5YwpB+8Gc99TUDZz/yYsS9s4DA1WetGEPUsnq0NnC1moFmngTm9jfVrp7zrtoOpbhxkKUUXRYuTMDjEvIhubEnoTb8ENZsM42V2zCTUxZJg6HWGwyFDqAv2TrkoAlMrtwxvChoJUV3ARcrCylVdk73Of9bGl1Q== 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 DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by SA2PR11MB5113.namprd11.prod.outlook.com (2603:10b6:806:113::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Mon, 15 May 2023 05:56:48 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::e570:d9a7:df1b:1589]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::e570:d9a7:df1b:1589%6]) with mapi id 15.20.6387.030; Mon, 15 May 2023 05:56:48 +0000 From: "Zhang, Qi Z" To: "Ye, MingjinX" , "dev@dpdk.org" CC: "Yang, Qiming" , "stable@dpdk.org" , "Zhou, YidingX" , "Ye, MingjinX" , "Wu, Wenjun1" Subject: RE: [PATCH v2] doc: add PMD known issue Thread-Topic: [PATCH v2] doc: add PMD known issue Thread-Index: AQHZgALn8PBGU2vbK0iTiJE4onYpfK9a4PhQ Date: Mon, 15 May 2023 05:56:47 +0000 Message-ID: References: <20230420061429.140113-1-mingjinx.ye@intel.com> <20230506100252.215680-1-mingjinx.ye@intel.com> In-Reply-To: <20230506100252.215680-1-mingjinx.ye@intel.com> Accept-Language: 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: DM4PR11MB5994:EE_|SA2PR11MB5113:EE_ x-ms-office365-filtering-correlation-id: 445c53f2-ffb5-4272-ac3a-08db55092bbb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VlzpTChI3X7FXgW4YcMDL9W0JyPHFvIUja2jVjjTBL8kOHqauVS/s8wlZuxZ1+m0XFsdPLNVU4OOvqKA0+lLMWoCzlP483iQVOnL+YhBzwAm2VBMlscL2kRY5qs5WbUCty7abgVq3yHNtjWG63wGlGebZUpuVSf3lzvUw+iyDAOFajldLIU8L6tuE0fzigjp9uQyf10Y/pl2qzgFo9ZnR/eiQ6LM0jCZbvU9nGbH46EJKqhMqtBS8yaG5DuFtUd84pPH8YXLHEzQ4BPS1bZUovm7rhMIqurMbYhjFhEhjQlr/C9fMJ6EA1YtKbPdCt0CzutPcm/AeQh1W7gBNf6Tq+56ra/kOj2sZLG3Hv29D1oBMEQMC4OrQvV+G2fX9PHOxjWCJySmyaGssSHw+BzylH9uQwJyjPMaj7Jl4ZBStsWaUqFfn0HH7o/tRhobfp0Z/a3ZmzScGgqR7vpS0P+uaDwH3FQl1kRJcxc/BhhvhPM5oZkWrj/j0HrRq9RPuiHGkVq7D4Zy2bie6xkQ+kPUn2tlHXSKxRQgOqjOPjULxfBgeLcSrnYePTvahxrhghkzAKRDCQamSaeXXmAD9sQWS4aj7Eowe6GvloYB2Yns4So6/w4lPnHFi96cPBSUStBB x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(346002)(376002)(366004)(136003)(396003)(39860400002)(451199021)(76116006)(66556008)(66446008)(64756008)(66946007)(66476007)(4326008)(478600001)(7696005)(86362001)(450100002)(316002)(54906003)(110136005)(33656002)(71200400001)(83380400001)(26005)(107886003)(186003)(53546011)(9686003)(6506007)(41300700001)(52536014)(8936002)(8676002)(5660300002)(2906002)(55016003)(82960400001)(122000001)(38100700002)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?l/fYT5V9KCgEdru0tqpta7IrN5mpbk+2BSX8/MTimUS86LFyQnqjw53yjqHS?= =?us-ascii?Q?XFtjNlEiZ70nExxpSbO83lNHw8Lq+IdK5lXGgvBZEKtiF5fyw23qrfDbWoT7?= =?us-ascii?Q?KBaV/GRd56Mf2QFTPciVGtOFuFEJV5914oQ9wPyIiibErlEzt57B4TsiJSBH?= =?us-ascii?Q?vYXWxcKlw35PDXUW5UFGk3SiwjygmP00eTpHU5fwNiiyZrhoHYg9Iz8QZwrk?= =?us-ascii?Q?v4KdMWyywc1erXwK1fj5Ql7nYPmcHYbLG/Jct84vq4hIGX8Svgz2IqpUDWGV?= =?us-ascii?Q?rHOcB9co5kGmJE5KgKdP5C0CdP7PzJ944TVUsDfjiUyBkAjo1RnfpZa6iGgY?= =?us-ascii?Q?Zy4LfK40buruJuMllkoRaI7PLv1T0dte6qiHvfVQQYhYMzRdrCY+CC3um8i7?= =?us-ascii?Q?Jrp2Uk7hli1e2V6MTOzTudFPflNZTKAjXNo+TPzlkOp37IKK3RhxeAk3o+rg?= =?us-ascii?Q?Rl9/iyogcSw0q4uA14bjzqqY9FOINpoGUySIIafvVGL1yMmZOC5+qQEPgVYy?= =?us-ascii?Q?X+IklxdL9jWNOl2mY+T007+50fzZw36EHDjfBnv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OdHAclptMYNwvlr0mOjsc7Y5sataGPARhUhqFtH2Groj?= =?us-ascii?Q?TvaSTjWi+t5buJvAgoKbGGeS6Qf7y4n3djGoXMpDsxJy8JtTKflWyByd087E?= =?us-ascii?Q?f+k7rJjkvV8NZLjOUpoanf3Nz2rzKaAvnLzEc3eN?= 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: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 445c53f2-ffb5-4272-ac3a-08db55092bbb X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2023 05:56:47.9333 (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: z+LQafJBzIHcEpUVrevYN5KtqddGhpqggVYKUZAkmb7lAIIgXq+VrvSxdScb6OpRwdVcfBiF77SGEFtC5Kh3bg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB5113 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Mingjin Ye > Sent: Saturday, May 6, 2023 6:03 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; stable@dpdk.org; Zhou, YidingX > ; Ye, MingjinX ; Wu, > Wenjun1 > Subject: [PATCH v2] doc: add PMD known issue >=20 > Add a known issue: The ixgbe_vf driver is not multi-process safe. >=20 > Signed-off-by: Mingjin Ye > --- > v2: Modify issue description reason. > --- > doc/guides/nics/ixgbe.rst | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) >=20 > diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index > b1d77ab7ab..9fb3c39bf4 100644 > --- a/doc/guides/nics/ixgbe.rst > +++ b/doc/guides/nics/ixgbe.rst > @@ -461,3 +461,18 @@ show bypass config > Show the bypass configuration for a bypass enabled NIC using the lowest > port on the NIC:: >=20 > testpmd> show bypass config (port_id) > + > +VF driver is not multi-process safe > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + > +Core dump may occur when we start secondary processes on the VF port. > +Mainstream Linux distributions have the ASLR feature enabled by > +default, and the text segment of the process memory space is randomized. > +The secondary process calls the function address shared by the primary > +process, resulting in a core dump. Which function did we encounter the issue with? Is this a bug in the PMD? I= n a multi-process scenario, we should not assume that the addresses of func= tions are identical across different processes. Additionally, this issue sh= ould not be related ASLR because the primary and secondary processes could = be two different applications but still share the same DPDK library. > + > + .. Note:: > + > + Support for ASLR features varies by distribution. Redhat and > + Centos series distributions work fine. Ubuntu distributions > + will core dump, other Linux distributions are unknown. > -- > 2.25.1