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 D2DED41CA6; Wed, 15 Feb 2023 15:04:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B62C540A7D; Wed, 15 Feb 2023 15:04:54 +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 B3CA24067E for ; Wed, 15 Feb 2023 15:04:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AJ80/RCo2PMlF8ecQmB4utlusfPFyZPfoyVFrB2v2+JULU921LFL61XBIqcAG7p8BU+zcBJnljjJ8IH6F6TQUsT/RdOzhLgh1q0grev0YYKi3imb+KFQDp7QvydwqvlnWYWSCMY31nnJe50TUElmcn4Q208hmC0Jh0CQgmLrFVdIfj0XmjClWZWy3DsQnj/P+XV66JgHW9N7NczS4rCB4fn2rxWKlgR//Ef0PDP643/IHSd3Ql0BZgupbU7zT9XXNw5pv1BsQcbBYCcxG+QELkBSWqxPQCRxsw64WvGwclySiJnYACu+Pw3usVgqFMKjJadWmANvYTaqmh6IRo4yeg== 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=/If2BRwUhYnlswtz7K8ut+MFFdbKm9alQWVEHBUYXaI=; b=UM5JQoieEWCVKcGrGdYsuGhoLPr647FFxUWTfajaGqkVdpwxpsJuYNCduLOFa6Dv0XomtYyCQY6JLzKEUErryDPIQInF3X2MvTKQQpa5k44m7Of3YO/XMJQWmt96o5OFvXOsEbJ9/u1qzr0VXjorWcEUd4gjq7dZgph0nH2YYtmogDriRSxKX/mChZk035VoYHFe6Qop5dyuQbyD0IhoAziO9FyA8faKj5JkbJtWjKc418CDp0JVNmbZf1iYUulXCQqFiR30PQc5xsgHK9RN6amBwchDDFTt9FFP3cHeRVRkVwIgjYYsC6FGf1U5QoCezCJI+hblEB+GOw3r0DUkdw== 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=/If2BRwUhYnlswtz7K8ut+MFFdbKm9alQWVEHBUYXaI=; b=kjQQGDTIhdnqo8syhOyPjWAJg1dOrDraj3M4oE/elaZoJBX05yJtcRCAOehyic4nafkuEIKItfog4tKonGOMrMAH6GVEPH1LmDtXpwFT/Pu+DwNOwryeVFR7SwgHKMRQP561iX6gWRztrxh7OMrbF0hAr3+tWZK9nebAC/aEX6Q= 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 BY5PR12MB4163.namprd12.prod.outlook.com (2603:10b6:a03:202::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6086.26; Wed, 15 Feb 2023 14:04:50 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3614:22ed:ed5:5b48%8]) with mapi id 15.20.6086.026; Wed, 15 Feb 2023 14:04:50 +0000 Message-ID: <23361f80-0be4-abb5-9d10-95e5b5465aec@amd.com> Date: Wed, 15 Feb 2023 14:04:45 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.7.2 Subject: Re: [PATCH v6 00/21] add support for cpfl PMD in DPDK Content-Language: en-US To: Mingxia Liu , dev@dpdk.org, beilei.xing@intel.com, yuying.zhang@intel.com References: <20230209084541.2712723-1-mingxia.liu@intel.com> <20230213021956.2953088-1-mingxia.liu@intel.com> From: Ferruh Yigit In-Reply-To: <20230213021956.2953088-1-mingxia.liu@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0088.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::28) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|BY5PR12MB4163:EE_ X-MS-Office365-Filtering-Correlation-Id: 06431f9b-5d44-4844-9caa-08db0f5d9a9a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pjyJzBmOFKSjCXIruHuomsF/JbnxxARTXC03qldloanzPhf7H/6gq8+qDFi8IsC7P/0tJUWPJylQkwvjbb4jozU13Q2yOAwaXcT/mjJlhFdI4uodl6ypIcrzlGiGd33Rn+9ZjnRJ42fHiX/G2yI1n2G4kinZfGXP2dcm2e8Eot1MY42L+k5h2V0J39hve/bWDcKw8gZIa5qjDRZyPHgKBe3zxaH9B9HCKMvqbNIqJ1tHAQrX3fqO6/TIOpGr1PU2mA9l+TNBTzZgnpoVI/wk22NupXMNvIlfVh+SYkbD/7BoNjSAe06kInltwdXHdznqrk/8TTVctEuMZzrbqRP5Yke/mTQlr6y9zacuRhYVtwe39YV/BT66wlWBxRku9plhKGmkIRF1VeYet0CerQO+8Q0xEy56tTlfnQ7sLE8E4X+E4BIWOAdt2vRFNcBGNXFxqocEMi9zMmR9whGhub4NUfo1DOADksN55cHpCHxkXeUW5m1JlN+iILCNGklN/rT0rLLycs2f2p2wLKW4dZpip8PH+SY63sji0Fki5W4iues2fnqLq2E59Ug+eINbHAoCmz+x5z7RqXeqPFvuZZi3s6bdQjY+5zxcVjjUeSfoh7xY/lmIsw5JU77ZdAzEGHaHoyFcYmgNJQ/5HUibAVGwhWHs6VnXAK7/wIS4lF7YwbB9aZehfPIEkRClO3kkqawL+mOvUjkvgh85efiNaVreHIhg8HdtIAUuvbXr5Wo45cU= 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)(396003)(136003)(39860400002)(376002)(346002)(366004)(451199018)(83380400001)(86362001)(31696002)(38100700002)(6486002)(478600001)(186003)(966005)(6666004)(6512007)(2616005)(26005)(36756003)(6506007)(53546011)(16799955002)(41300700001)(2906002)(8676002)(66556008)(66476007)(66946007)(5660300002)(8936002)(31686004)(44832011)(316002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VVo4c3hkRjdVZStZcnc3UFprWUVmUVhjOVVwSml3eEdQTVJFZEptZkVyREt0?= =?utf-8?B?MW1lSXFHSG9QOThralFCRFdMMzNoV0hDWjUra3JNS2pnb0xQdWtHRVZVNmpy?= =?utf-8?B?OVZEM09iYldROE9JOE1iNENYVGRXNVRmZ0QvYmpjeUFlbmR2dkNTN3UzalZ2?= =?utf-8?B?VHZSUTdiUWNSS05WcmhqKzlwdWRYTjdWYTBkUS9YTnBCcXpMdG1RYkdpb2VQ?= =?utf-8?B?TXM3TUs0bnRaVTBCd2ZMeDNzQnRRZUNDWnVYb2MzMEZnNVAzRXFQT3p0bjlN?= =?utf-8?B?cVZhcnhONm1GYzZPaHFJS2VQajBoUW4rUGgwSnhTc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Oqurub29WCxcwZSqQsRL?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06431f9b-5d44-4844-9caa-08db0f5d9a9a X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2023 14:04:50.5755 (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: bys7X02Rwzq47nZTpypQYQlCvUUNAbprkrCvB9uhiBenku8AFP9We/Tc0R8rSOiP X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4163 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/13/2023 2:19 AM, 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 > > 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 Hi Mingxia, Beilei, Is there any missing dependency at this point?