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 5C53141D93; Mon, 27 Feb 2023 22:44:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D45540A84; Mon, 27 Feb 2023 22:44:48 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2072.outbound.protection.outlook.com [40.107.92.72]) by mails.dpdk.org (Postfix) with ESMTP id 680E440A7D for ; Mon, 27 Feb 2023 22:44:46 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SHG0YhxhVDDBJJPabwATp/asgLa6VMSyP7hlmnoOKSHV4gRarMYXmfQQ9wDNxxNCTWOMhvRQZzQ7QfBcPzkcXYqy1VXeFjb4KkhTsSVs/bdIRqvAWoQBWCcBmh9oCKT4CJxXyKVbJWaztLkX0GbkmzNjLcM2h2wNafQVAgv8HcBQas53TYrODI/Sc4rk7hqBpOskDodbKnFOT2NJfQh5djgXMd5SDK9Zv8HA2WzynPUIDlG3b91oqRt80BNVFbsEDIe2k1hl5YiagNKsrNIogybep9U3ChjF1eZJXiY3pVw+PVhBbqqcVXNVnZewa6nGvPf9bDZ+eouXYnWXuxqqzw== 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=o54uAjI8qj+5TaxSlut4CY9fWYp+4mgoUTgvX6BRAcU=; b=KKSQhqyyZiC3a8gzUQAe3+26QPOm70bugHQ+Q4zPcE4dNWQtdB8nj+QJIUbiopbC0wz+oIiQ1wED52gEU44X9SEIYcgq8oQe6S8QhLzLObwxWW1hb1awUfhqRTW0On56QOOl+sh6q/DGRSucL7rwIMxT4Bwa7qCfWVGH6hHSnWGFWcS9UXjL9mciPPL5GoQ6EjpejYEs4KIoo91Ma0GTKTLC8pSBJC+xW1jOdJoKW5N4IIaT1xXxm+an4b0E4XAFjN9vulmni85gyPcuXh2EZHWu8lXmwx0pODJE699e8P52ukun+Y83TLHgBGkf0Bp3pRkbyM6oBNcJIo4GwexFSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=o54uAjI8qj+5TaxSlut4CY9fWYp+4mgoUTgvX6BRAcU=; b=LU30JvUhLzdmJkajpTFQRTarpLpptHT1AWj9A4/1ZaiNB2Xh3YFp4Z9angVQnTo/VmO/vIsznZQdW0jfL+QeIarj8nDDeb7rkb7UXXW5aJ1Mple1qZhSvNVzfjEwOalDOhvGc2OOR5WHSJ8nmSdrau4TqH5ytz0RFtbK1Ks3Edw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by BY5PR12MB4289.namprd12.prod.outlook.com (2603:10b6:a03:204::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29; Mon, 27 Feb 2023 21:44:44 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48%7]) with mapi id 15.20.6134.029; Mon, 27 Feb 2023 21:44:44 +0000 Message-ID: Date: Mon, 27 Feb 2023 21:44:39 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: en-US To: Mingxia Liu , dev@dpdk.org, beilei.xing@intel.com, yuying.zhang@intel.com References: <20230213021956.2953088-1-mingxia.liu@intel.com> <20230216003010.3439881-1-mingxia.liu@intel.com> <20230216003010.3439881-3-mingxia.liu@intel.com> From: Ferruh Yigit Subject: Re: [PATCH v7 02/21] net/cpfl: add Tx queue setup In-Reply-To: <20230216003010.3439881-3-mingxia.liu@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LNXP265CA0010.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5e::22) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|BY5PR12MB4289:EE_ X-MS-Office365-Filtering-Correlation-Id: a8953fb6-cda4-4cdb-9c44-08db190bd6c9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iyBo2H98BQh8vSSx31jF96vxVrtK38waNvmNcemGWZh16CB3IBf45LNylO+8A3VHo1g8UdddpMpvALmwFv/7dE6lUY3kbok15DeRlD1rbmFTUJaEIY+JLJkdxSTcYUneDk2Cm/tSxLFeCoXE++DiqWRT8RPNxDZhFJ+czxOAJSoYQhWB+VMQXJ5BcZfk3Io8X2cg3RxyAsS5R4XiJ2NHSbo9SonRdn12dHn78H8RLPgIyJO/oxSDa1zIOZTyAed9OLmjk/oLf6ZyJ+k3aobcZBDL4yl1hVchRjGMrhtlqkgf+pT29+MmJLoRxQJxAsC/TWHTT89pVOUoztfDwTmCVpQF+Nueh0MRQJWBjAWdTrbRMkvGNvvKQDkg4JxKt6Nd3Y9SUCgkUhpRuO9VHIojDQ/VYCc95dSBZJ6ywzheA9SnPh8XrDlUpm3fNimTFe5TTmyIIBrNFKng7tWHgUtO4e7+4LljujYmdlQTo/Z9II+fzrM2EG05W7ohldgG2Z67cTEXl1Ob7zmB//ZmYrnjLMKTUvIZ0vvheYCUmnu3+DqN2cre5y2mQ4YUvFJwoeCi3yyHJ2SPCsu5yyhFULPXwGB/tsZ7XpqChpEU8G3mRw2ZcRNd1M+jjfsFlIXPTF256FNY/Sf98N3K3KIabbnjE/IFRAV75vysgIQM5obHrVTiTZ5DvcPNiH2TRDhbqL/hE8c+/vNZ4OL/YiFmhFRUX5AsDznWu1OvUlVZf9N/XTE= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(39860400002)(346002)(136003)(396003)(366004)(451199018)(36756003)(6666004)(31696002)(6512007)(6506007)(6486002)(53546011)(2616005)(26005)(186003)(316002)(41300700001)(66476007)(44832011)(66556008)(66946007)(2906002)(4744005)(5660300002)(8936002)(478600001)(38100700002)(8676002)(86362001)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?aS81cGExMW1yZVlLZDFhRzNmODhOQ3Q4aGdnUGhVVWZ6T3ozT1BXb3R1NEE2?= =?utf-8?B?VjVtYUVGWGhtVVZOSEZtdSsyYUpEYzlxcFZyNitmTWJ6U3pEOWdZTUZ6OTJs?= =?utf-8?B?d21MV25qWkh6QUdzbmdFNUxzWmJOVWQvK255dDFDNzFkU0I0d3RrcSt6Qndk?= =?utf-8?B?TmNPZ2pUSyttcmhHUHU1SUl1STVzSFIzYS9DbVZXajkyK2hnSk5pVjdxSmRk?= =?utf-8?B?Y1NZTzhmRUZzSVFJSFZtajllVkN5eEZoTHBVaGFMY3VaZ0NiNjc0RVFLT08r?= =?utf-8?B?N1V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0xkQjkvSFl4ZUxIZWVLODNKMWFnQm8rOXhY?= =?utf-8?Q?XwYmuFj7FquGuH3FQ6lp7gGAR?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: a8953fb6-cda4-4cdb-9c44-08db190bd6c9 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 21:44:44.4115 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: HwocEfyfdiErY/wbn/2rrKe+Bsv94K6iPy1K10z+rLMR3mNt53xOKFGm+81NRl1B X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4289 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/16/2023 12:29 AM, Mingxia Liu wrote: > Add support for tx_queue_setup ops. > > In the single queue model, the same descriptor queue is used by SW to > post buffer descriptors to HW and by HW to post completed descriptors > to SW. > > In the split queue model, "RX buffer queues" are used to pass > descriptor buffers from SW to HW while Rx queues are used only to > pass the descriptor completions, that is, descriptors that point > to completed buffers, from HW to SW. This is contrary to the single > queue model in which Rx queues are used for both purposes. > This patch is related to the Tx and above description seems related Rx, can next patch be a better place for above paragraph? Or please revise it for Tx if it applies to this patch too.