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 4ED59A0352; Tue, 8 Feb 2022 19:00:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C356941140; Tue, 8 Feb 2022 19:00:39 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id E40274111B for ; Tue, 8 Feb 2022 19:00:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644343238; x=1675879238; h=message-id:date:to:cc:references:from:subject: in-reply-to:content-transfer-encoding:mime-version; bh=/Dnek9GIUkuupfb8vhgAnBY4IMtPRchsELUzEwPaSf4=; b=eQyY4K6Xnt5nPklfMYTT9VkUYVi2X2drNhCxHxBbdKnj+2Cr71iteNLx nH9tz7ze1SlJMcpfKeQBrZriCU5TJ1Q4e5Clo+BOZA3DIeMAlLd9HOqOj y/xeiAU0IbiRy8QjmnzaawzGncHrLehteR9cKqUeHGEB8dyWpuZCtuKrV Ny1XC/V56zGMg1ehrWSqbFD9fKJenrfE3JU8GY100brBJW8dbmBn1TYTF wz1+9zeX7zw6JsiwbFcTpzVk61A2nIqb5kzkHMBQspUbkti29sB1iOILX ci//yucmngh968CRrWGGiVrc4phyZVSndbDxw5SYk3W4JEBkJ7c+GCEEq A==; X-IronPort-AV: E=McAfee;i="6200,9189,10252"; a="247843809" X-IronPort-AV: E=Sophos;i="5.88,353,1635231600"; d="scan'208";a="247843809" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 10:00:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,353,1635231600"; d="scan'208";a="585276438" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga008.fm.intel.com with ESMTP; 08 Feb 2022 10:00:37 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 8 Feb 2022 10:00:36 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 8 Feb 2022 10:00:36 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Tue, 8 Feb 2022 10:00:36 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.48) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 8 Feb 2022 10:00:35 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AnGOtUHCWETpVpOXr2THlL8pB4/ZLcbjFNoNj/ZHSqhljb1XMTxXq8WVOIMG4VQ34e6xq3yWa1e0+hz6E4EFfJO6yOePrYJLdYDPUNAj8eOEJrn1obakPqpq0fhIWAow+y4ROKZA7vmAI/u40ylPvMly1q+EOlRLPoSQXjemvfENk9ivyxWeDdZkGm90PqegQhedZ701YsHJ93xE9gj2VofKNyOwmBtfAZ5UHX6JDUg1YMnoiINdwzmU4kSx+IT7+ZGbpy169CF9G36KtUIEtR9xct5pB+azWgmP71a7XHajxCGbVHBSNFJUe3oxa8wzdHFlQGNO4CZjOMOhE5zCXQ== 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=RZ8cP0J23R5grvvR+9KtSFl6VbwiO5nfcI9MQaVWujs=; b=UD5HPcrvVrSNoh6g5pXebFISGahgV8CCiUaEEuwrs3D1ijf1/H5N8uOHLiLuxoxhuK5R38jjVZU6ZxsjgzIXh9lS+XwXUQTPUssLBCj8xINOkwosyeOdHDJ2MbLF8ph4YL89z2FjLFTvuwU9q8iKiQ1exxRQfaX8Lym6zk2foUslcgaoCl5qAWjIJkbyTmGVajoPf+RC2bgVqAMP5jRLRxxri2+2ojlPDdVJG1dGmjY/0q7cAV8cGY9aXw/NxFLk1sgdJvNdnvqn+3G53iHHKvBHN+aL1Jp4fZhcmhiAJpEQe+SHCNDFIQOSdDtM+kk2wStpAKYyf471jglLpxpTrA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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 BL0PR11MB3153.namprd11.prod.outlook.com (2603:10b6:208:6b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.16; Tue, 8 Feb 2022 18:00:33 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e%7]) with mapi id 15.20.4951.019; Tue, 8 Feb 2022 18:00:33 +0000 Message-ID: <6e2bbf05-102f-f84d-cc51-3663dc270015@intel.com> Date: Tue, 8 Feb 2022 18:00:27 +0000 Content-Language: en-US To: Stephen Hemminger , Ciara Loftus CC: , References: <20220204125436.30397-1-ciara.loftus@intel.com> <20220208134800.52142-1-ciara.loftus@intel.com> <20220208094557.1fd90122@hermes.local> From: Ferruh Yigit Subject: Re: [PATCH v3] net/af_xdp: re-enable secondary process support X-User: ferruhy In-Reply-To: <20220208094557.1fd90122@hermes.local> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LNXP265CA0037.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5c::25) 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: a4ff63dc-3438-451b-7059-08d9eb2ce6d5 X-MS-TrafficTypeDiagnostic: BL0PR11MB3153:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oYa/OTyjVk25B1m+0PdTjYyPd93iXBBeK6xYoElcSn3Saw5+MB3NTJkaxrMpsGhyiJFZvZt8NL90Y3wFTJvtu3BnJ8TBl9IGEGmAzFrvbw7/Ls5rTIK2/hXgyEBwar049eQBs1P3NRaj1MXKY8gH+98nNiCTDYpJ2mdkZk+7JOgqAWe3TOluRwOJQ82dTc9CIVrNkGLTzOaORqt4Mf1Hrb+wXhF3ae0t8KtYIbYBYDasHFGYnyXJN9ybDWc6DExl8mNspAZ068lv41WKPqB6XFEruI4CWQTl/d4VTA4HbpZX0MoAC8mPYjuecI2c2B4f2fN7oi3Rn8q07AXrGgjjGMJeBSHDE2gOs4KRRxdiP0xK3Rxsdeo/ykA1UeTux4+f8oTiFQE7/4oIZWXI75QKZcF2/vNORuNjCjNmnsKlOBvBzjHculb+QaJDq/vS45FbBzmFTt6UCY+1DmEO7d6M5PssI1FpkNbEIW3RDwN72iSdbcq1N2j14gLulL2E/sJakPzHasthoUS+26E2ChpUtdzPo9gj2dQQAdt567FjNKRoO1UbdwT6IvgI9fjWtQfwujC2ts8rxmyGfXpzeroRPzpBjbtOEDujUn9BPyUwSc/SbP2Dhj8s5gfrBFtppqW4SdhEVc2Mre3ENPNZeTZpg+VHb9IgTS4zBC5eh3ZzGS3pqJMa299/ZUzucauDJ/CWGfWirjyv9SCqoAd76P/Dtw== 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)(508600001)(316002)(55236004)(6666004)(6506007)(53546011)(6512007)(110136005)(26005)(6486002)(6636002)(31686004)(36756003)(8936002)(31696002)(4744005)(86362001)(66946007)(186003)(66476007)(38100700002)(4326008)(82960400001)(2616005)(5660300002)(2906002)(44832011)(66556008)(107886003)(8676002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OFRGODdMYUxiQ0ExN0VIQ3FFUlk2SDBmd0hhMkp5QkUyU0RFMGRIUjBwbEdM?= =?utf-8?B?dDQ0TjMzcUxIN29TZFVJQmdIVHhVQjZBaTlZZzl6QUZTQ1lCNGJRdUZBK1BQ?= =?utf-8?B?VkwzZklWZURWL3ltVHJPdkNDeWEyUS9VT1ZMb1oyZXJaOU9LZFUyb2t5UXg3?= =?utf-8?B?aXM5dFVST3dqTTljdDZITEt3ZzRpYlhVRS8zemF4YXlZcnMySVVRN1ZjaXRE?= =?utf-8?B?QzZtV3lPUjFxeTU3OWNKQ21VTEpjSENMbkZzSEJCREYzdTlnZVl0ZEJEUkVZ?= =?utf-8?B?c3JuUHlGd0p6clhMa2hpOFdWblE3NjdqZWorejVWVlhjVTlyR2l0RDdzdWwz?= =?utf-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hWUHB0Ni94L0RadFErZHZud2ZnZjREN0t6WTVF?= =?utf-8?Q?hhDDM8PSsgg5/HT47w9Gx7g=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: a4ff63dc-3438-451b-7059-08d9eb2ce6d5 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2022 18:00:33.5816 (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: 3xJrRez4CyCzfTQs9RIg2DDMsNF6d0a5d9xUACnKRkJhH7hoy37pwuPi8ucHQRSPLV37UNYVy9gp048DMMYMUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3153 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/8/2022 5:45 PM, Stephen Hemminger wrote: > On Tue, 8 Feb 2022 13:48:00 +0000 > Ciara Loftus wrote: > >> +- **Secondary Processes** >> + >> + Rx and Tx are not supported for secondary processes due to the single-producer >> + single-consumer nature of the AF_XDP rings. However other operations including >> + statistics retrieval are permitted. >> + The maximum number of queues permitted for PMDs operating in this model is 8 >> + as this is the maximum number of fds that can be sent through the IPC APIs as >> + defined by RTE_MP_MAX_FD_NUM. >> + > > This seems like a restriction that is true for most devices in DPDK. > Most other devices also have restriction that on queues; > the hardware descriptor ring can only be used by one thread at a time. > Is this different with AF_XDP? I asked the same on v2 :) and Ciara explained the reason, it is on v2 discussion thread.