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 02921A0C49 for ; Wed, 7 Jul 2021 04:33:15 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0236B413FC; Wed, 7 Jul 2021 04:33:14 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2077.outbound.protection.outlook.com [40.107.244.77]) by mails.dpdk.org (Postfix) with ESMTP id BA78B41300; Wed, 7 Jul 2021 04:33:11 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UBLO6ZqfrFq3oVphwxjftkKhK4rk30GJyrdUT/1mfzH7lK8jZCPmDTLGcsMQqGSHv3fkRFNoPK0B+YZMm/YHUBFj18lf0XNgR8W63HBDvM6O0j+uOuLroGyGGzIZSpwt22g3hyn/FDC10EwNHuvHZ2AEmMTWBarAbv5zqDxR8Zje6dBikLZvs2gVOkPY/NC/AiQEssJe0tvLgbFrzWlpvX3SPucDrySS1JMwyCwdeU/oxATtPeMtnMjh/885PacxzF0KtMz6oXohi3aXy36+VkiqQxYAbeMRWECXBt26QiLX5UoKmjXhGljhoK7vg1+cqCvK7i26HwslWxlXf9NLAw== 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=bsQjLGf+lLWef5DV0O5HhGepqGw3IG/8ZHxqPwvPVxw=; b=mrVrg81R/8jUjBJ+SmsHYCIsBcS5LbZRPVWJc0jI/DIN+IAWRGg7gNWqk9DXcJq+tEmrHy19Wya5QazKFAp+G1NoGQx4FFP6/5+q9KY8RL8DKdp1gGXQsIwO2FUUmL+V2RIctowo69fCamHoJbjsRn9RHBDd1n9ojToGhQaBB6aotsIIU1IYaGxTjzfKeAOqXSsNPcNH/wZDfniOeTVb61cO1vwOtE9nsuczzeadj2GAoe9uRvY0tSdXbCgmRW8+ruQv9lTSdAo25+M0R9p3xI9JcJ2ZaxG2Oz4YdK+KmJPtKZ3symSbzCb7cLhJ0uer+dF7qK39VQeYJMP7XUOlJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=bsQjLGf+lLWef5DV0O5HhGepqGw3IG/8ZHxqPwvPVxw=; b=NUqfwYIXmSFrJT2X1mokN55dwZ3ZvLqXV3HywZiW93KGSw2vyk9D0qsyjdUcnMjeteiORc8FwtUpGYFmVyaLHOL8UIE/yuCo1GfTQ32pRykKRrR905BnQA2sSW55mO27olumEF4lTZL1/3s35rHbyL8MvG1BP8gekzjBvBRKLATDD+ol5QLhC9dlxvqpMExgTLaM0gOKwzthv6Q0KGrKHOx4ZiZ4EhQxK/SuXO10+WNRa6S2zLpcKed2EswpPSg1M1JGAvP5Ok+/qFCB46UTLLkk8bRMGQnk3yC6giqralRpO049tiGBgUJ/FhqS9yn/F/diE0yeZ4j2u5Np4r82WA== Received: from BN6PR1701CA0020.namprd17.prod.outlook.com (2603:10b6:405:15::30) by SN1PR12MB2525.namprd12.prod.outlook.com (2603:10b6:802:29::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.19; Wed, 7 Jul 2021 02:33:09 +0000 Received: from BN8NAM11FT064.eop-nam11.prod.protection.outlook.com (2603:10b6:405:15:cafe::d) by BN6PR1701CA0020.outlook.office365.com (2603:10b6:405:15::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.19 via Frontend Transport; Wed, 7 Jul 2021 02:33:09 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT064.mail.protection.outlook.com (10.13.176.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4287.22 via Frontend Transport; Wed, 7 Jul 2021 02:33:09 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 7 Jul 2021 02:33:07 +0000 From: Xiaoyu Min To: Matan Azrad , Shahaf Shuler , Viacheslav Ovsiienko , Gregory Etelson CC: , Date: Wed, 7 Jul 2021 10:32:46 +0800 Message-ID: <8bb1fe3fabccbd29d089e116a45b9348515e4b5b.1625624590.git.jackmin@nvidia.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1fbcb4ce-a0c2-4c36-850d-08d940ef8f6e X-MS-TrafficTypeDiagnostic: SN1PR12MB2525: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:569; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zpFm4wRNy3kT6s09yl4h39Sj96DpECKkby/kVYM3CDb92vnYffGjQaE97dWiU+zUTDkhoczzLVx+WdiK49RomS52rRg4D35GCDXs64yQEQ3kHpcetCEiB5b9tRrbGLkhI2RjM1jgyxJxAnsitaVzG/PWXP89drj5TU6TKl8LLhRUq7mTlgkF2VfpdC0xnxxP6LT765s0MoGPl2hBmuRuPysDBOHQsj4p/WjtlNrXyCji05F4ooR5dWbtRliETY5HnKGOE57lUH24IN1JRLmlPuDyYBa9Xw7iuOOpNdJoQCGWjuQs+d3jG3fM+kp+w6GXaHL/IEG6zDIjLZJoGBl4tMIhZMh3klUUiZmmRj9z1iHiaJFY4Na3UydUvHNPgpvXVYkOSrA3ZviVQ6vXEbDbkZIWhds29B0XwurJOrOQByw5bw+rdqGV1giGzeXIaNo4RWvLYghASMPGSfuG79VhwxGLRtm7ivBScj0PKwoWp0cGJaQYIX8CXJl50/iQInnNh3Yqlawe06nRrwf9HAemjobAivCw8g6UI1TyYwJaVq/PfZEG+F1xDITRIBl83AcPV+CAlrZE4tKz5AyU9QJ+KNXcp1BmJ0yRPWu58CnrQAy1RRGtRvaYODH//o3bAg8g5Gwr990iKrj+s+ZWYFLmo/sM0DCmiiZcYUzJ7s09jZxlRwJXGSkeWKHRpyKVsVxMLD37tS1l0HqhsLlP5nxaEg== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(136003)(39860400002)(396003)(376002)(346002)(36840700001)(46966006)(7696005)(55016002)(70586007)(8676002)(426003)(186003)(70206006)(16526019)(356005)(6666004)(336012)(4744005)(7636003)(36756003)(8936002)(5660300002)(6286002)(450100002)(4326008)(86362001)(36860700001)(316002)(6636002)(47076005)(54906003)(110136005)(478600001)(2906002)(36906005)(26005)(82310400003)(82740400003)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2021 02:33:09.5583 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1fbcb4ce-a0c2-4c36-850d-08d940ef8f6e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT064.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB2525 Subject: [dpdk-stable] [PATCH 1/2] net/mlx5: fix missing RSS expandable items 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" Some RSS expandable items are missing which leads to the expanded rte flow rules with wrong patterns. Fix by adding missed items. Fixes: d91093b9a2af ("net/mlx5: fix RSS pattern expansion") Cc: stable@dpdk.org Signed-off-by: Xiaoyu Min --- drivers/net/mlx5/mlx5_flow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 987fc66205..1b682ac8ed 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -132,6 +132,8 @@ mlx5_flow_is_rss_expandable_item(const struct rte_flow_item *item) case RTE_FLOW_ITEM_TYPE_GRE: case RTE_FLOW_ITEM_TYPE_GENEVE: case RTE_FLOW_ITEM_TYPE_MPLS: + case RTE_FLOW_ITEM_TYPE_VXLAN_GPE: + case RTE_FLOW_ITEM_TYPE_GRE_KEY: return true; default: break; -- 2.32.0