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 3BEDB41C42; Wed, 8 Feb 2023 18:05:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 225594014F; Wed, 8 Feb 2023 18:05:29 +0100 (CET) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam04on2107.outbound.protection.outlook.com [40.107.100.107]) by mails.dpdk.org (Postfix) with ESMTP id 0DC2140141 for ; Wed, 8 Feb 2023 18:05:28 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OLpRGKR9FqRaTilHx/OT6F+iY13c2fnAO/24asrczLM6lQJ1Yv40DFq7PSYIcU8i06fg77d2f37b9fpRQql4QphaT69YBQWREL85gRgMlKLyo7erbzjJlZupG8aJpdCZgtDrazxXlX/gjvcIuYshuDKWo9lhlExgw6nM7+b7z//nRfpMj1dvHZRP4/pEVCm/AiGMc0/Gi1ww9zbIZUuNYqRLie2e4hamaxM8OWoH3+9D0xyVwWHK9vtAeTT1ppH0hEk1nKW5AbkiM7CMU8H7xxxFmEOYLcUu56p1qrg7bGbXsEQgPsjXSjy998AdkO5i/bAy0vtcfNpZutBOaZ7V+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=i8jmD3QX7ccxNxH5le24e5o83tRk6xtTUatV5t4LkLQ=; b=Mz5rNAQt2n1PlJkn67U3EYAbe59igkq5xoe7T1sffHrtWedHrbIuRhZk/Gqp/bzhYfv+JMOI2hJdKwOE5fQZIDgNmhVFhGseJQrQGo7YKnufoOxcrVbszMoinXFUMXLVv/y8j+q84880CcWVpDEJ+vHvMUT9ANj1kyATUGha0V1CIiOnONKCNyXm9KBkOfqx3sQKvo276LmrwmcYZ8E/l5OGcI7nXKI98kclgciHhbgxUEy/Dwe7pdwSTTkDr79+5c5whbeR0hsTgELjVk4eyjWUXRJycbttAwR3soLTekcJNr7NrdWRmqKeU2uPT4nleV4R8QYApPdaA3uG6FETDQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i8jmD3QX7ccxNxH5le24e5o83tRk6xtTUatV5t4LkLQ=; b=dKyOP8zRYxO5I0ETDcGrBGoHd7trLad/S+0vR6iMMiigOLHRy0cRKTJVxafwJJKD83Pq6ejUGvgTxTE86oVnSKSinlPl3p/CHar2mB6Z15ciKSuZOoNGGgfGQZLBLmUDvOXtwJmqRrdimrkDa8Qx61nOUGN2fDoA0Td87g5LG7U= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB6037.namprd13.prod.outlook.com (2603:10b6:a03:3e2::9) by CH2PR13MB3701.namprd13.prod.outlook.com (2603:10b6:610:99::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.32; Wed, 8 Feb 2023 17:05:25 +0000 Received: from SJ0PR13MB6037.namprd13.prod.outlook.com ([fe80::90b0:f667:bccd:64ba]) by SJ0PR13MB6037.namprd13.prod.outlook.com ([fe80::90b0:f667:bccd:64ba%9]) with mapi id 15.20.6086.017; Wed, 8 Feb 2023 17:05:25 +0000 Date: Wed, 8 Feb 2023 18:05:12 +0100 From: Niklas Soderlund To: Ajit Khaparde Cc: Ferruh Yigit , Chaoyong He , "dev@dpdk.org" , oss-drivers , Thomas Monjalon , Andrew Rybchenko Subject: Re: [PATCH] doc: add supported APIs section to nfp guide Message-ID: References: <20221201013848.19843-1-chaoyong.he@corigine.com> <3d0f8f39-6200-837c-95b3-53344779dd69@amd.com> Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3d0f8f39-6200-837c-95b3-53344779dd69@amd.com> X-ClientProxiedBy: GV3P280CA0083.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:a::11) To SJ0PR13MB6037.namprd13.prod.outlook.com (2603:10b6:a03:3e2::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB6037:EE_|CH2PR13MB3701:EE_ X-MS-Office365-Filtering-Correlation-Id: a4239c3a-60e0-4bea-52bc-08db09f6abac X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Pw3taJj4w3lcBSj5eETc0yIqHbOZIeFFBSQXCEhVEPfLgXxhfzzzbqT5oMvmoOrG4gE/RqhBqnkF9KgTg4JUPeqkKm153rpsCsVfxTkWEL+bNDJV1uK8QCLqHmHzKlPKKAbzhqXRbP4GuD7ez0t016WE3ql4+NluO6JnaORpci1I5cdFaJF8bYuMKF8CIot9VqpzZfjV07fVo1Izy/VV4ZchNdzYJ2/fIVK2JeBrbA1+wkGRxMwePnsMDsb5qy3lsv3sfSqC3zVUBFWP9HupI6YqOxaSorxJGmIrfkqVbDeIBuxtdWF5LC7N8qiuFjQHyB9VO7WCm1oaSCg/e5mZTUlB2neZrWqYPUzRfN0NTzwdQkfCn7Ka9mg5t0fjM6vhl1z2rMDI3AGd2AUUWvSOtOGfUE8o8i0/1UNodOpHFXx0ju8/KmNc6vwWom3RH410EiM+FAeH2S1eVXpwOm+LaEyy7dQWQWDr8TeF1LAO2tCT0YdSObiDoKKhCmiPwo4LN2OCVYSKZO1xzwUwhU/MZF+rCe69Y6NT90FjU++UNnp3SxDL/nCSyBJYQSmmSIY6yv1WThLA9fDF7ZEwI3VZnT0pjz2f+XIGVXr8oVSRGXE14vmk+e+wYD56FOIbWyOmglUvRz3cg3HGd8BXM0pZ7rCvl0odvxnbNHMTMshjlWY/jdYEAeA6G87E5UNPYUQ+D1qyrmjzCF67GFzdSSgoqvSGqzvOsV04Bq2GM/Q/mDlpUmNVvLgfHbmIPYAUhvJI X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB6037.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(366004)(136003)(396003)(39840400004)(346002)(451199018)(8936002)(2906002)(5660300002)(41300700001)(66946007)(66476007)(8676002)(66556008)(4326008)(44832011)(6916009)(316002)(54906003)(83380400001)(186003)(6512007)(53546011)(26005)(52116002)(6486002)(478600001)(6666004)(6506007)(9686003)(66574015)(38100700002)(86362001)(38350700002)(67856001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?iso-8859-1?Q?qbzzSDbKieCC7YbO99YPjsf1Cc8o7nPWSDxw5F94+S7Z+vrfmuDB3Wuu0X?= =?iso-8859-1?Q?4/e01738qwJ/onI1hRkZuKqfcTiqjGbvrGhk4jiXk9TvYNkzP6Fx54IzCq?= =?iso-8859-1?Q?PuKE9mN90ZtFSTbX3El+c5IE85CArjGK8zBxBL9oGcqYkSZhKcsRsJfV3S?= =?iso-8859-1?Q?fUGv5mgL4/SE01NNljGxxRtERQYdblsA7TgNxIE2KaZdt+fDUTSHV+jXtZ?= =?iso-8859-1?Q?eKRVnyrA13HwXZ51fXiodTFtFXOmyiN9Ji2LTnnkhkgVSDfz5/awzO+9qX?= =?iso-8859-1?Q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u3IQyOTJS+c1Xy2hMy7L?= =?iso-8859-1?Q?LGTMe8ck/4Mz7XBTP5HdQplPrOsgPM7aST1U+rNaZQ0k51DJpQZ7aqrTzw?= =?iso-8859-1?Q?cK7ch/0K7ZGNZt1ax/j0hJJ3gN8I/5kGDtK6Z84DjTd12xvUPmAkdcfjUe?= =?iso-8859-1?Q?Z9V/q176Zf3c+N+9g8mhAPkHR8sSfDqkQP5MQmYTtX1uXvQ0FU5vLjOp/K?= =?iso-8859-1?Q?4gej0q5gYwWNrji56uP7f8o1WqbC553UZAY9NCGXS4Sl6mj+Dae3zH60kb?= =?iso-8859-1?Q?TfCD/hqTMMvzHka1ydnALoWDba286kpAZZ+0yAWdO0UhOT//9+pkl1EMZj?= =?iso-8859-1?Q?vFcLsIUCv8J6rDFix+YHqK9PmsvjP5Zsk0v54+XYfisv7fpYLOobNTNEQz?= =?iso-8859-1?Q?+U26fxutj956bAOoeuGJY8gI2Wb4lebuvlLNt5IVnUEuJHzI4PwBrG4ETX?= =?iso-8859-1?Q?JHYz1zhPxH2/i/mH0Ncus9sPjByEwj+1wev/eP8Zq0A65Sr8QJzikhZA?= =?iso-8859-1?Q?=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: a4239c3a-60e0-4bea-52bc-08db09f6abac X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB6037.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2023 17:05:25.1577 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DyDfpKxnRK/jDeV8guCYng0IWTIuAIcKZ8tJWVBudbGTbhi6hAMgCU2hPpynYWaRlAerdQTroGf2baN9cOA2U5LyqGPR/0UiITdb2+8M0Ic= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB3701 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 Hello Ajit, On 2023-01-24 09:13:20 +0000, Ferruh Yigit wrote: > 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. Small ping on a comment 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`` > > > -- Kind Regards, Niklas Söderlund