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 0A63DA0032; Thu, 17 Feb 2022 18:29:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C8DF340150; Thu, 17 Feb 2022 18:29:29 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 2452E40042 for ; Thu, 17 Feb 2022 18:29:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645118968; x=1676654968; h=message-id:date:subject:to:references:from:in-reply-to: content-transfer-encoding:mime-version; bh=hxcOgPLkcegr6LeqUzqvUhjk46BRzlOy/hOGcZe7g7c=; b=R122pEBSzd/3SAqwSazSjWAJ5zGyUE6pGKT6cVJnM4wpeg0vLCu8EChu kTN+7i4Wmqb5s09zsc6EQ36lC322FKS0CUgg10pQLylwyxbzNpeyAlRub qRU9qigyPG2vNHfC8k5BuKN/eLStk/hQBMPjb6zy5ijh+6Aum94+7hN2N nrOxX9yKUfar2gUpOWcZLDB8rRYKBhayOz6ljAwjmmvevpxmXzJy3P7x2 jBhlujS84LCR3AgiCdIacYR49grwo7YNI/A0nzUn2uLdgYs8hto2+vCvs NaGeaZ0eEF3b+tmOvo34IV2bM2ctBPpLnTYe79MRvZj4Zzui+a8SW28kx A==; X-IronPort-AV: E=McAfee;i="6200,9189,10261"; a="234458679" X-IronPort-AV: E=Sophos;i="5.88,376,1635231600"; d="scan'208";a="234458679" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2022 09:29:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,376,1635231600"; d="scan'208";a="704914647" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga005.jf.intel.com with ESMTP; 17 Feb 2022 09:29:23 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 17 Feb 2022 09:29:22 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 17 Feb 2022 09:29:22 -0800 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.173) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Thu, 17 Feb 2022 09:29:22 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R8FGpDO8gtnNt01OsyI/D1JNvUxNIS71IEREovvkVQQUMcwzQnch1/0uzUDtiWtQm9sWSUUvXDmCgnpJHqqy4MlY5UnqMvuOaWaZpzAY3BDLLJgOfu4oEcxDV3lfetsVs+SmmJ2c6QSEFhzJJFfHxdmcB7jsaXNkt82aRaJeBgoXeRHyZfwbVisTI4G9PVNIOhJa8p2uNFfno7PbpSXxZuMmrVB8iF1pQCEmY7wW+4Yy0XjsCBc8urynvu2xr1oEQyoZ6MSZPdoWjSWvQsxZFSTufnkTLT84Iq9CPIOE7loW50gO8NoTV8329GXNgJCZcjEGBa19D+DbSmGdKQJPwA== 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=T315sfBaUrTVIqFzK50hlqC79CvEVg8sfbMAmmO1lzM=; b=OE0WSryVADsdDifYi8YQf5yZXULCVjKn4DOnLJ+F5R6l9H0akwggvQufjygBKMKcNCNNqJeAYAp7Z/RCi7cUHBrNe35Uj1H51/0GGriiGTQ/BhXZmFdVunxHLVpv9PNxZF9RmX3OZbXCLv1qCbH0HFlfU5Hus4DcwXzkL9nF0iDmkERaIxBzOEZzIyZg900tDi5F9d3sJ9gJZakDlukXgHl5a2qJnZHUZtZeF7EPwDcncr9qFGzF44/fNTc4Iw15CAXWpWlgb+k5Rq9Vvylnmo86HsGhEcUvjLzNUbeT3+y3S+P6GdvMsKAT/FMC4NznaOJS3sosA9hZ2yCncV4yqQ== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by BL1PR11MB5222.namprd11.prod.outlook.com (2603:10b6:208:313::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.17; Thu, 17 Feb 2022 17:29:21 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2%4]) with mapi id 15.20.4995.017; Thu, 17 Feb 2022 17:29:21 +0000 Message-ID: <91250d44-ae3c-5c31-b9b3-d3bfbe0c35d3@intel.com> Date: Thu, 17 Feb 2022 17:29:16 +0000 Subject: Re: [PATCH v2] net/af_xdp: allow operation when multiprocess is disabled Content-Language: en-US To: "Loftus, Ciara" , Junxiao Shi , "dev@dpdk.org" References: <2c42205a4bcc20cd@cs.arizona.edu> <2c422567d3640972@cs.arizona.edu> From: Ferruh Yigit X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0463.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1aa::18) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 51a2ee74-470b-4fe2-20ca-08d9f23b0863 X-MS-TrafficTypeDiagnostic: BL1PR11MB5222:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1388; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rmzxJh1rh5B6i11DKor21Mc/3uoMeA4jdlZcQhVfKKzc2MzHHmqQTrM+YeaRjg005jqgSwHLJ2S4SSJ6mbWKEoDY/XGUXkQvnsByuBSKSvIpHm22tIeYjUOsPEuatE2QPHlU4b+cfa4pfOp5Fy6TC4tmDLkTMoSqpsUi1wR5cpdDqNM98hE7cOUFpudEuvLwrtmiGVeZFWLrLDJMfw7lMwuKbx+W2/FtqCoQVpu3a/lniDXt0JMgIuQbZUlqfqCmRvyk4eMazn9KguBZ4AczxtWJubEElbM4Evz8nxBklnnm3RbnFw5UYpONKZnyBHYaRYUWfx1Shz8i6zYXXe1SqEU6S5vSpB/RxfTv1p33smsfGRbQPgCyLY1nv7xP9R2AFe+odbm8jhORN0ItvZNPpQOctEllgkD/aH3i5KFVoa4AdlNbNbOudI/JZKZbb7npPxryM9+TKaFUflED1mdxnUzMvNxLSGc0W+Cf3kNoP4O90+sVabmWOA7S+Gj9hmV/gGCYSjx6Az0t3MlKrZRozo19zmDiQ2lh1G8quppw/VuePYdelkkkka+4hWlFEcqEsP+pX32YwSRc6ewg2mqKTK5YN8NTaAL7U2fYj646evpuY8CH6hP0nbpbaKExg5rsZqbKLzYl7Tsa0gif5jLNX8EbNdKD0bIK2fXBLQ6WEypVs9BeWl5nbjU2EBoNOpKBt3WCEP27RvBWgdLIAVhFrQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(4744005)(44832011)(31696002)(86362001)(2906002)(8936002)(5660300002)(82960400001)(2616005)(6512007)(6666004)(26005)(6486002)(508600001)(53546011)(186003)(6506007)(66946007)(66556008)(66476007)(8676002)(316002)(110136005)(83380400001)(31686004)(38100700002)(36756003)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?LzJub2FEYkRYdVRmNVQwOHhuRUIzK3hEaXhObSt3cnhpclp3c3MxNndqNVo0?= =?utf-8?B?L2JTYVFKTGRTR2N0MlBwK2J5RHJ6M0lkZUpJWkY2bFczd09uay90c3ZKemZh?= =?utf-8?B?VjFOenBnaDd5SHllK2xTYy83czN3Tk1qcGZiZ2RyRWdaWmJDSWdiNHBlQTNL?= =?utf-8?B?NnljQmx3YnlpQXl0YTZHMEtoS29oQ0tkejN3THhGOHRRWlNOOWt2SVYzRGRE?= =?utf-8?B?M2Q3bCtFV1FmT2dnb0pVYTltdnFIRGNLVU15Y2FXT2dsZXhLemZSalZmelBx?= =?utf-8?B?S05Eb0U3aU5adUhlaWwrSUFsZ0ZXMGdIYXJrRzI1VUd3eUJHR25pbTJacUgz?= =?utf-8?B?b1k1Y2xFZDc5R2ZNT1JsRW1sODVVVFZxdTNnUkRrdy9kaTNMUmtpdzlsQmI3?= =?utf-8?B?aHEzUlhZK0dVS3BwdFFWaUFBbHlodHhXeWFIZ2F2UEN3Q2hpdDJwQUZkZzR4?= =?utf-8?B?VTlXVnpmK1E4R0hidEx4RzZC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d11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2022 17:29:21.2341 (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: NcJFj0zW2JKNaa064K3GBmO7j/idiLXFOZDuHMsWpRXLlNOAE3sRDFt1FZGMQxLAjzZ4wpfDDyctzX97cB6X/w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5222 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 On 2/17/2022 1:29 PM, Loftus, Ciara wrote: >> Subject: [PATCH v2] net/af_xdp: allow operation when multiprocess is >> disabled >> >> If EAL multiprocess feature has been disabled via rte_mp_disable() >> function, AF_XDP driver may not be able to register its IPC callback. >> Previously this leads to probe failure. >> This commit adds a check for this condition so that AF_XDP can still be >> used even if multiprocess is disabled. >> >> Fixes: 9876cf8316b3 ("net/af_xdp: re-enable secondary process support") >> >> Signed-off-by: Junxiao Shi > > Thanks for the patch! > > Acked-by: Ciara Loftus > Applied to dpdk-next-net/main, thanks.