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 DA1B341DB5; Thu, 2 Mar 2023 16:06:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7772840E09; Thu, 2 Mar 2023 16:06:52 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2087.outbound.protection.outlook.com [40.107.244.87]) by mails.dpdk.org (Postfix) with ESMTP id DF448400D6 for ; Thu, 2 Mar 2023 16:06:50 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VmLPNs9e0oBg/0QjyqSjRq1Hn1FW8hJqz/7de/n143QI/wahfysUJndctNDkLj9VhyK8/+P9zoxNHFst0UUV32BTOStMqEqeQ/prm4ceMxj32z9gRdWAyikY6Fqs9ZBHQqjI006k8yCrq9yFzeHCiboHFR13PbMmcBYgHDYnf0WVCScIflbdMxeQ/0ETTrUsLdeHKZ5s/9W6AiwK+CqMlyXHFZ1J1AzyiJFvVPS/blQ6iQIO4R+iZCoc0LiA2RG56/bMQJYATtoA7xnUdG0/HutmTm3AHPBL/2FKtWRQuyHPQy/9DR9sJMUKphE6IVtsgIl+qJDtMOaoUfmY6qFoXg== 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=as13RI8sa/XecnlvZDfdoKCoBXMJIOABYF7K+SnvIiI=; b=MAMHe4zG/CGPkCpRvTTms5inrVF4+8ocuIyKW1h3Y9WXE5pLTbSpufqX7pxCGS+MZcI/XBPr8V4bxdHVenOHAGhYuYX+ELfiPcxw/2mIUZ6i/9eyaoWsrZuhx1xEFnXPGxYhkIdsNxyygvcb3AH0G4aAl1p8nTIEE44HGDyX7fh/4X5p3WZWjomid7z/u6Ri1cf+WWMwpnIYG4t0TlpqupAxSgRn2JfvfRg4UdBIYRBdfAkJP9SajoOFBUP6q3fLovJQWk0ueTu0gdkAWuG1Cf30kLtkNmUVneDxHFiEMz0FErAj762ZUJUVsCFD4uJ94Px6yTsaZW6iDOk76H4ppw== 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=as13RI8sa/XecnlvZDfdoKCoBXMJIOABYF7K+SnvIiI=; b=EXZ48gadoiW/RIJtbYIYzIVcGn5ZptKoympkpJlD81oRiDJ0HuV4IeXNjTxdbT0YLNli7TClcuQR+WyTqCF70xA5A7u4w9I7Sbf93a9kQpDk2YzNeAhKaVoCHg6bMfkeCgsWSiio5kCs9+ECV/zdVk0EiNkQ+natMMp5syU6oqw= 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 DS0PR12MB8415.namprd12.prod.outlook.com (2603:10b6:8:fc::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.18; Thu, 2 Mar 2023 15:06:48 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::dd5a:8a5c:f493:9640%4]) with mapi id 15.20.6156.017; Thu, 2 Mar 2023 15:06:48 +0000 Message-ID: Date: Thu, 2 Mar 2023 15:06:42 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH v9 00/21] add support for cpfl PMD in DPDK Content-Language: en-US To: Mingxia Liu , beilei.xing@intel.com, yuying.zhang@intel.com References: <20230302103527.931071-1-mingxia.liu@intel.com> <20230302212057.1114863-1-mingxia.liu@intel.com> Cc: dev@dpdk.org, Qi Z Zhang From: Ferruh Yigit In-Reply-To: <20230302212057.1114863-1-mingxia.liu@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0481.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:13a::6) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DS0PR12MB8415:EE_ X-MS-Office365-Filtering-Correlation-Id: 4f689345-e1d0-4e01-097d-08db1b2fbedf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VkEYGi7Yp18h4CChCRH9v7r4H25ITjJjSMmeSQW7SgHPH4yjnTnvvDjgwZL6SPOMUrAv8hkSiGwCLkuy3FoyJXKk/QFtNzvlMBg47Ny5135iOwjuD0ArFCxfDGTkwOwxv8CqC0PjM0XUlz0PHMpAMFlfPylnYFG2GGYuzHvOHana6FeYyGP4wxigLGSE0wQzY2mbavsiiBE+/PqPscthWQ/SjB4bELU8YypRbiTo+XUO7S1Vd85XdqlnSDBDg3MMx1rsZGXpmHXJrboHUuempbfLG9cFfEiRVPpIo1qR1MQtRuMTJz8vjx9+wZ03voF5BddP+R1MnFUJujwSkqRU4MnVGYabPe7kRbd90maD5PH477CPmsOWf7ysRdMFGQ7QqXVTGeMdqywQ15BbqMwIz7l6B9ONa8IblvGfr3AosHdTdJY5hOqDa+O+dYgFd0+fiGki9OFFQXUpuG0xHPalXd36o7pihGjx2iIzn5NaxFCbWfx4PJ3VIsqkVY/lX3ynQWCkvEJ00Xsx1e83NIPxBNtHBz5/PO7gP3sPrKs/mfzpzaEw2WACthyXpEIebFjbZaeNWKihQmWNSjuarP8pw4YTXVl8WGo1zAKgnv8LrejZJXBufnDg7pQ50FfjbBpSXbpDqGmtvTnJcgdnHCJqut7rTIBfgPFA1R/YbiFAY8x21TGKiGT4UMxfm82ha0uxMyPDKdYdLdEyR0AEoDRKDiCM63Dx34cvvclaQIrlsOCkTSMwyMh2KvfAhk65VOSi 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)(136003)(346002)(396003)(376002)(366004)(39860400002)(451199018)(36756003)(16799955002)(6666004)(186003)(6506007)(6486002)(966005)(6512007)(2616005)(26005)(316002)(4326008)(41300700001)(44832011)(2906002)(66476007)(8676002)(66556008)(8936002)(478600001)(5660300002)(38100700002)(53546011)(31696002)(86362001)(66946007)(83380400001)(31686004)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SEtmdFNtaVUrTEhPOWg4Nm1rTkduc210TEVCNUdSUUFpNWlaenZub2t4QkMx?= =?utf-8?B?L1puREZ2bmNSV3k2OG9ZUmwwS1IycWczTlBZWTQzZ2NqNi9FL2Y2OElKOW1w?= =?utf-8?B?ZElBQm4zYTBNMW9IL3VhTDJQdHVvMTlHYnUvZDZXYWNwRXgrVkxKbnJYZG9C?= =?utf-8?B?VUxSNitZTmlVRnVZKzg3Qk4zQU1DdVlQYWhVQnhDbFo2NjU3b2pWWE9OKytj?= =?utf-8?B?NUxpeWFoMEw2eHNyWkpNb0hKUWtiKytGeEdtcmhHZEdMK01nTHpJaEtvZ29z?= =?utf-8?B?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SUF0S21xdzIvbUVBNWxrOEc4VUxJ?= =?utf-8?Q?ilNaHB5fpofz7XnXu5S4fkMAw?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4f689345-e1d0-4e01-097d-08db1b2fbedf X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2023 15:06:48.4945 (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: K5entwsj+3o+akcY6DiRiRFukuMKGNr5BNRlaMCLkYz+/cBHBXXzBiKlms6qyjIY X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8415 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 3/2/2023 9:20 PM, Mingxia Liu wrote: > The patchset introduced the cpfl (Control Plane Function Library) PMD > for Intel® IPU E2100’s Configure Physical Function (Device ID: 0x1453) > > The cpfl PMD inherits all the features from idpf PMD which will follow > an ongoing standard data plan function spec > https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=idpf > Besides, it will also support more device specific hardware offloading > features from DPDK’s control path (e.g.: hairpin, rte_flow …). which is > different from idpf PMD, and that's why we need a new cpfl PMD. > > This patchset mainly focuses on idpf PMD’s equivalent features. > To avoid duplicated code, the patchset depends on below patchsets which > move the common part from net/idpf into common/idpf as a shared library. > > v2 changes: > - rebase to the new baseline. > - Fix rss lut config issue. > v3 changes: > - rebase to the new baseline. > v4 changes: > - Resend v3. No code changed. > v5 changes: > - rebase to the new baseline. > - optimize some code > - give "not supported" tips when user want to config rss hash type > - if stats reset fails at initialization time, don't rollback, just > print ERROR info > v6 changes: > - for small fixed size structure, change rte_memcpy to memcpy() > - fix compilation for AVX512DQ > - update cpfl maintainers > v7 changes: > - add dependency in cover-letter > v8 changes: > - improve documentation and commit msg > - optimize function cpfl_dev_link_update() > - refine devargs check > v9 changes: > - refine cpfl_pci_probe(), remove redundant code. > > This patchset is based on the idpf PMD code for refining Rx/Tx queue > model info: > http://patches.dpdk.org/project/dpdk/patch/20230302195111.1104185-1-mingxia.liu@intel.com/ > > Mingxia Liu (21): > net/cpfl: support device initialization > net/cpfl: add Tx queue setup > net/cpfl: add Rx queue setup > net/cpfl: support device start and stop > net/cpfl: support queue start > net/cpfl: support queue stop > net/cpfl: support queue release > net/cpfl: support MTU configuration > net/cpfl: support basic Rx data path > net/cpfl: support basic Tx data path > net/cpfl: support write back based on ITR expire > net/cpfl: support RSS > net/cpfl: support Rx offloading > net/cpfl: support Tx offloading > net/cpfl: add AVX512 data path for single queue model > net/cpfl: support timestamp offload > net/cpfl: add AVX512 data path for split queue model > net/cpfl: add HW statistics > net/cpfl: add RSS set/get ops > net/cpfl: support scalar scatter Rx datapath for single queue model > net/cpfl: add xstats ops Series applied to dpdk-next-net/main, thanks. Thanks.