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 E9CFC42476; Tue, 24 Jan 2023 10:13:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9181140150; Tue, 24 Jan 2023 10:13:30 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2051.outbound.protection.outlook.com [40.107.237.51]) by mails.dpdk.org (Postfix) with ESMTP id 1A551400EF for ; Tue, 24 Jan 2023 10:13:29 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O1nzI7jth+ddWUfHB5sSqopjq2wKqtmDjudPMmpNl8C4Za9Hr/9qOZeSwcAqreDxvPvLgFpNEY/jHZDdbb31naPWGtEmxfvM1d3tEIz+xOYd2zo/NWSdzUtrrx7aJJB2Zfhk9Fy69041Vdacci5O15EmJXTWodtD502ssXK9zOTYyIOSh/lOr6EZzWTaVR2oRGOet7XQeh/MCrIyCBfYUIdnwC8bl3LNmkQWMsDZfILH2wTd2onB3Uq8SPDiiGSJvq/wrFp/U6p6DQE/Fl8qte+6JZLv+a4+GyNvcIos108H9n/8kdP2ocCIHISUTZrLH2vweWVf/XXHwxgAwW5DQw== 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=TJsBHWnxsSfyuPMuC08TNiWOUOvU9htt0EeUoqd81zY=; b=WnQ0GZ5fzsb7B5jrk2SQJYapct+JyJWiQtaXmtNPudQwtmLI6s1XsXesSCyuSUJ1Cm8x7WngnCu6JBKQZnYGX/VirbejZDbauys3TeAb7lariemwBwX0n5QMqZ2ppF/XKbrT0H5PDwkRQE7GKfs6zArhobXALkNafDDK7/I98K3Ce4bKHPeFRRpNL6DvJO/aG9/YWl5tQfhatfbUGMwRaT5PkSuQjsYqV/C4PS4wheGWBOkZ82TnY6WEqksy8K04TT15Xtj7CtwfZUeMDy9bz4Uhkrr53gKYOv2OIr8XNnkbatLEqS0m+D2BBWUAhEvLmh0wlwsdCrVAg/4dmrdH2g== 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=TJsBHWnxsSfyuPMuC08TNiWOUOvU9htt0EeUoqd81zY=; b=jzAW0Orld51rH0egp0UUs6zGjukZYPwzC2tR9QDMKsyXcqE6dyfRFvZ5UcOUF7Qkar2t8jRRqcw8xJYPJSayIpAAfKtnxaYacGQbB28Q6H93fTEcfBg7XfKtEFn9SeGtvywxwUfkMG0D0zsYv4uFeYMUYk4s40S3IpcooZPpqbg= 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 IA1PR12MB8360.namprd12.prod.outlook.com (2603:10b6:208:3d8::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.33; Tue, 24 Jan 2023 09:13:27 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a%7]) with mapi id 15.20.6002.033; Tue, 24 Jan 2023 09:13:27 +0000 Message-ID: <3d0f8f39-6200-837c-95b3-53344779dd69@amd.com> Date: Tue, 24 Jan 2023 09:13:20 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH] doc: add supported APIs section to nfp guide Content-Language: en-US To: Chaoyong He , "dev@dpdk.org" , Ajit Khaparde Cc: oss-drivers , Niklas Soderlund , Thomas Monjalon , Andrew Rybchenko References: <20221201013848.19843-1-chaoyong.he@corigine.com> From: Ferruh Yigit In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0466.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a2::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_|IA1PR12MB8360:EE_ X-MS-Office365-Filtering-Correlation-Id: b1db11d9-7407-4530-96b4-08dafdeb4089 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7FYUnLOUrqpiXbhadsmJZr5mhuolVubkqKA34KD/na+SEfy1ApcJ9P4gfVXXiMhOfQWui+xx9ukzIp74paosYr7rJyiQZNCokYr6G1JY1XpP+CfCyjajhY3G9WgsQZhwOm7vKvbazbGuN2YLrHlyceZImhzUVCfgwvSoBPosphx/8HsF/aoVVaxK+5UXJ+ztaAyOWlFnADgCDy5Y3pmKVXk/JAfg9xHGX39Mq8uTiuOxszWSSZ7UFDE6S8yjPs3umjEEBLBKmGaotCKR1dFNTxldZ1wlxE7o4kJY7iR2zZqG7KYDeHWZMyzAsvxWlL4VvdcAddqyhzeX1ovRx+9x6tPW0uk01pENRBrAk7y0lHtAjlC05llTE6ocmYdJ76MJKUuzuEpdd3GA9Fx3mIX7vKlLYOrC7DIZdSclg87xOU3YYP4yZsuAozvAM44qnGjDnfwkqctP7eJuGbXLvMTKmL+17y2ZJrUSW6ArzCiJpRNnUGN2pnWNuxx7NWq05KzrVc34DHmXuFPqmeiRX3FL6kRgi8qto3xQOvZq8To4C6WlJaA7LKIoo0kX6L0aDw3alxvN9gACMFOXkagaKGhXRLpwSET+ouJLmG1B5vq8OoJ/aDYdKPsc3NX5pcQCrVXGyEpY15iF3Qk0VrADVQrE6a0v9/W3RJoaE9fjzsF8UgP7Ubk9zc8lT/gGHuIJvwT0Ljy+R683sCgu9azzTmaaJ5eyuGzbA2hnQIFXJAzVx8CYpDvyxp9Sb40bkLPOHgcPvymoHtFl5UpsUBy5bXS9cA== 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:(13230022)(4636009)(366004)(346002)(396003)(376002)(39860400002)(136003)(451199015)(31686004)(2616005)(2906002)(41300700001)(31696002)(38100700002)(5660300002)(44832011)(66574015)(8936002)(66556008)(66476007)(8676002)(86362001)(66946007)(4326008)(6512007)(186003)(26005)(54906003)(110136005)(316002)(36756003)(478600001)(6486002)(83380400001)(6506007)(6666004)(53546011)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TkozNlVycVdaY21VOUNaRXZTc0pTamRzRXpjVE9pV1ZlMXk4UHZaaHZDWldZ?= =?utf-8?B?WldEeEp6Y1lvZ05maEZYejFwRXdGdE05dlNsa0UrZmsxT25CaEx5UnlHdjh2?= =?utf-8?B?dktoaytLdThVODh6aCtFZmU2MXdEdWdmOTVYNGN4NWRnQTRaYy92MC9tNUlw?= =?utf-8?B?NWF5RVJ1WmdYdXVjRzM1bGxvSzY2MEljNEIvYnpzNi85dldRK1IwQVFmclZt?= =?utf-8?B?RnVpNW02QWFjMUVyS3lDMFJtQ0l2VDQvV2NTL05oL2tEbWVyN0pyc25sWmhX?= =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XQjV5QWZxQitPM3duN2hVT0tXWCtORWVyZnlwMDFmckZ6?= =?utf-8?Q?MtNGLUIJc6hYbvhk4ROq645G8?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: b1db11d9-7407-4530-96b4-08dafdeb4089 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2023 09:13:27.0654 (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: hep+hkz5ARFugautTpuvM1GFyG7EID6pWnhkO6kfzCxUPg+WzWtMHo2oIQGAsyr4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8360 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 1/24/2023 2:44 AM, Chaoyong He wrote: >> On 12/1/2022 1:38 AM, Chaoyong He wrote: >>> Add a new section 'Supported APIs', inculding the supported >>> APIs/items/actions of rte_flow. >>> >> >> Isn't this information already exists in 'doc/guides/nics/features/nfp.ini'? Why to >> duplicate here? >> > > Oh, one customer say they wants this section like the `bnxt.rst`, so we added this. > You are right, and I think that is a duplication for bnxt too, cc'ed Ajit for comment. >>> Signed-off-by: Chaoyong He >>> Reviewed-by: Niklas Söderlund >>> --- >>> doc/guides/nics/nfp.rst | 71 >>> +++++++++++++++++++++++++++++++++++++++++ >>> 1 file changed, 71 insertions(+) >>> >>> diff --git a/doc/guides/nics/nfp.rst b/doc/guides/nics/nfp.rst index >>> b74067c875..615f7dab9f 100644 >>> --- a/doc/guides/nics/nfp.rst >>> +++ b/doc/guides/nics/nfp.rst >>> @@ -213,3 +213,74 @@ PF vNIC. >>> The ctrl vNIC service handling various control message, like the >>> creation and configuration of representor port, the pattern and >>> action of flow rules, the statistics of flow rules, and so on. >>> + >>> +Supported APIs >>> +-------------- >>> + >>> +rte_flow APIs >>> +~~~~~~~~~~~~~ >>> + >>> +Listed below are the rte_flow functions supported: >>> +* ``rte_flow_ops_get`` >>> +* ``rte_flow_validate`` >>> +* ``rte_flow_create`` >>> +* ``rte_flow_destroy`` >>> +* ``rte_flow_flush`` >>> +* ``nfp_flow_query`` >>> +* ``rte_flow_tunnel_action_decap_release`` >>> +* ``rte_flow_tunnel_decap_set`` >>> +* ``rte_flow_tunnel_item_release`` >>> +* ``rte_flow_tunnel_match`` >>> + >>> +rte_flow Items >>> +~~~~~~~~~~~~~~ >>> + >>> +Refer to "Table 1.2 rte_flow items availability in networking >>> +drivers" in `Overview of Networking Drivers >> `. >>> + >>> +Listed below are the rte_flow items supported: >>> + >>> +* ``eth`` >>> +* ``geneve`` >>> +* ``gre`` >>> +* ``gre_key`` >>> +* ``ipv4`` >>> +* ``ipv6`` >>> +* ``port_id`` >>> +* ``sctp`` >>> +* ``tcp`` >>> +* ``udp`` >>> +* ``vlan`` >>> +* ``vxlan`` >>> + >>> +rte_flow Actions >>> +~~~~~~~~~~~~~~~~ >>> + >>> +Refer to "Table 1.3 rte_flow actions availability in networking >>> +drivers" in `Overview of Networking Drivers >> `. >>> + >>> +Listed below are the rte_flow actions supported: >>> + >>> +* ``count`` >>> +* ``drop`` >>> +* ``jump`` >>> +* ``of_pop_vlan`` >>> +* ``of_push_vlan`` >>> +* ``of_set_vlan_pcp`` >>> +* ``of_set_vlan_vid`` >>> +* ``raw_decap`` >>> +* ``raw_encap`` >>> +* ``port_id`` >>> +* ``set_ipv4_dscp`` >>> +* ``set_ipv4_dst`` >>> +* ``set_ipv4_src`` >>> +* ``set_ipv6_dscp`` >>> +* ``set_ipv6_dst`` >>> +* ``set_ipv6_src`` >>> +* ``set_mac_dst`` >>> +* ``set_mac_src`` >>> +* ``set_tp_dst`` >>> +* ``set_tp_src`` >>> +* ``set_ttl`` >>> +* ``vxlan_decap`` >>> +* ``vxlan_encap`` >