From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 85641A04C1; Fri, 22 Nov 2019 02:29:56 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E3FE22BAF; Fri, 22 Nov 2019 02:29:54 +0100 (CET) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60083.outbound.protection.outlook.com [40.107.6.83]) by dpdk.org (Postfix) with ESMTP id 9DC47237; Fri, 22 Nov 2019 02:29:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZqoxA1ntB6U2p6DFI/nxVKP1SuUq8oGMX7Uq1ZQTMMyhou+aAMovprqpAn5oEPW2c2CdPOak7T7k11GYgvjf1n/XBFs+m2f4PplM6t5p08jZk3kNRjfw2vF3q2vXfw5BmjwpzVw1AzXTz4D0F34ESbb1BFl6fYVetx1OWtSoDUvcWvrQdgGOFV5IKUFiYXDK9m0U7N5uAWyqymsudulfOEOhJo238DMVWfH9ExVeEIsPVxdl8JslUSH7ozqgQkwm13x0JZn60f5EFH8nGg345oeuWq7Xi8qzBvzGFVTbCSSXBry4+lwx3TZbmykRpLqid66IXt/qukQYkedBi5yf2A== 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=8DXUD0RU/otoi58OXQoi3NwzbSoCLP2BIJw9Q6dzfq0=; b=PvizO4qOK02z/Utof9ogXyPo3BXEoCcbEwzYJns/1PuhKp/nyTSq+wLPlQIIvN6QEtmuttRHTTdx7jI02VRU7rvyYbIp8S8VxfaQLSNtygXvWT23C/z8+z2oUHfdLVImgd6IL0RWipfRApQecSYoP7tD08UBEpWQs7d6jU2QEWrC8trnCTLbw6qoWoM/v9en3teLQGEr3cDtTtrkZiadpR8gKWHzgX/5yn1CTtcyoRRY3gY2Ci8iA5oe/cNSLU/3bEQCo84OrtnH1oyUehsSvgbK7wraJwNvQEmpNn1YJnDlrAXd3FDci/QuEK3077Zef9WlBmUNKdVFF3JqUl9z9A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8DXUD0RU/otoi58OXQoi3NwzbSoCLP2BIJw9Q6dzfq0=; b=KWxawryoQBP3OWjhmR8qXHpT485giGuLkY3kFUT5Pqky0SXtcf0v4PRFgdOy8ISywSWY61ti2hhIlGwRmWLQe8QSwNpzKAa2a0UuGJxGRzxO1KMCWgf7vtoivEIcBtxpE8c3x53o3ZJKiIcnXYC0Sozf5oCdOT6B2Nw25rQ7Fu8= Received: from HE1PR05MB3484.eurprd05.prod.outlook.com (10.170.246.12) by HE1PR05MB3196.eurprd05.prod.outlook.com (10.170.244.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.17; Fri, 22 Nov 2019 01:29:50 +0000 Received: from HE1PR05MB3484.eurprd05.prod.outlook.com ([fe80::a9be:aeac:1af4:cfe]) by HE1PR05MB3484.eurprd05.prod.outlook.com ([fe80::a9be:aeac:1af4:cfe%5]) with mapi id 15.20.2451.031; Fri, 22 Nov 2019 01:29:50 +0000 From: Suanming Mou To: "dev@dpdk.org" , Matan Azrad , Slava Ovsiienko CC: Dekel Peled , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] net/mlx5: fix incorrect L3/L4 layer chosen with tunnel Thread-Index: AQHVoNRQ/9B8RN5GuUO9z1V+bq9Zow== Date: Fri, 22 Nov 2019 01:29:50 +0000 Message-ID: <3597794d-31aa-80c3-7c24-7fc33e33eb14@mellanox.com> References: <1574307071-152513-1-git-send-email-suanmingm@mellanox.com> <1574338170-167657-1-git-send-email-suanmingm@mellanox.com> In-Reply-To: <1574338170-167657-1-git-send-email-suanmingm@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK2PR03CA0060.apcprd03.prod.outlook.com (2603:1096:202:17::30) To HE1PR05MB3484.eurprd05.prod.outlook.com (2603:10a6:7:2f::12) authentication-results: spf=none (sender IP is ) smtp.mailfrom=suanmingm@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [60.176.162.220] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 78386438-a2f3-4daf-069c-08d76eeb77ad x-ms-traffictypediagnostic: HE1PR05MB3196:|HE1PR05MB3196: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 02296943FF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(396003)(376002)(346002)(39860400002)(136003)(189003)(199004)(36756003)(6246003)(6636002)(6436002)(8676002)(2906002)(25786009)(81166006)(6486002)(102836004)(71190400001)(81156014)(76176011)(71200400001)(316002)(8936002)(110136005)(53546011)(6506007)(386003)(54906003)(99286004)(52116002)(11346002)(2616005)(450100002)(446003)(7736002)(64756008)(4326008)(66556008)(186003)(305945005)(5660300002)(229853002)(66446008)(66476007)(86362001)(2501003)(31686004)(31696002)(478600001)(14454004)(26005)(66066001)(66946007)(6116002)(6512007)(14444005)(256004)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR05MB3196; H:HE1PR05MB3484.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oiv9h2o2klfdFy7g5nfWDJ5eq642znjoEUq8p6WMnXg+/dpTIj8G2jjOl5oEh8TCFyy1SfUHSA3o5BfjMfFMJt+fZePJPuDt4Pf5I8gdw4y2WESNbjTtMpKezSpuRMZ327LKAaF6nHo5MknWVj5kWJroDOmnFphTbdcQZlBck+2jndPgPMO68nio3ErNAXIqgrmqAy9DMdkIZUxNBP4X9BrXH+JANmmUmKHyUN+1OYaVjBpw7IyIp5JVbvdLkH6FiDytOaIxi3/W5On72/l4OwtekDiSeDzorr5f1DIvTBVKn7vw+JXCsPoZNyuQDyJTJgDPe3g3AQbeOi61eEKlDyjxUUJ+k2CqakRL3TstoRplseA1sI+zsw0BXiD2pAxvZDDNey/kZbfVwrgor+NrKkFEbWir8vt91/FzRnXsDxtkg+HpzfGGrFjWqKua/WVT Content-Type: text/plain; charset="utf-8" Content-ID: <38ED234F4D4D8B438F247701093DAED3@eurprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78386438-a2f3-4daf-069c-08d76eeb77ad X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2019 01:29:50.4040 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: N8IC3cN/lRdtGq8UvLGY6X30YccqDwFqR6I4ucFuBNn28H+8K53g+BctMhgYHxPmniZAoXbQISQsGZnERYnf9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR05MB3196 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: fix incorrect L3/L4 layer chosen with tunnel X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and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