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 3052A42503; Tue, 5 Sep 2023 17:35:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2199240E72; Tue, 5 Sep 2023 17:35:38 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2049.outbound.protection.outlook.com [40.107.243.49]) by mails.dpdk.org (Postfix) with ESMTP id 7E6C540A67 for ; Tue, 5 Sep 2023 17:35:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SJx35JkhKapiGGXEsdCQVPlbXSSKPlxqh03+eto/6RdaOi7b3QLq9jbCTXxTcUcA8zHWpsjk+lBtkg4gJDy5uivTNwNkKnpNSGYmA665bOepc9hyI8MZ/1acfqKhdxGxysm+KHdz1tZRA3CDwDcWYNNDfUHsKzP/eLWz2n86NZMVA2MqjVF+eIVQbcU7KIpZ6frTt6nJZD1guzJgu1YNspjc6AAGlK3h8ly0dGoFhl9r+QNr3nBS9FZoCXtPd91wJIpTXRQssMyZ3bF9kx8bLXd7dQdIiSi3Iz0jIfhg+Sbg93r2srjdCCX7ukZiTJrFYIDpEpjntVav5IfajySV/Q== 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=JqMsyFtlbg94D7COerm9TUUm+TTIu1LVXAMpdwGOIBQ=; b=f0F/0hUHVJZX+6CE/8DLofYhTaRBLYJaQZ6lFBl63z+d636FJusZwmDzqfPXO4Z2wdMYzJX3/AZq0ajz2SeWFSFzroOTAL4BMtYG+8l0nJ/YdrkseeHOh7zbyE3oG3e/2tiFvNnrz1iMT9dbN+eyPWEf6Tg4slQHeVKA9TJn89jL3nFWtgqsEBXJPQAG2enu2XUg35h0qBnp28uF5w8ZEwIRnzkl4eiV5leqR7bSLxr8LgObaYN8VYUCyVWqDWF8xfQC0J7KQLYLsHqjoXF06R2PYZkIXFFuCjrC3HiMlR5TWRhvfUCNGwnP2mjSVk/KhNnh3wlKJrf44lEe76gMuw== 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=JqMsyFtlbg94D7COerm9TUUm+TTIu1LVXAMpdwGOIBQ=; b=N0CCL358lvy9aRz/SgP7xRk9FVJwlnmy7+0H8Zom7TIqwO9B71ETrBALHWI7zfOO4rQeGMlEozD1ljuLkQAUpdUlqr3cqMpSsaV6rZuONlywBJVEXbUNg6mbeYKa3w81yxedthmXM56jAG33vpW/7QyFMjMY/xk2KH7tqJWHrE8= 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 CH2PR12MB4953.namprd12.prod.outlook.com (2603:10b6:610:36::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.33; Tue, 5 Sep 2023 15:35:34 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::49e9:2bf6:7f06:bbbd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::49e9:2bf6:7f06:bbbd%3]) with mapi id 15.20.6745.030; Tue, 5 Sep 2023 15:35:34 +0000 Message-ID: <4241386a-37f9-925b-7e91-dd61e58731ca@amd.com> Date: Tue, 5 Sep 2023 16:35:29 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 To: Wenbo Cao , Thomas Monjalon Cc: dev@dpdk.org, andrew.rybchenko@oktetlabs.ru, yaojun@mucse.com References: <20230901023050.40893-1-caowenbo@mucse.com> <20230901023050.40893-2-caowenbo@mucse.com> Content-Language: en-US From: Ferruh Yigit Subject: Re: [PATCH v6 1/8] net/rnp: add skeleton In-Reply-To: <20230901023050.40893-2-caowenbo@mucse.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO3P265CA0006.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:bb::11) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CH2PR12MB4953:EE_ X-MS-Office365-Filtering-Correlation-Id: 7e9ada2b-9a3c-4904-4a26-08dbae25bf0f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 64AsFHMKj0GT7DK+WDzncLzeLtIKFolpVcQztOj6nPCU8RW/KerwdSU9cpFpRR9zTHxHoYReyo1Fap28Jf0St64dB2Rq/bxUOsAdEFy5BVrPUOf6KUpoTt2aaz1n5lGqPRXcb3PVOI/cyoezOhNeE4ggwcZTgsnQV7iUe6vnbd4Ciag/QSXFPX8eZw8NOiPHLXKmX5KFpN7p2iZABz7MyyYuxI4Ms/JAN1S3ZyZ7DtPc/Pt1koRvvuzZYHTDERR6gYAzurwL8HBEPqf8mAUquMA8lW0J78XgClbMRiJZam8TJZ9U/qfZNFdP2QhR/f4glrE5a4hsEFY5YhClCOG0lvgUhrVv0pFS9ggCg9OHOM5yniNbyqZI3K44cJBWseZ2nugQKoXUD4GzEcgwV2sLod+sCTt8XqTijSx/z2E8K2aVzyTyIhbxTnDkCQE9abVEzcNeppQGTzrv7baED6cc6iv26M/YgqcCc9BlUDWeyxxO3X9Hy0I87gm5sGTc/Oz7dk1sd64Y5d//mITr8obTZSGVVKw1mW0w1FRPqIsvZE8JVQ7P/Lfgkgqzpi3YXNYRm4CV56IFD8JcbLczlmIGFbsvgJLIdXmMAw8+nQQAQUrA7KVRx2EFIXLXaaRKnZYw 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:(13230031)(376002)(39860400002)(396003)(346002)(136003)(366004)(186009)(451199024)(1800799009)(6666004)(110136005)(53546011)(66556008)(66946007)(66476007)(44832011)(6486002)(6506007)(316002)(41300700001)(6512007)(478600001)(31686004)(4326008)(8676002)(2616005)(26005)(5660300002)(36756003)(38100700002)(2906002)(8936002)(86362001)(83380400001)(31696002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?cUFDN2ZWZ1JjYVJhWE1hcC9RbG5iMEo0eTVYRGR5WVB0VFNsN3plejFqUjFr?= =?utf-8?B?aFh0eFo3eWo0bEczK3ZMM2RFU1h4T1ZUVGVobU4wM2lEcUh1d3pSZSsrQWN4?= =?utf-8?B?NTJkQ2E2RTZFNDkxc0liVGl6bkxIUjU0VG9GLzN5UjQ2NVNJU0MvRVQ2NXJD?= =?utf-8?B?NUJ1UGxPZnR3ZkQxUk1ZUitVa0JKeVdENkZ3R1l4MUZLU1dPclQ1WDdPc3pl?= =?utf-8?B?cXYwamkvQXBFU0l1ZDZOWDl1SFNRbnYrVG5PWWtQcWI4WmFsOHZxQ1lEMnhH?= =?utf-8?B?bnFmbEI2dGo2UkxaWlVQOEVRa2o2MndvNEIwVHk3RXQydmpZTndpQ001L1VU?= =?utf-8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ange-CrossTenant-Network-Message-Id: 7e9ada2b-9a3c-4904-4a26-08dbae25bf0f X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Sep 2023 15:35:34.6827 (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: wgYnKVe5Y9Bn6ke46EXrhbZ4EnrHVRCBPYnaDA/zIVt583hPuvgY/djLCQb4UWFe X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4953 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 9/1/2023 3:30 AM, Wenbo Cao wrote: > Add Basic PMD library and doc build infrastructure > Update maintainers file to claim responsibility. > > Signed-off-by: Wenbo Cao <...> > diff --git a/doc/guides/nics/rnp.rst b/doc/guides/nics/rnp.rst > new file mode 100644 > index 0000000000..0eb8f2d415 > --- /dev/null > +++ b/doc/guides/nics/rnp.rst > @@ -0,0 +1,38 @@ > +.. SPADIX-License-Identifier: BSD-3-Clause s/SPADIX/SPDX/ > + Copyright(c) 2023 Mucse IC Design Ltd. > + > +RNP Poll Mode driver > +==================== > + > +The RNP ETHDEV PMD (**librte_net_rnp**) provides poll mode ethdev > +driver support for the inbuilt network device found in the **Mucse RNP** > + > +Prerequisites > +------------- > +More information can be found at `Mucse, Official Website > +`_. > + > +Supported Chipsets and NICs > +--------------------------- > + > +- MUCSE Ethernet Controller N10 Series for 10GbE or 40GbE (Dual-port) > + Can you provide a link for the product, and if there is an English version it can reach to more people? > +Limitations or Known issues > +--------------------------- > + > +Build with ICC is not supported yet. > I know this is documented in other PMDs too, but at this stage ICC is supported with best effort, and I am not sure if anybody testing with it, so I think it is OK to drop this as limitation. > +BSD are not supported yet. > FreeBSD is not supported. Also Windows seems not supported, you may document that too. > + > +CRC stripping > +~~~~~~~~~~~~~ > + > +The RNP Soc family Nic strip the CRC for every packets coming into the s/Soc/SoC/ s/Nic/NIC/ > +host interface irrespective of the offload configuration. > +When you want to disable CRC_OFFLOAD the operate will influence the rxCksum offload. > I didn't understand the second sentences, from first one I understand 'RTE_ETH_RX_OFFLOAD_KEEP_CRC' is not supported by the PMD, but can you please clarify more? > + > +VLAN Strip/Filter > +~~~~~~~~~~~~~~~~~ > + > +For VLAN strip/filter, RNP just support vlan is CVLAN(0x8100).If the outvlan type is SVLAN(0X88a8) s/vlan/VLAN/ Please put space, " ", after '.' in documentation. Same comment for all document. > +VLAN filter or strip will not effort for this packet.It will bypass filter to the host default queue, > +whatever the other filter rule is. > VLAN strip/filter doesn't work for double-tag (QinQ), it only works for single VLAN tag, is this correct? If so can you please update above sentences to clarify this?