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 3B9AEA0547 for ; Mon, 29 Mar 2021 22:58:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F58D4069D; Mon, 29 Mar 2021 22:58:58 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2076.outbound.protection.outlook.com [40.107.236.76]) by mails.dpdk.org (Postfix) with ESMTP id 61B9B4069D; Mon, 29 Mar 2021 22:58:56 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cws7SeH4Qv+l/I41XG3onmcBLT+snKJ4s701i+ZrFP9ZH6DSgP2dxEc9I7R7uwASGegP1LXDAuwy9ZGnmVkv2iLD/JYykXD+lLIJ36s+m71afhZRHtLwArTCxCYmCVmfC0CBvwExI1ibeYEsGr6zXYEyGi18x01tivgTjhhUcaAJnWkB3X4hp9NvNc7ypMUIKfGsP4C9UwsStNBh60w4Ow9Hf+x8RzqBsc1YnWho4vCjjFuknx1dQcmIBVSnlo3dtJmFGHAUJOdB/tU747sjQZSeXI6O1r9hJ//1f6zhYiP7kMAve1wryP7b2XRihbUFzohTZZGLiEgwJZLwnv8vtQ== 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=2Xsx/xAgrwIqHRoT1A0/SzB3NJR+uVYurOnqLxu1LZg=; b=InksoyIGPuoUo1XiwvFgZAJZYCAcoXnHssIo0JnbRSY97Ebv1Ki6fJ4NRuWXSdzwQxO7ik0vZVIyTvgEbmJWFc/tiB5WcUB4wbcMf60FFT/BZ1fpxtd2EHvqkoIud6Orik3qpC4mn4aR6faz883hn60h0UOtJX2ecHYReinZLj6u+dBLZIRpoiOKV0nvlfqPE4Bk7gd0cOX4P3i2NhRhy51PVuHudpgks8n59oMIk70sRFgBBk8QTFdcAZ4pKWs3XQIwU2vIVDX8F/NHxWilywsjdpJvY49VDVBZW9vkSdsClCXMP+p/zvzeImmz6NZpDC0PBdmeDCImOTCIYjW30A== 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=2Xsx/xAgrwIqHRoT1A0/SzB3NJR+uVYurOnqLxu1LZg=; b=HgfXfJHHFB2GJdnhRXIPZhVQK6l6oZCgoxTfzA5h79l7D8G/zrwPyoWy2DNK2GolDD04CGz6trq2XjScPsO2LqnibU0kicZAudAdZOFMQcDOG/Us+edN8YEWdGl8pXHbms1lUI7S3CBhHb9wmjNRE0hiWV6DysvePwd812b+DHidQNQ9/t0ZS/NsUNnkv3zaovYiDas/EetphCxGy+W2cz/UOCybHu5VTrvJdySgpetAgvdFRwCj2jfQy3YEN99IbfYfSFAKmqMIo75XG9N8f8WJd3IGF9d28AVWga+T3WcV9fSq86ycHAbDi/fTm+XTlxObR/QMKfHdIqZAHbiRnQ== Received: from BL0PR12MB2483.namprd12.prod.outlook.com (2603:10b6:207:4c::26) by MN2PR12MB4847.namprd12.prod.outlook.com (2603:10b6:208:1ba::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.31; Mon, 29 Mar 2021 20:58:55 +0000 Received: from BL0PR12MB2483.namprd12.prod.outlook.com ([fe80::2da7:6060:9bc4:6309]) by BL0PR12MB2483.namprd12.prod.outlook.com ([fe80::2da7:6060:9bc4:6309%5]) with mapi id 15.20.3933.039; Mon, 29 Mar 2021 20:58:55 +0000 From: Matan Azrad To: Jack Min , Shahaf Shuler , Slava Ovsiienko , Andrey Vesnovaty CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH 2/2] net/mlx5: fix missing shared RSS hash types Thread-Index: AQHXIf/Eqiiq9RZrL0a0UpysD/QFNKqbeGTA Date: Mon, 29 Mar 2021 20:58:55 +0000 Message-ID: References: <28d28362bcd5a504552769428c18508af2f5333f.1616724524.git.jackmin@nvidia.com> In-Reply-To: <28d28362bcd5a504552769428c18508af2f5333f.1616724524.git.jackmin@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [79.182.29.6] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 548ffd2f-7868-4347-adbb-08d8f2f5772d x-ms-traffictypediagnostic: MN2PR12MB4847: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZG/RzwP7od5VnblmCdUv+Wfszwl0PNUIGO4NQQFqI7/tep1vTuGQ4E9PFKZhoQ/wBMkA5YiBI5gYFeYJArx3bpsuT+XGUnGX+fAu+kZeYnJ8o57LRaEZx5RZ78teyNaubeW19+TFyMy5nTtYUWMVQKNHcFOPkANJr7tSknOD0SLoAqnKsUM3KrIs2ZDY7wTB1D7dnEWQKMs5u8/LVGpYWYjKc22Q0H6QoFW9sPiQjBK4bcqitMhPCVZeqiSE6QFuLmwq2FbEzY1Syhe5GehffbU3TIlYpRLAWcqYV7PIhYopLowiDqzH74oV90Im+Ob/SCytFgyJa+XlCUQUNbFTob7Lo9JxyhBvCgI0PbZS2VKX5gLkS0zlXSE5f17K02JpWl2BvmLTnPpxxIPdlu7pEc1QwYCVcWUx9dnFRMtRbvSbXi7V2rOWSzd0kMuTeY7MoPzVxAC9AKXf6eraesWk4/VJKcer3cKKZsBbWTTmLZ8LvyOZ2oMbN7D76XXqYa56KU4hOmpliKmc0yZZfcSJA3kJVu41Lq6awcMqOwD7IB8Moa22AAmJuhnQ1Rja2WhrMaP2xzpHf1duW/L1pC5BZL18m8f7X3y4zUo9bXtTrhZpIOusdqkBuI37ji6ERQq+PtCjeEgh2uJcoZ1K85Bzj3vM+zAwLPk2TC/4o+hYK7A= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR12MB2483.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(376002)(396003)(346002)(39860400002)(136003)(186003)(316002)(26005)(6636002)(66446008)(71200400001)(4326008)(54906003)(450100002)(6506007)(33656002)(66476007)(2906002)(83380400001)(64756008)(86362001)(66556008)(478600001)(4744005)(8936002)(7696005)(55016002)(5660300002)(52536014)(110136005)(38100700001)(8676002)(9686003)(66946007)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?AZP+5yyNk+MjBwtyDDErwufpclT5TjtJW2YX+mIrI+N4OY4Mixilyu4vJslt?= =?us-ascii?Q?7LsSR3KvTnhOpAUSbV+p7iquaVapBDM/wVMAj4egK3zo8gljYHX7qlnehACI?= =?us-ascii?Q?Y+nZnlHCHIkL23I0zTHSFtlbrEi7oQ0eSCcbIWD0Dct08bPTlctYLrdusD6H?= =?us-ascii?Q?Kb87bCnB6jVQoqqvIM6adjFGJrBlqU97WDoI0mxeKBcMmGBTujzDyXSEpnDh?= =?us-ascii?Q?B8+TyNRfw0newR71TflJ99hmZQ5GASfmG/PX8WLRPBNzcZNHsqqsOrA7yUV1?= =?us-ascii?Q?uRl7WXkBMCNEashVImpYDDCjovtx0zQ2pzrCObMaYZZV957vLFrW7l2ThcYQ?= =?us-ascii?Q?m5HpqrWTTrLblKZLjzZ9w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-ascii?Q?RhEH3S6BEXhU5YWazB6W3Aqk9SY0hijiV4osB3lsQmMQID1ySiEJf4GwxJH/?= =?us-ascii?Q?I9Q=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL0PR12MB2483.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 548ffd2f-7868-4347-adbb-08d8f2f5772d X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2021 20:58:55.2007 (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: BEg2McsgXVaKESbcAUWl3Zq+LP37iekjeRch+QdTAwOIXfZDIAYrc6iOeuNSSyl0hqULtKeSfD0hJaxAP5CO4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4847 Subject: Re: [dpdk-stable] [PATCH 2/2] net/mlx5: fix missing shared RSS hash types X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" From: Xiaoyu Min > Shared RSS action create all supported RSS hash combination in advance an= d > lookup the right hash TIR when flow is actually applied by comparing hash= field > value. >=20 > Unfortunately some hash combination is missed, for example, UDP/TCP dest > port only, L3-src-only, etc. >=20 > This patch add the missing hash combination. >=20 > In order to reduce the usage of pre-created TIRs and because for one L3+L= 4 > combination only one IBV hash type is possible, for example, either > IBV_RX_HASH_SRC_PORT_UDP or IBV_RX_HASH_DST_PORT_UDP or both of > them could be set so they can share same slot in mlx5_rss_hash_fields, me= ans > only one TIR will be created. >=20 > Fixes: d2046c09aa64 ("net/mlx5: support shared action for RSS") > Cc: stable@dpdk.org >=20 > Signed-off-by: Xiaoyu Min Acked-by: Matan Azrad