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 B3D02A0552; Thu, 20 Oct 2022 13:11:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C6C542C80; Thu, 20 Oct 2022 13:11:53 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2077.outbound.protection.outlook.com [40.107.96.77]) by mails.dpdk.org (Postfix) with ESMTP id 87B0142C7C for ; Thu, 20 Oct 2022 13:11:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mrrqOSh9a0qyVWQbORG3LIvvwrSfkpVhH/U7kmgFZjnbPLEo+1gEC1KbjOeqG1GeWKOtXvV7GhmTQO8QIID7CHHQvaBYZ1L3qFvXgetCXe3ocOFxXGfomLiKjNQD5tCo6dFWt1WG5MToP9rRJoxEDhlE6QqW/DzFoWzRoBPKHV8EgH07/1QmSba/bD6nSZqKbDbzU05x+pM1PO3c6zvrc2A70ohQ4TEl9WY4nZfysNoJXmMbFvffvMIoGDAe6TRA1/eYQHQ9iItcfl6MEbqYEfqdvbqlfctJVJPMH0Q8sXprak8iPNucGbFn6iZQSybswudk6E+bSVqE8aaCLcNWmw== 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=DISuPTJ87oR3oS51i3hDlsWzh7kTSGUZOCWlWZ1Qa/o=; b=Rql4JZEM/8d2L+xqazQYW7/gMa40z+knP5uirUu3O0yU1KGqpVN3jTEUAX8FH8TCgi4ogOI3vPMGCy6+N/Cu8nQdDawLTak30lP/mK/KN32gNFey+GTt83hEtk/iq/QwbntH0IUfsDtC3PAfekFXSN7RSfxGkne+j62hnbBlo8ZEbIrVa6O+QrsVX3L723wDgRX2qDOuzW/xLWTG+0Yn3Ay5ilVnsgwPA8GLQkmco5z4kWp5Yku2j4l7b65yBHvFxyztJuPICSzyzbA/skXXwUPpqbursh/AE5ZevK23bpMAy+i5MQXjZiQyl6H17eKTXruz3zdQjyo2QT08yFgQTQ== 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=DISuPTJ87oR3oS51i3hDlsWzh7kTSGUZOCWlWZ1Qa/o=; b=EIiA8F8sYf2r6T7LyZnLUz1wWHGMIVaOXimTdaW+rrRCgTVJVcYYXG3LOJAuaGM//7LRfwvqiwrT2roSX4uWuRi77/+Rfofn41iOdGQXcFq0asiQNPX2N9e8iHGLlgx4WhLWwC8Mp5L7/7J8jV6vQ56LFcAGqiWyoJYjeB2p4M4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM6PR12MB4297.namprd12.prod.outlook.com (2603:10b6:5:211::20) by SJ1PR12MB6241.namprd12.prod.outlook.com (2603:10b6:a03:458::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.33; Thu, 20 Oct 2022 11:11:50 +0000 Received: from DM6PR12MB4297.namprd12.prod.outlook.com ([fe80::b9fd:e732:4585:6b25]) by DM6PR12MB4297.namprd12.prod.outlook.com ([fe80::b9fd:e732:4585:6b25%7]) with mapi id 15.20.5723.033; Thu, 20 Oct 2022 11:11:50 +0000 Message-ID: <38eab2b2-98b2-b05c-4883-aa1c6ab671d5@amd.com> Date: Thu, 20 Oct 2022 12:11:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH v5 05/25] net/nfp: support basic flow items Content-Language: en-US To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com References: <1666092434-10357-1-git-send-email-chaoyong.he@corigine.com> <1666232391-29152-1-git-send-email-chaoyong.he@corigine.com> <1666232391-29152-6-git-send-email-chaoyong.he@corigine.com> From: Ferruh Yigit In-Reply-To: <1666232391-29152-6-git-send-email-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0094.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::34) To DM6PR12MB4297.namprd12.prod.outlook.com (2603:10b6:5:211::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR12MB4297:EE_|SJ1PR12MB6241:EE_ X-MS-Office365-Filtering-Correlation-Id: f2d7f421-ab95-4c11-ec8d-08dab28be307 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mNv9GUTgaP1w2UFlmIFGSEspJhE7tSVyS/c4zQwfnWVZA1+exBTmQhRC/fLN1ReNd4pchAAd1XpBZ46GS6pKMyxSbdtp0BjjCTTw3WpAhqNjDKF5G1HD6K3o68MSVYUjrqjPBYAVyBVneO/Y3yAODQz0YZHn52TojwSDnAPijmmdxrgTSJSVAgqDVRFd1jYp61i4AUp/m5GB6G2Q8SxMOxHBuWoj2b/kCBzdNbfqdqaHnb5dazSQ0mgM2UhsIv8TsPOqL5RjzmRSH9yXhN+u6Z3rVBw8gGF8hiORabtoHpWCs7+zbacmxnNt9N9UqciDDtVcef/sSjXMWGIxfQDmyCAA6CZZgOqscnn89w/2lGC/QUiMz5mNGmjaipGSWNOG5aSlDvO2ugrE8u9aF21aK68iAfTVkzw+m0WxZYL5kP9q0h8OA1zYR9qsgh+YoBqiKtA8norY2GIexN/IynZO3SV1tM3VCjSxmwWGYPZLNL7HzgrE5rIBraDXlVdhBPLfN4/nJth+Z5u8nwqF6uNgYeUQ6PzTRf5YwA1ZguV/ZZkuQJjTQZTmySsUTtRYHniIhoZeFN0LwUiKD61AXR5K7KDZh1z9NJY5bxlaivjSnEB90VQe7u2qysU2MLT5d22yASS1GRkHdOUjAGXF/W4EY+sEkREh8tQiBe+Ei3OBJGz1WzwgM+lRN7PXawQfBvlLfLrn4s9ShZ3wHXW7wRlZoTe9PoKUUPeNdF0y5NOhQv21SJY3Cra9gmWgaMddLP3pHdQxwFYr2Jm+Mbb9/IyFPECsXnkm2QVVST2g/Pma0Nk= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB4297.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(346002)(376002)(366004)(39860400002)(396003)(136003)(451199015)(86362001)(31696002)(36756003)(31686004)(38100700002)(83380400001)(2906002)(66574015)(5660300002)(53546011)(44832011)(6666004)(2616005)(186003)(6512007)(26005)(6506007)(316002)(6486002)(478600001)(66556008)(66946007)(66476007)(4326008)(8936002)(8676002)(41300700001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bjhUYWN2ajFxMVdKc3pBaHdJVFlIOExxTUlMTm81U1g2UDBsdDNpOWpTNWMv?= =?utf-8?B?bkwvVFY2VzB1dFN4aXBhKytqWHdFTUhQMU5OYWJyTnozd24zZTc0Vmk1YzNo?= =?utf-8?B?Z25Ddk1LTXNVVUdNdmhDR0YyMlNpdHVvUDBkdXFzZjR4d1JxQ0RCVzZVRDNq?= =?utf-8?B?VU1W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mFCcktYMHRlL01WcnRSVFFXODBi?= =?utf-8?B?aytUNlVqSkxUTzRMNzlGTENadTNGYng4bGhHbGtrRXpyMGVTR2g2Ti9aVkpV?= =?utf-8?B?VkppLzQ3ZnpNbXk1VEtSZFZ4TVhVMS9pUFBGd1JkMHVDdDRNV1pUanJIVmFh?= =?utf-8?Q?oOEXx0qpN5ydrmf9/zV3NDbJo?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: f2d7f421-ab95-4c11-ec8d-08dab28be307 X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4297.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2022 11:11:50.7366 (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: wrfbh39mzLuSgx3bMMVfeV+3oPheuNOdBL6l4zBqyO5S531oHov4F0ctWBnUU/Ht X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6241 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 10/20/2022 3:19 AM, Chaoyong He wrote: > Add the offload support of very basic items: ethernet and > port id. > > Signed-off-by: Chaoyong He > Reviewed-by: Niklas Söderlund > --- > doc/guides/nics/features/nfp.ini | 4 + > doc/guides/rel_notes/release_22_11.rst | 2 + > drivers/net/nfp/flower/nfp_flower_cmsg.h | 20 +++ > drivers/net/nfp/nfp_flow.c | 252 ++++++++++++++++++++++++++++++- > 4 files changed, 277 insertions(+), 1 deletion(-) > > diff --git a/doc/guides/nics/features/nfp.ini b/doc/guides/nics/features/nfp.ini > index f7a0362..4460cf0 100644 > --- a/doc/guides/nics/features/nfp.ini > +++ b/doc/guides/nics/features/nfp.ini > @@ -25,3 +25,7 @@ Linux = Y > Multiprocess aware = Y > x86-64 = Y > Usage doc = Y > + > +[rte_flow items] > +eth = Y > +port_id = Y > diff --git a/doc/guides/rel_notes/release_22_11.rst b/doc/guides/rel_notes/release_22_11.rst > index a3700bb..6d421a2 100644 > --- a/doc/guides/rel_notes/release_22_11.rst > +++ b/doc/guides/rel_notes/release_22_11.rst > @@ -163,6 +163,8 @@ New Features > * Added the control message interactive channels between PMD and firmware. > * Added the support of representor port. > > + Add the support of rte_flow pattern items. > + I remember previously this was listing supported patterns one by one, it is changed to brief entry now but instead of saying added "pattern items and actions" and what do you think on a generic wording someting like: "Added support for flow API"