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 B5364A0C43; Fri, 15 Oct 2021 19:20:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7332140041; Fri, 15 Oct 2021 19:20:48 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id B4B3B4003C for ; Fri, 15 Oct 2021 19:20:46 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10138"; a="314151250" X-IronPort-AV: E=Sophos;i="5.85,376,1624345200"; d="scan'208";a="314151250" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2021 10:20:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,376,1624345200"; d="scan'208";a="716572372" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 15 Oct 2021 10:20:45 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) 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.2242.12; Fri, 15 Oct 2021 10:20:45 -0700 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 15 Oct 2021 10:20:44 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.2242.12 via Frontend Transport; Fri, 15 Oct 2021 10:20:44 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.108) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 15 Oct 2021 10:20:44 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UGOsjhIWdgOepZq9KWvxLTCxosNyVBlDvtQIySe9uryGQ/Y2V+PhiPCOAGBPjw5Q1PzkrETtGOCwVNhnZoF4a6gTMAQ7k3EgGf1srQi1C2e+UqpywKckM40Aaw89oDhrJhaKNT0sPFYxcLrAQLs2O84v19tnFBuIQEr0DpXY47h4i8bSvLjrrgv5bRxplRjE9Q/0gcVj/lfywYDWSa2YOAoTd2lAaNd5kKoLd3kyuQib9NKgtkCl8ofQMamsQZWgDNhwvo/xpHEjw20D0gMxJrKLL0pV9HjheUw5VJLVPOVYFALNHCyMYda6iRwibEy+GD1SD/t64D4PWuiHaZN/Sg== 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=aHod/z9qR4lPudJYHkbDiTmSliYGYNDucMfAw0od9RY=; b=F2WkckEFV7ziR4NwyE5wY8i0QX2+KTn2g8gPwnfLCoV0piZ9zJ01VDmvzh/jhYGOvirO2UhGWWqXyozFNGAG1+wRFI70dfd6wbTr6fMmSs/ftuuYivm6zE7/pt6E6cLzx7U/9T2wHv2Jg5k7bXs+bdL0nVLTj2xLTvtCsm9QM3SAA3+wNfqSnHB0S4FDZcl8IQocgiGeSxh5nC+BglJgqjKySzfZpTWOjzZ0/iwZLr4oCjZ1XbkcjttoPUl15XnsXHaIbH1sGM0ZZh246j4MkbNkFNTM2z0pit7rEsOTHihUDisjaGjFjbyMTErYabJR5j+9uwb2V2ITb8QxtXOYEQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aHod/z9qR4lPudJYHkbDiTmSliYGYNDucMfAw0od9RY=; b=HjjjOYta6TThFOxJSAijxJRRCv9xZsznZG6kt3F3S/6whxm6oLIuVAyYK1OOTTbMiD4Nut90KDVp4+wfNrqPFk1vs4iEkwpo182NxjWbD4lWIFMKkqtpGsoGUTn584ELyRb2PHjB7ypz/uMOqKrq9H3yFizw60K5gtvSYbbBlrs= Authentication-Results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5174.namprd11.prod.outlook.com (2603:10b6:510:3b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Fri, 15 Oct 2021 17:20:38 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%5]) with mapi id 15.20.4608.017; Fri, 15 Oct 2021 17:20:38 +0000 Message-ID: <4f35ee80-58d5-2647-181d-2544261c4caa@intel.com> Date: Fri, 15 Oct 2021 18:20:31 +0100 Content-Language: en-US To: Xueming Li , CC: Jerin Jacob , Andrew Rybchenko , Viacheslav Ovsiienko , Thomas Monjalon , "Lior Margalit" , Ananyev Konstantin References: <20210727034204.20649-1-xuemingl@nvidia.com> <20211012143942.1133718-1-xuemingl@nvidia.com> <20211012143942.1133718-2-xuemingl@nvidia.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211012143942.1133718-2-xuemingl@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB8PR06CA0049.eurprd06.prod.outlook.com (2603:10a6:10:120::23) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB8PR06CA0049.eurprd06.prod.outlook.com (2603:10a6:10:120::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15 via Frontend Transport; Fri, 15 Oct 2021 17:20:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e8c257a0-6c4c-40b9-2bc8-08d990001b23 X-MS-TrafficTypeDiagnostic: PH0PR11MB5174: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yRdzljMEK7FmjXU78fm125cnGXii+nS/wO0W1CeE2iSS3HXS6/KoTOEDrw05jDd5YdN6PIDOLx0hgMBlUF6Nmv9mrzH59jOqFdktT97G1ITVXjjHY/bvmtPTBnoYOHLVE7LKUs5G+7dwpmhg8J9moPOjp6mZtj/XpMzTt0oRRh6kUOS+70+1EkkDtxKixdaUjfG0rtTDB5svheCU1iou5mb+L6ko2316dYpoTBP9RAeVosbwh9Rfw8n1JEwNzNbVLZ/wARGrzLgedIrWW2JgRI3py/k/dOjDmx9yAe4E/vbDMitx8UB0WobrSXYH6wpdTREoe67ySC+B8tfTVpupjygt3eBOhPPxWC11gg8bS94fDuxL3FuokQ+L4kip1wdPioXjQ45RejWuh/7BsErJEcGCR+KH7gXtiKjlwj78+adY6KwTZO3V9aURW6It31aTEL53UC0bWSuuWilhEaGfoJQLKWRGaXqsk+7hy3ZFAUB6QPOgaES57ce2BVo2W07R6Jozc/RvHpaiHdVUaXhF2XG8RjWYAeEpGlOCjnz9tYpYz7cUpZu7eWO0U79HIMvlBPaIg16rxcZsHzsjJo2jFlwzrD5dLtndUrKn0tlHzr2ZVo+fjawyJzb5mFhkdQwk8SsBpVNyAf3r9EQG6Z5+iSrBX6YOjA4Zvq6oXuO43lzX+YkNaqb2C7VEE0ygRYwvmY87BXuBb/769PnyMExfBA== 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:(366004)(66946007)(26005)(2906002)(16576012)(66476007)(186003)(107886003)(66556008)(2616005)(316002)(508600001)(44832011)(6666004)(956004)(5660300002)(86362001)(83380400001)(8936002)(82960400001)(31696002)(6486002)(54906003)(8676002)(4326008)(4744005)(36756003)(38100700002)(31686004)(53546011)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?b1JpMlFXS2hwUDNYQzNSTEdIeHlSTWhXaXdQaUNKQVB5dTZsR3BjeGZRRGI0?= =?utf-8?B?ZEc5ZWVIOHhZazZKczZMMWw2UEVLN3FTZmpxaTdpaGlSNHNXRDhoZnViVU1v?= =?utf-8?B?ZlFZT3VrbTJONDdwQUdFcjBEU2xLYjN1WWtkM1hVdTlJQVpvWVdnOEtxekxa?= =?utf-8?B?SWorUmprK2JENmdlSHJqbkdhTG5QbngvQWcwUTNOaGpiZDZESXREUzNuTGRB?= =?utf-8?B?ZHl6amMzNHJXUUtmYkkwak9VNkMybHdDSGQxMzVyOVBnZ2RZbERDR2JnTXlM?= =?utf-8?B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seXRQZ3RR?= =?utf-8?B?RW1XMXoyVE5naE9QMWVjblA1aHlaU3dtYU5wTnlCaGc5bWVQb3A0d3BCT1ZU?= =?utf-8?B?RVByQU8vK05PSjZVd1BvVnpCU1A1OUY3MGg0L1VScTFlckc5SUV5YndtaXhZ?= =?utf-8?B?RVN3N3kzVFZzQllXWFZ4dTJEMFp4TzJXZ2M2T1RIMFU3aFZrQW1ER2I2T3BX?= =?utf-8?B?MVZycG5RZDAwdDlwdzlwTmcrakRpVnFlcW53TUlmSXQrQlZaZUtxVXRmcWZP?= =?utf-8?B?VGpYRGpFY2lhUXFyRTJJR0RGdUM2QXQ5a3dqREFpM2lYM3FIeEk3QXhmWnpk?= =?utf-8?B?UlZiUldwRGxEK0JlMXJJYlloSWlraVpUVDIrVlFpTERSbDlHVCtwcklqV014?= =?utf-8?B?UDFmek9NZEZqVVdGTmtFdXAwZW1jQnhaSVhSRmJUTDdZcEtveS9jdzdZQTNK?= =?utf-8?B?aXh4QzFBY2hsRC9qaElWSDlGZ2hPUktiaDR4Rk1pR3VrSmNnK00yUk9SNnd3?= =?utf-8?B?VTRBZHU2bGZZMjdEQlBJZ2wzTWFKaUJrUU5BblZDbDdDVkROOHVFTlpteWZp?= =?utf-8?Q?RNbEpQ48byoehoulXSjT4qzloIr7EZ8KSkA1cKe?= X-MS-Exchange-CrossTenant-Network-Message-Id: e8c257a0-6c4c-40b9-2bc8-08d990001b23 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2021 17:20:38.2511 (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: zPcrU2h7j39sTJBhpQGBQuHphkxmOveYZpbNW7P2uGHjBsZDlqMLjU+E2ybq9RET5leHRZ8CrNIl5R3lb00csA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5174 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v6 1/5] ethdev: introduce shared Rx queue 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 Sender: "dev" On 10/12/2021 3:39 PM, Xueming Li wrote: > index 6d80514ba7a..041da6ee52f 100644 > --- a/lib/ethdev/rte_ethdev.h > +++ b/lib/ethdev/rte_ethdev.h > @@ -1044,6 +1044,13 @@ struct rte_eth_rxconf { > uint8_t rx_drop_en; /**< Drop packets if no descriptors are available. */ > uint8_t rx_deferred_start; /**< Do not start queue with rte_eth_dev_start(). */ > uint16_t rx_nseg; /**< Number of descriptions in rx_seg array. */ > + /** > + * Share group index in Rx domain and switch domain. > + * Non-zero value to enable Rx queue share, zero value disable share. > + * PMD driver is responsible for Rx queue consistency checks to avoid When you update the set, can you please update 'PMD driver' usage too? PMD = Poll Mode Driver, so second 'driver' is duplicate, there are a few more instance of this usage in this set.