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 CA547A00C2; Thu, 13 Oct 2022 14:03:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A764C42DC8; Thu, 13 Oct 2022 14:03:37 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2069.outbound.protection.outlook.com [40.107.94.69]) by mails.dpdk.org (Postfix) with ESMTP id 1F44142DC7 for ; Thu, 13 Oct 2022 14:03:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bAmi27ll5CUdl0OGgoYlt2/tO+i5p5CRAlKy9nxhk4myZg7B6DYqtma9ZEeWER70u16fUqODNMPi9e1ZrODdlmIhbUb5kqZ89t3652cbnm30Tc4JbGJPGAzA59Zw2AqgD8A45gi2SSdafhwtbOx5ZhBC9X3EQhWPJDMQAVdJ3uH9iumdbLqkAWzEV7CGf2emIWrkiVYzJ4eNumneqK1VYq1nuQp6gSNXbtQdyFsXjHiEseUKK5deJcjiJDnJQRc8kVg/mFL6JtHc2OEGR6PBAgPiU7dN1SGGotUjwOZd0SX8+9GirPdP+eddDBasSZKY6mjLy8Uv+Qwbk9DHfFWPsQ== 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=I4r82kBLZtyMkNk+2bztHwvwQrF8SZ8Al1UK8EcmUvI=; b=N9C9UXRBYmNpjuiwYvhgYZWsFrX0QO1uxUHZtAPk0o0gBZwxDGxhpgEU/1EAymxRODzosk+P243SwnxgUOBTGempZAOX5libacQgcZxxg/a4KScabnrGbC6LTkt8VLVG7bp7u40afXEpx0TlAGTsSNOUjxvSUj1/uUsMOo48KvIondPqh8c3w1Ll8yWBF6nMApMgnWvdrfJiuewpuJHMg+OmUB1bRQdo3wTRE3P5Ztu9LJuPvh6KkdtXTPGTW3Va6JhZZ3Dnttk6EJ+TT/AGb5tq6x1V3VAA8Gzl3mdTSMijhMI/tLEhFsoPKAsH6icug1dFfszmcATCBrnZlKGGbA== 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=I4r82kBLZtyMkNk+2bztHwvwQrF8SZ8Al1UK8EcmUvI=; b=TP227w4OAkPIxrXIW2vIRhOn1EgdkCjzLjhEqYptkoRfgwEVtLU7OyOIu9AkMWbl6vYZvbDMy1rRoWT49kjQ7bc+NOoIbmXfPxIetbtSofrYS4zzg5izjDkPHA0PUdgvkUnvXUPttwR3CoHBD4zxqc1uju3PVg6VYGVTYCYOhok= 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 DS0PR12MB7678.namprd12.prod.outlook.com (2603:10b6:8:135::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.21; Thu, 13 Oct 2022 12:03:34 +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.5676.036; Thu, 13 Oct 2022 12:03:34 +0000 Message-ID: <4f13ce91-32ed-02d5-867e-7f4e974518ef@amd.com> Date: Thu, 13 Oct 2022 13:03:29 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 Subject: Re: [PATCH] net/nfp: add the feature of RSS based on VXLAN inner layer Content-Language: en-US To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com References: <1665383329-23583-1-git-send-email-chaoyong.he@corigine.com> From: Ferruh Yigit In-Reply-To: <1665383329-23583-1-git-send-email-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0242.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a7::13) To DM6PR12MB4297.namprd12.prod.outlook.com (2603:10b6:5:211::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR12MB4297:EE_|DS0PR12MB7678:EE_ X-MS-Office365-Filtering-Correlation-Id: c6dd8221-614c-4b02-4145-08daad12f3f9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 82vz6Zou+Q+yInNToOodraItf/DHG+uiT3w2nu1Kr22U/QStWnEU3GVjhjNElk6qzYcLKIGA7mlbqRBZ6B8ExeWNL6x0akl7eIF3tieaxqSAEwB3U0b7Cpwsq4cOqWqbz5BKMQzOKx0hinELF9X6HGNsP+6Ni1bGvpEA3L/OjU3EbiFhO3LJNsB2+QjtFZA1ig/6WNi09tMEq0sHVj19IOeVKyqwx+H1LNGR1P9yF3uQBzanxek78AHxJ2zcKHL4hTGnBjYB00RdIAb2UI6JhV7q4RxnnlzqugucOtFibwwlTwAD8OCzYhlnwCVrf6xbXpJi3e7Hd4sl8qgDgsRVIe6hzyMudlZS5Iwpgzh23h2SLww/hjhPl86en5U2lUP3LHcipTLO7A8DuV1m83L+K6KehpvomVcilc0mY9y/XgaBlDb3B5NuFJxPlUHCKQuK0e4yFp/Y/VxS7pSuJRgtQW7REsyrrVUajHwp5suJUgkH0RtyvZOTw1aNv+7emQhA3Di2Hh7XYKTSUX7oU84DiIPnr/5qAp3e3dHLuZ5nCnnXi+wzaM4NcffY0ePwU/+fv8ZcJl92iOoK3J7ETiXeJMaG83uko8tIgJNvVxOyBpzGd6el3Z9EiilxHgIv9vBRJIpLI3aIzrXuHPBT9GTtRapzidelTIeC5dfQhie8nDbvUQ7nstTjgJ9NKeGGoNotKZgcLoodQGs+3d5lYMQ5bixe9GOZ5zhJZLLLYnh0fLa51MhkeSzNsbMXC3onWqMft4xlP1gWU/SKwrk7WNF0eGl+GfVCk6ecHsDOAuOPX+w= 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)(136003)(346002)(39860400002)(376002)(396003)(366004)(451199015)(478600001)(186003)(2906002)(2616005)(31686004)(6486002)(316002)(26005)(66946007)(66476007)(66556008)(4326008)(6666004)(31696002)(86362001)(41300700001)(6506007)(53546011)(8676002)(8936002)(6512007)(36756003)(38100700002)(83380400001)(5660300002)(44832011)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UmJNNWJVTmZweE1NSms1Y3NIM0ppc0JIaThHVVNoVmd6Qit2anpOVkhaK0lh?= =?utf-8?B?SW54MUFtTGJ2YmxwZUp0R3M1WTExVUFacHhqdnNDMnZNK2dVQWU5bVk5K1RB?= =?utf-8?B?MSs1QmIwRTJRMWpueHN1K2JZL3JUU3VrYU83ZVpNRS9mTlk3Wm8xUVpqbUF2?= =?utf-8?B?elVhTWZlam1kc1pERWJRZ1VMT0E4enJYWm1UeEhVQVQ5ZU9DYVlHc0xDNGRQ?= =?utf-8?B?ZnpjOW9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Rm9mOW13ODJ6UzJsZGZv?= =?utf-8?B?ZWw2aFNKTjdIdU5yaXhHYXJsZ1dSL05DQ2l3MFpJSVFFTm40V1JEdFAyMFpC?= =?utf-8?Q?H9pQ=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6dd8221-614c-4b02-4145-08daad12f3f9 X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4297.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2022 12:03:34.3373 (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: pdBu/w3jslu3VDixXRbZ4LwQb14tPEYJEk9gGC2tPDg9QpCDoZNOr4lJNEXUvA7O X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7678 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/10/2022 7:28 AM, Chaoyong He wrote: > Add the logics to support the feature of RSS packets based on > the inner layer of VXLAN tunnel. > > Signed-off-by: Chaoyong He > Reviewed-by: Niklas Söderlund > > Depends-on: series-24819 ("preparation for the rte_flow offload of nfp PMD") > > --- > drivers/net/nfp/flower/nfp_flower.c | 2 +- > drivers/net/nfp/flower/nfp_flower_cmsg.c | 1 + > drivers/net/nfp/flower/nfp_flower_ctrl.c | 2 +- > drivers/net/nfp/flower/nfp_flower_representor.c | 2 +- > drivers/net/nfp/nfp_common.c | 33 +++++++ > drivers/net/nfp/nfp_common.h | 4 + > drivers/net/nfp/nfp_cpp_bridge.h | 2 - > drivers/net/nfp/nfp_ethdev.c | 111 ++++++++++++++++++++++++ > drivers/net/nfp/nfp_ethdev_vf.c | 1 + > drivers/net/nfp/nfp_rxtx.c | 1 + > 10 files changed, 154 insertions(+), 5 deletions(-) > > diff --git a/drivers/net/nfp/flower/nfp_flower.c b/drivers/net/nfp/flower/nfp_flower.c > index 3e97f5c..da96d2f 100644 > --- a/drivers/net/nfp/flower/nfp_flower.c > +++ b/drivers/net/nfp/flower/nfp_flower.c > @@ -10,9 +10,9 @@ > #include > #include > > +#include "../nfp_ctrl.h" > #include "../nfp_common.h" > #include "../nfp_logs.h" > -#include "../nfp_ctrl.h" > #include "../nfp_cpp_bridge.h" > #include "../nfp_rxtx.h" > #include "../nfpcore/nfp_mip.h" > diff --git a/drivers/net/nfp/flower/nfp_flower_cmsg.c b/drivers/net/nfp/flower/nfp_flower_cmsg.c > index 750a629..b719eb2 100644 > --- a/drivers/net/nfp/flower/nfp_flower_cmsg.c > +++ b/drivers/net/nfp/flower/nfp_flower_cmsg.c > @@ -5,6 +5,7 @@ > > #include "../nfpcore/nfp_nsp.h" > #include "../nfp_logs.h" > +#include "../nfp_ctrl.h" > #include "../nfp_common.h" > #include "nfp_flower.h" > #include "nfp_flower_cmsg.h" > diff --git a/drivers/net/nfp/flower/nfp_flower_ctrl.c b/drivers/net/nfp/flower/nfp_flower_ctrl.c > index df908ef..961ca34 100644 > --- a/drivers/net/nfp/flower/nfp_flower_ctrl.c > +++ b/drivers/net/nfp/flower/nfp_flower_ctrl.c > @@ -6,9 +6,9 @@ > #include > #include > > +#include "../nfp_ctrl.h" > #include "../nfp_common.h" > #include "../nfp_logs.h" > -#include "../nfp_ctrl.h" > #include "../nfp_rxtx.h" > #include "nfp_flower.h" > #include "nfp_flower_ctrl.h" > diff --git a/drivers/net/nfp/flower/nfp_flower_representor.c b/drivers/net/nfp/flower/nfp_flower_representor.c > index 0e60f50..8db73e0 100644 > --- a/drivers/net/nfp/flower/nfp_flower_representor.c > +++ b/drivers/net/nfp/flower/nfp_flower_representor.c > @@ -6,9 +6,9 @@ > #include > #include > > +#include "../nfp_ctrl.h" > #include "../nfp_common.h" > #include "../nfp_logs.h" > -#include "../nfp_ctrl.h" > #include "../nfp_rxtx.h" > #include "../nfpcore/nfp_mip.h" > #include "../nfpcore/nfp_rtsym.h" > diff --git a/drivers/net/nfp/nfp_common.c b/drivers/net/nfp/nfp_common.c > index 07781a1..ec6a669 100644 > --- a/drivers/net/nfp/nfp_common.c > +++ b/drivers/net/nfp/nfp_common.c > @@ -37,6 +37,7 @@ > #include "nfpcore/nfp_rtsym.h" > #include "nfpcore/nfp_nsp.h" > > +#include "nfp_ctrl.h" > #include "nfp_common.h" > #include "nfp_ctrl.h" > #include "nfp_rxtx.h" Are above header inclusion changes related to this patch?