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 2BD1342415; Thu, 19 Jan 2023 10:18:55 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CCED1410DD; Thu, 19 Jan 2023 10:18:54 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2046.outbound.protection.outlook.com [40.107.237.46]) by mails.dpdk.org (Postfix) with ESMTP id EB0B74068E for ; Thu, 19 Jan 2023 10:18:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HN0HhwVhF9d38aNJHYbY4rGR/2V47Re6RmF6eRgDxT+IKpmR3kmTZUf6GQDj/fAIyVQEMYfFzDaMu5cOW86pavdSb2Td7dipsRtCWk10B5dC3f7txRPamNT0+iM5bFt8i9vKYiH+lRiKxecO9w83kmEV8PecU2ZeD/cnZ+K+e+kszPQztMMGNifui38up+7vXoEZ9PzOWSrlwo7sjs70i2WcO48JMRN+nlQDw3vk246W3FV989WamjNVJOk1Uu9zTIuv+lu/X4l5INtZuXXwAxznZ/H+D5jETsDFEAV6xZvfvgAR6KmAghGXsrZ6PIQmSZrwgD/5HNXT3AbTQQERHA== 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=fQJPvlfY1gb5xbQNO7PX9zMbbb28CyC7ZKQ5jx9f/1U=; b=WbcVq+kKLFEjQJSaaMwlEv7cqjxRs9SA7Wh9BiIf3kk4IC5VoWyqaPoKkNesPROE/CniFdatrhQHKSFFBXf5UK+XB6pNUGEpBRzP8bnrB37ikdmJrTCUbIfEuvZroh/3oe7chAInShtCShZz4wUbSjoglC2xhpo6MmGH75gZHufweGPw5FBm5wj91etLwUBdKTRdPpSQUr4g+B1fVmbz135EURiC6ObfgwNwYpnUH46nBiIpcBQJDxA6ys+C3QJ+SfFIIeY/fs6+B4+TZD3myiXqd2NJ+gMqSAWPGZDvbmPzXl4iVuoQT6uA6JPdhwq0UktixgEsjY9K83Eh6eGa3g== 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=fQJPvlfY1gb5xbQNO7PX9zMbbb28CyC7ZKQ5jx9f/1U=; b=U3/lHozyW1VxQ2UnnYxrMFkSmNV16u/C96q7j/z8/nJvFgpxKcaHfcCl6k0gaQyTBrRr1S7K94u/anGXLyiKX2yoVPIQLMaPWM2QPliZeJpf2s17/8KmVK2ApRPguQlo7s2x84bhJy3emG4npnARiZF8WvvasfUZCmaydzV7OaQ= 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 SA1PR12MB8094.namprd12.prod.outlook.com (2603:10b6:806:336::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.24; Thu, 19 Jan 2023 09:18:50 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::4807:1f44:5e04:e05a%8]) with mapi id 15.20.6002.024; Thu, 19 Jan 2023 09:18:50 +0000 Message-ID: Date: Thu, 19 Jan 2023 09:18:44 +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 Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com References: <20221201013848.19843-1-chaoyong.he@corigine.com> From: Ferruh Yigit In-Reply-To: <20221201013848.19843-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0261.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::33) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SA1PR12MB8094:EE_ X-MS-Office365-Filtering-Correlation-Id: fea77d94-dadc-47b1-d7a4-08daf9fe2cf3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iWuWZumYgiPfzW8PRp2diULWTnCAlYHghUKBfgQdHVZMNsOv6fd4rqxOiFfNjrFsqxIE/bQpsd8ujQdSaQJzjc+vc7nLiX/yNunFSsh/2jJH1m6VDFg3sCG1U1KF4d+zCUgmG46GDLtlaogKssPDicgBCWFCtda9/cZ5BHIaNTlLhie/rQexE2FX6qfTmA1NFpyuFMQBgBbhglNmKqhMv0lMXhuEigqSilsLH/a24fLPoMrx5l6jZhKfKAlcnZUPqwR7vZy9yjISQ7Wyi5hke3SlXA0hnR7ijv1p6h4LOKaUv8TBZzFaJ0Zm+nivv5BexgnohS7A31BerEmfu/QQpK3/ALkKSmoJFn9fui1XeHjxBVAhIsOu6FZsLZ8xMzCXk1hW6dKubqMkcMQUP+FK18+EN001W3H0pCDMoF8502yAf998fUTS4zAFu+ZYZCmVRZKcAXDZ1roc+Nd5FGQhErwB/M6Z3iFDx5zGiZJ0cjWAvMNsUVI+eBs5HJYPsHhQ5eF9bLoYoaE/ZgXQPFIB/8FpJPuWPZGkKMtFMkxzwuJ80wgILfokMOlXQ/Zu8qHcmEmGhArn9XB4OHb+U7RKhkEK5EIj/ZbKwtR7HZk4TmeL6NJlc2BBy7xxzzG+M5zBCeHVZXSlQi20SPXIMPJ46A8W8k/FpIcWAJ0LBpGWU5m4DbXGxqWe7NgSB4zZKkVMxa0wcYYH8U+DidMihqEpO0Hx23jP/CK3B/O45z9y9shprxO0T3yt7viIascYKK+MHJw4kT4kLKlBM3PMBDQVcQ== 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)(39860400002)(346002)(136003)(366004)(376002)(396003)(451199015)(186003)(6486002)(31686004)(53546011)(6506007)(26005)(6512007)(83380400001)(2616005)(478600001)(38100700002)(6666004)(66574015)(316002)(8676002)(4326008)(66556008)(66946007)(66476007)(8936002)(41300700001)(86362001)(31696002)(44832011)(5660300002)(36756003)(2906002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?M1VSNXFENWpKT3p6R201QkZQb1duWk5Db0NyaDk0aWdXUFBvdVZZNTVuVWpW?= =?utf-8?B?aG9yZTRPbmxicitTTmh6b3pmY0xvTWRrN3hNcW5lVVdQV3ViZlI2bFdKNDVG?= =?utf-8?B?SnBDN2t1WUFEeFNLZ1V6UDVFd00vTFZwRWIyRTkrWFdQdVI3bVROVmpicm1J?= =?utf-8?B?bmRVbnBoVjg4NmxHT0NmU2h0eW9HMDhmdkh2dmZpZEZYVFVhOGgyWjhRV3pk?= =?utf-8?B?ZXg3YjZvZERXSFdMb1YvbXVHQkpJanJNcGJoWHY2UVk4N2JhTVRONS9Kdmcy?= =?utf-8?B?bTBkMXpXeVMxNXdi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N0FjQ1BrTmpxRlpB?= =?utf-8?Q?dxkSdXnt/bBGqH9Dp3goY4jYn?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fea77d94-dadc-47b1-d7a4-08daf9fe2cf3 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2023 09:18:50.0033 (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: tp55hURQVjCq7YkHjocvTYZ+7AMO/z+iWpiKYXWK7RUaRalz8NBS9Cqmd5KILYlz X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB8094 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 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? > 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``