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 D8C54A0353 for ; Tue, 1 Mar 2022 16:19:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E3AB42714; Tue, 1 Mar 2022 16:19:27 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2088.outbound.protection.outlook.com [40.107.212.88]) by mails.dpdk.org (Postfix) with ESMTP id 2AECE4067B; Tue, 1 Mar 2022 16:19:25 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fwWpWahHHUjv8y5aELMXpUOkzHH9RqPKNFfhkg8BxIc70AeSzSTjafbOqFEuUHqbCelYYL0+jIBrrSdIaspvmA+AKEGUV78N749wb7cUAH3dSAi6OLYDBNFg4B7GgTEdfrDl0pRiwD6aGVcmib8bmkllP4O9MWzOvlW6TtHDgAyfGDvW3fWfkQM8o8YcAHDpKRk9SynNRC2pOn1o/Bczl9+CgGPvju8DRLkmPeIrBV/+AZ2X1/vPClRPygtqimnj3E8n3glnXDi2ahIyHtjMcppz3b7x/DIM8e5Qsgh700OFcsFTxKCJ1XKgmWmS6ATS55vSIiCptYaIgBu4u3us+g== 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=0IrXjJBuvIBP3VtZ9ChuwnUkk0TbP4FBvk3b/Dp/sxw=; b=hiDB6co0467iSAxJWGKvgqLKmPAYzuqLOsSkUOmvgxUjr1OjdzoYSxdNdSbsui59v5NnMBGxfmmWClGar6FeJpZq6qGT15coReH5syo/kTNKFpyRV+IMvcQ8h9meHT9HxxQV4HfQ1+ZvELp1QcGRLksbSJ3SRfwryrVAQESQ9/lBf6kk7pn0/wdMR+pfni8GOf6KQzInXSYr4cZFRaett3I7GwUkRKNBZVz+tg+amW4SIb/AtC2NomWsdGQWJnoACS85t8fWLjBAd7wwkgvCEqNXG1HwvNEufadYSGN5w9XQCtmHSJFUTsN19ETExIKGGAIamOMk8Tzvi1aUKrNM0A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.235) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject 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=0IrXjJBuvIBP3VtZ9ChuwnUkk0TbP4FBvk3b/Dp/sxw=; b=Dauq3wR+8WgRyXerUjWaMrT6UaQXduQxlVa1MoKFY8cp0QW7q1GmGew0ULgdVEush2JOZdoRBYxI4lOqP7yY4p4IDLacSvVf+Tv7k4kgLQBkZ34Rhe343D2IldkmTS9FN2jlC81QEE8AtZe71HPDbh4s/R/KeDw3XPxG+EkGLae4GgguhRVelJFAn5Nst1NkqMIxV6edMj6BK4PmCtHXemDXURRnJEFjRztVHIL3hdgrObZjUuyWswTMKWh7Q4xXh6k3yUVS/6Z8LM4f4ZQpsg7yqHCiUriT0dFOUeKbyfv+zZZmihMcYhoj9agSRKcbVrt8rbqqi7feE8b1H7euRg== Received: from BN9PR03CA0289.namprd03.prod.outlook.com (2603:10b6:408:f5::24) by DM5PR12MB1948.namprd12.prod.outlook.com (2603:10b6:3:10d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.26; Tue, 1 Mar 2022 15:19:23 +0000 Received: from BN8NAM11FT033.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f5:cafe::e5) by BN9PR03CA0289.outlook.office365.com (2603:10b6:408:f5::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14 via Frontend Transport; Tue, 1 Mar 2022 15:19:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.235) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 12.22.5.235 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.235; helo=mail.nvidia.com; Received: from mail.nvidia.com (12.22.5.235) by BN8NAM11FT033.mail.protection.outlook.com (10.13.177.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5017.22 via Frontend Transport; Tue, 1 Mar 2022 15:19:22 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 1 Mar 2022 15:19:21 +0000 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.9; Tue, 1 Mar 2022 07:19:18 -0800 From: Gregory Etelson To: CC: , , , , Viacheslav Ovsiienko Subject: [PATCH 2/2] net/mlx5: fix INET IPIP protocol type Date: Tue, 1 Mar 2022 17:18:56 +0200 Message-ID: <20220301151856.17341-2-getelson@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220301151856.17341-1-getelson@nvidia.com> References: <20220301151856.17341-1-getelson@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 07508412-7fef-469c-5b98-08d9fb96dd84 X-MS-TrafficTypeDiagnostic: DM5PR12MB1948:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 43ik1N1lcxIvvnG1ugVldwDAIeVwVyyWOLjt1A7OOKLjpPupTeYmJYvcVCLJSk3PsAPGy3nkkU6qje2zibuY+AOPoWopTRDwx5gNw8KP10KNjkwY5kyk4fLfs0DNs1Vi+YLslXww8aqnlPsLFPNCpbKCIfyOfd1UKT5Zb52lmV3Xak/tPjC8eKAfY1Efxw1XgWeE8+tp1WnmTws0GFHJIijOOYTn1z8cvMdjA9O9pmK0X6CcxX2of5fnDVv2pz05JkaUCZIbhQuIxZQoLcm0Gz9UPAJPMMsr3mVHPadBOkhjhdAEmO7vOXSMGmUYfe5pq83gZO/r+47/PBPbko/mafCvUfoQy0poT3sfuQd2L76pBUiOZlxkD53O7uGLOrk+mpRy0Qm4/oiKgP08GzHpSBs6370388U6HFIw6nNRcvzfQbHu4yBkQmYFH/KOKR4CAvG+azgkck71OK5mbCCXiOUSfa2M+Ku/ezRurH4vIVYODCPTZLrSRAxsgIR/Dj/muFYyW+muoFEWNLDdrSXlfcAN2kPYBlRX0EESYEYbP9R4bTvhSMOBaYQ8tQMjY/AytfE+OcnDiVYQ7XYZ7zfiP1I7Xcp0JwvkDjc9nhPjovD2v2+lgjurUhP3lWxo+OrfAQybaFHZWgGOFjYrG5naJkewZMHnSAbi3BdsK0I3uTXxeCi2d6FLat7/0jfcpx2lh/K8rIaKDvQBYU2o+N1lEg== X-Forefront-Antispam-Report: CIP:12.22.5.235; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230001)(4636009)(36840700001)(40470700004)(46966006)(6916009)(316002)(6666004)(7696005)(86362001)(6286002)(83380400001)(5660300002)(2906002)(450100002)(70206006)(82310400004)(4326008)(8676002)(40460700003)(70586007)(47076005)(36860700001)(55016003)(186003)(26005)(336012)(426003)(1076003)(356005)(81166007)(2616005)(16526019)(508600001)(107886003)(8936002)(54906003)(4744005)(36756003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2022 15:19:22.8022 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 07508412-7fef-469c-5b98-08d9fb96dd84 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.235]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT033.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1948 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 Fix typo in INET IPIP protocol macro. Cc: stable@dpdk.org Fixes: f3f1f576f438 ("net/mlx5: fix RSS expansion with explicit next protocol") Signed-off-by: Gregory Etelson Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_flow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 0d774cfd19..efb988a9bb 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -208,7 +208,7 @@ mlx5_inet_proto_to_item_type(uint8_t proto_spec, uint8_t proto_mask) case IPPROTO_TCP: type = RTE_FLOW_ITEM_TYPE_TCP; break; - case IPPROTO_IP: + case IPPROTO_IPIP: type = RTE_FLOW_ITEM_TYPE_IPV4; break; case IPPROTO_IPV6: -- 2.34.1