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 123D5A046B for ; Thu, 22 Aug 2019 12:36:35 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2C4341BF62; Thu, 22 Aug 2019 12:36:34 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10045.outbound.protection.outlook.com [40.107.1.45]) by dpdk.org (Postfix) with ESMTP id 697531BF60 for ; Thu, 22 Aug 2019 12:36:32 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yi+l3KtLGHFnyTPjOFaWzG06ItTy00y5+AxIWaixDz+crfIE1jE0Syi8rV0+Auoi7Wz3PmLHoWxYKIwSjpsUW+jIcFPI1qH2cQdYP6YHqmIchTTfKMvGjZyzQ82y6ZoJnCWNWgt5Z816nZr81WpkubKkeGgUrxDHewVjtcB9f4R1VEUBCTV6vTOjQhRgLVFNJ8XKXBuELo5opy2T7Bcx8hEU1m1WdvEK9MwJbrtfRuPnZ4yF5YXEllk8/wFqvDX4aLaw2QPTqkvTCSD6jv3dOXqzUrNxJsnkj9m0LoOVxzFHhZ8aUmfI9mG9Iyp5GHyp+a9VBwPOPcMJc/elIu9f2g== 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=YdsMi0WlFZlB0dtEy+cdd6rjnlUWD5unD0bx6Pw5n1A=; b=BNYaSDRcwCuXynciTu3hfWFSrwCJy+KQtj1zuBZbsCItwScyY8GpyZXJYBM7jYC9giu/Y8fJkGxYCXg+8CGKkMMBqOyJ4PD3qUzRdHwXn3qBgELN1Lq4BUSxyLPeiqxO0JpHmhapw3lTACV9NMHDSfqJCegMy5JBNWDkjeji7ZaGcwvt9qN9QvYcvuS1vTgzW27aHf5OUTXpCi6wHPaZwan35DSiudky9gJwqFyrVq9xMrX5Kdb6ekQFd95zGdRv4AtJBTXnTzP3YHLzONL0qeIlxAYpN3Fohgj4+9vwjMrou5uuanTb5Z0q7oOt6Av6zdMIxP6ehN26tBN8w6fSrA== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YdsMi0WlFZlB0dtEy+cdd6rjnlUWD5unD0bx6Pw5n1A=; b=lFf7m+iZFE+04hCyYawlRr7bJJoNgIDkA0kokFHyxgUKk8NYOsDH5YMGJScwHm7+GynlmQseL1ywORS1FGRmkoYaZJcRj1UH7CXyk2t/tdU8/9fnkmPt4adRLbIlpJgrC3OCGfMjK7U6xPsaSOSvapue7kd/Y9KGPee082I2JYw= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB4092.eurprd05.prod.outlook.com (52.134.73.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.16; Thu, 22 Aug 2019 10:36:29 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::3d63:874d:cafe:4e09]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::3d63:874d:cafe:4e09%6]) with mapi id 15.20.2178.020; Thu, 22 Aug 2019 10:36:29 +0000 From: Raslan Darawsheh To: Jack Min , Shahaf Shuler , Yongseok Koh , Slava Ovsiienko CC: "dev@dpdk.org" , Dekel Peled Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: raw encap data cannot be empty Thread-Index: AQHVVzxIRHAwgDbF8EG9uYT4yw6ZJ6cG/E6A Date: Thu, 22 Aug 2019 10:36:29 +0000 Message-ID: References: <160a20882b4d79a7e52645095bfdcff4f64c1724.1566294175.git.jackmin@mellanox.com> In-Reply-To: <160a20882b4d79a7e52645095bfdcff4f64c1724.1566294175.git.jackmin@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 823304ec-e294-4ad1-2e15-08d726ec97e7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600166)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:DB3PR0502MB4092; x-ms-traffictypediagnostic: DB3PR0502MB4092: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 01371B902F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(366004)(39860400002)(376002)(136003)(396003)(13464003)(189003)(199004)(256004)(2906002)(25786009)(14454004)(6246003)(4326008)(476003)(55016002)(6636002)(71200400001)(186003)(71190400001)(107886003)(86362001)(33656002)(11346002)(446003)(4744005)(52536014)(5660300002)(478600001)(486006)(66946007)(76116006)(64756008)(54906003)(6116002)(53546011)(6506007)(74316002)(229853002)(305945005)(7696005)(7736002)(99286004)(110136005)(6436002)(9686003)(8676002)(53936002)(8936002)(102836004)(66446008)(66556008)(66066001)(3846002)(81156014)(316002)(81166006)(26005)(66476007)(76176011); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4092; H:DB3PR0502MB3964.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-message-info: +DbgenUck+I9FNynDszRgOFR3+FZcISU6wJu2dM94m3atCXMBCSFVafpsOwXQoslUr7ZR3lMxGOs4vrAcvH/icnJus1I4KQyGy9vaSFohdwX3AM8bDHoABxqCf+WiL0cyZzIt5tjVdRdG7OPJZGFXoTEBEW2yTtf3rngVvuMWscDtfOf1nRuaikBXaWDJcFlovf9LvKLLg5BHw7MA8PJ6kJN9L2GIpRZVTVswAcdhVYHxwkIEmvlP0mFNbhn7sFbmN6MPdZ/DUXV1PmsMN1JmiTBVDEPeX9NKh5Z/ReIPqvVQ53AlUMHmfjCqDd9Rjd7lvR23zwoOBQEBOKdHUkqaaB56+9a7rzpgFEg04X4t0hPlGUs1CGLKcvUnhjl4B8uLx8Tpn/ujx08QnzUMBMsc6/A/XCcQp7rJVNEukFpIvA= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 823304ec-e294-4ad1-2e15-08d726ec97e7 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Aug 2019 10:36:29.6843 (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: LTlfGESStIy5J+o/VjhEWhsEIG9/x7JJrkoGbvzqwxYeJDSHrgpW1DrXulS0xl1TxqYAXDQurySEoI3qQHM7lg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4092 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: raw encap data cannot be empty X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hi, > -----Original Message----- > From: dev On Behalf Of Xiaoyu Min > Sent: Tuesday, August 20, 2019 12:47 PM > To: Shahaf Shuler ; Yongseok Koh > ; Slava Ovsiienko > Cc: dev@dpdk.org; Dekel Peled > Subject: [dpdk-dev] [PATCH] net/mlx5: raw encap data cannot be empty >=20 > For the rte_flow_action_raw_encap, the header defination for > encapsulation must be available, otherwise it will lead to crash on some > OFED versions and logically it should be rejected. >=20 > Fixes: 8ba9eee4ce32 ("net/mlx5: add raw data encap/decap to Direct Verbs"= ) > Cc: dekelp@mellanox.com >=20 > Signed-off-by: Xiaoyu Min > --- Patch applied to next-net-mlx, Kindest regards Raslan Darawsheh