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 EFA03A0C3F; Wed, 28 Apr 2021 06:22:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6807A40147; Wed, 28 Apr 2021 06:22:35 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2064.outbound.protection.outlook.com [40.107.95.64]) by mails.dpdk.org (Postfix) with ESMTP id 7535E40041 for ; Wed, 28 Apr 2021 06:22:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RW7YaeURgA4y4LS/bdozArveeZm++s3OIMAQEoDOCCYwZZPWXx/yzl1xbK+cA4QaQRaq8PRgAZgPtN8qNld+9m/FKfbtuKvlNjogDFDo42LYBIshuamLjeT3ZBZB5ffFawf/oRGyaNt2U2kKAWvdh9GLCH7s8hzX6OP7n9BDQBW/j/Bk3bI76D1KTgQCscfkhPiK9k+mWwq+vDscVKnaznLLSKQu06W2IDs2W4B4GZIGk3+NMEMfw/xsOPTOJB9AnEsJAk41XvuqLFxyNcs16PD5LBGpNI7l1b+ZVPKIjTL2mA/gUXXiCg5IC6nvVhcUL0AEKdoi/euzJQkyTneMDA== 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-SenderADCheck; bh=7IZQt5qOh7EYke1mSLmnBoTEvK9LKo3TIoJwrMSlSI8=; b=oM+1Hk5NapZ4FVM03qKDy4cC+CyhGT/MI8FAQqONwxmQyn1dVmT5sW/B/pCGlhanftf1EOjXmPmgWmzLqr042R6CznvxPT0hA4oxzazWXc/UdTPaNcQxVY9/XLqcOMUpP7qyONLUmgcU5YlHCYkGfLXWBrN/UvlATUXz8jOBnPDukXb1lBooW0OOI1sPQRZJSJjb+d2OAudr4SAUPRCvYnXt06ONCESppudh4FhHZEj0BddCv/WnJ3SiXzLrSbauzhFV3hvFep0m+bHT4WhTP0+WLD7JHd9khEyYeqHlPYnkTtlLLJgX2evI9AZFcRVbgvK/4OaI6ERYBmYknLdICQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7IZQt5qOh7EYke1mSLmnBoTEvK9LKo3TIoJwrMSlSI8=; b=LuJcNjnaJvbBFiT/EUVq9fhkfmwFFQjzm96nFIJrKOIECq+gcpoVusr9MxGHc4M9Flv/TAymhQnvo9Q7n9uVaLpektTQfBZXIGTcOekVtf05Zeg1szPpTrjGgVCfFnm7ThEQl3TK+dgdNLQNxPVSiEW7bYGfaY93qu2yjr4XA6yJArEoKfmqyPED7w79ZjwZ5zAQ03IbJ86XWhvIho04FlmxyHCt7fvVG2iHKRFXzrmmbswaGy9XYjlJBLq5k4+gJu+ZqywtCv8pcrvkAVs/vJqgojhWoYdoT5lVad4V2uzx6xguHSzGb0Zgs7Nb1V/I7DZ0mwbIxnYHVbAT4a6w3A== Received: from DM5PR12MB2406.namprd12.prod.outlook.com (2603:10b6:4:b7::23) by DM5PR12MB1212.namprd12.prod.outlook.com (2603:10b6:3:74::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.25; Wed, 28 Apr 2021 04:22:33 +0000 Received: from DM5PR12MB2406.namprd12.prod.outlook.com ([fe80::296c:7adb:3a40:a762]) by DM5PR12MB2406.namprd12.prod.outlook.com ([fe80::296c:7adb:3a40:a762%7]) with mapi id 15.20.4065.026; Wed, 28 Apr 2021 04:22:32 +0000 From: Asaf Penso To: "dev@dpdk.org" , wenxu Thread-Topic: [dpdk-dev] nvgre inner rss problem in mlx5 Thread-Index: AQHXO+FEn2MLMSDD80Or+0u/sv0CRKrJU05n Date: Wed, 28 Apr 2021 04:22:32 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [87.71.141.78] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 696efc9b-d92d-44e4-9309-08d909fd3e7f x-ms-traffictypediagnostic: DM5PR12MB1212: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: J0KSsJkKwiBS+aIbDEv82JRVmDpMNoD9g+IIVkzQRZi5TM01tlSuSQJlAApl29K9LqtPgtE0KZBTlZjjY1XevG3AKUpy4o96LpG/1UkzmuLMH0B1x6d+KcYt/ev0n/QDfUTXpD0+aiAhwZeMXIA94cE+Klko+wGaUP2/EdHVi93m8w7bFbrUyYN2G4NhATpr1r9K/B6e33u17/RmsUoKDIEIX68XnH3/q+Y6ioQAIR9Mficnv93rBtbxl1fBPDqpGIb4r6W4/1Waq9GtcNHD3kQUkyU2UUhQ0VKB1fXXHlCWOF/9RZodRm81Z3dTQZUm297dQLoyLG72r6+TbqnJ4FSflBp9S8Umj/frw770sjlSRleUNwDZ+UagyYkGTbJzSjJ5SfOqybG488rZMDeAFmvHSvfkG8EhsHdTPP5hKuXpvmAXAeOxpZAnbLRWYkA8aiJMk9H8REjcK0o/kYVNBFZqTLXvU56urZBHnqkeyTEqxuGiRsBvvLtlvvge3WP0NvP1vnQ0ZUZcSTILOS662PBExt0vAWHzvxY+to9brSyNAMbh+2osBBJH48Dis/6gnVgTBhVmFfP7uNIXUtlz1faV3Sr+de9aHu7KoNk7oJ/r2M21IDj/1HcWWvLLLmmcLxISuSIcvuRc6rzaRfB9ef9PIAzYKCvwsV8ONtVgHrg= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR12MB2406.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(136003)(396003)(376002)(366004)(346002)(8936002)(122000001)(8676002)(9686003)(55016002)(5660300002)(64756008)(86362001)(76116006)(38100700002)(110136005)(71200400001)(6506007)(26005)(66446008)(186003)(52536014)(91956017)(66556008)(53546011)(478600001)(2906002)(66476007)(33656002)(7696005)(316002)(66946007)(143363002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?iso-2022-jp?B?ZTBKTDIxSTF2Q1g4WUMvQWxrbVdvU0dtRlc0ZG0xczFCTElmRlJ0K0Zy?= =?iso-2022-jp?B?YWxLa3dqTW5xRFY4cUM0YzU0ZmFLMVBiTlROS2tRZWtkZnZra29ydjl5?= =?iso-2022-jp?B?dTdKWkdiUjdJY1ZJWFRrUGo4bzBCWW1rRUw1Y2dsU1VWbDB0bytkYThP?= =?iso-2022-jp?B?NmJzVk9jd3RYaFZwR0xZYmJWMXlYem02YUZJS3pDNy9vTC9hTm1SdkxW?= =?iso-2022-jp?B?d3pwS3R4amtjckJTT3YwSEt3RmVtYVhwRFZ6M0pnS0Nac1UwblRDc3Jt?= =?iso-2022-jp?B?TGtTQzRGamxUNUdDREs2ZHptR0V0dTYyRE1hcU1FRjQ5RkQzcG9zOGpL?= =?iso-2022-jp?B?QlRaRXdSeFJSSkpLdjNWU3pzWnZ4N3VrZ3RETkk0SUMvaTFQejR0eHRI?= =?iso-2022-jp?B?Wm43TG5nbXhoc00wMkZ0L3FMR3RJLzNKSjY5c3RvclJTanU3dllhSVVI?= =?iso-2022-jp?B?TjN6UTVHWUN3bnN4RjFJR2pXWTZYcjFLcXJsYXZlMTNjTnIyQ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kFhWDFGK2pQdTdrZmQ5Q2Vl?= =?iso-2022-jp?B?VGdwR2w4UFNqOG9tUmdIakdkTk92UTBWa1Y3SE0xc3lTenRpZk85Uk44?= =?iso-2022-jp?B?WjBqbUFOamY1Q3hNZWo3TC91Sk5XVnlYaWY0ZHhldmJDM0xkdXd3TEVB?= =?iso-2022-jp?B?NXpucGNEeE1hbVZZRE1KOWFNSE5VVEZqZS96OHA1RkVQbXFXdStpYTFk?= =?iso-2022-jp?B?SlllTERtNFRtTDBsMDFXenRHclNSdzJCL3hoejJ6N2pDa3NESjIrbEpW?= =?iso-2022-jp?B?d0JQaUFUWEVYTWplVzZleSsvNWdtNnJaL09mRXZ0RUFWVWgwUEdtclZv?= =?iso-2022-jp?B?ZzFPWjZiZGdoTThqdWZodUtMUFhPWDl2cTVvMFNLRklWSlZxMWE0VHNH?= =?iso-2022-jp?B?NlBUWDlQZlp5SWs1VjBCZy9kWlVpeUROTEJWMVc5Q01mRisyemxtY2wz?= =?iso-2022-jp?B?dkt6RDAzcHlQUUFhSFVDdUdvclBpN2JXSU55d1lQM3JVUVdxMVR3eW5u?= =?iso-2022-jp?B?cHhDbngzTXUrUlJmSytTLzB6MTI3Zz09?= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB2406.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 696efc9b-d92d-44e4-9309-08d909fd3e7f X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Apr 2021 04:22:32.7760 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7opxjD33WN2HW3xS+gckQWVn4IyrWbrJQQjyL5X76NIYe18ewWkMQo9eWFALNe64ex9tGQCSHtS3wO0lwsCpbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1212 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] nvgre inner rss problem in mlx5 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 Sender: "dev" Hello Wenxu, Thank you for reaching us. I would like to know a few more details before I= can provide an assistance. Can you share the version numbers for: rdma-core OFED OS Regards, Asaf Penso ________________________________ From: dev on behalf of wenxu Sent: Wednesday, April 28, 2021 6:47:45 AM To: dev@dpdk.org Subject: [dpdk-dev] nvgre inner rss problem in mlx5 Hi mlnx teams, I test the upstream dpdk with the nvgre inner rss action with dpdk-testpmd # ./dpdk-testpmd -c 0x1f -n 4 -m 4096 -w "0000:19:00.1" --huge-dir=3D/mnt= /ovsdpdk -- --forward-mode=3Drxonly --rxq=3D4 --txq=3D4 --auto-start --nb-= cores=3D4 # testpmd>> flow create 0 ingress pattern eth / ipv4 / nvgre / end actions= rss level 2 types ip udp tcp end queues 0 1 2 3 end / end Add rte flow for nvgre wit action inner=1B$B!J=1B(Blevel 2=1B$B!K=1B(B rss = to the queues 0,1,2,3. And I test this with the same underlay tunnel but differrent inner ip addre= ss/udp ports. But Only one queue recieve the packet. And if I test this with vxlan case. it works as we expect. testpmd>> flow create 0 ingress pattern eth / ipv4 / udp / vxlan / end acti= ons rss level 2 types ip udp tcp end queues 0 1 2 3 end / end # lspci | grep Ether 19:00.0 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX= -5] 19:00.1 Ethernet controller: Mellanox Technologies MT27800 Family [ConnectX= -5] Fw version is 16.29.1016 # ethtool -i net3 driver: mlx5_core version: 5.12.0-rc4+ firmware-version: 16.29.1016 (MT_0000000080) Are there any problems for my test case. BR wenxu