From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00081.outbound.protection.outlook.com [40.107.0.81]) by dpdk.org (Postfix) with ESMTP id 1A0334C80 for ; Thu, 15 Nov 2018 09:49:51 +0100 (CET) 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=kOF+1D+czvNIm1W7lckD34Yje+kEAP2U/hqEhOMKsU0=; b=unIxm3LDo0ImLqf94rwusvqOM8aRmuYlS+e9ZKhG9clLn2Ovs+5wIi+oZMCoWaTtvyDSxoctTzn/mDzWnweo3jt/b4gvuaBzwtDgJr33uJzL8bZXF6MWCjYffWswAKux5CkLpJwZQtOx2ZrzeIssZb1Hyxb942xiZZDXNs44QoA= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB6172.eurprd05.prod.outlook.com (20.178.107.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.20; Thu, 15 Nov 2018 08:49:50 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::bc22:c2f5:208d:826f]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::bc22:c2f5:208d:826f%2]) with mapi id 15.20.1294.045; Thu, 15 Nov 2018 08:49:49 +0000 From: Shahaf Shuler To: Slava Ovsiienko CC: "dev@dpdk.org" , Viacheslav Ovsiienko , Mordechay Haimovsky Thread-Topic: [PATCH] net/mlx5: fix flow query routine in Direct Verbs Thread-Index: AQHUfCCPUIupLtoQlUi8Cx5UeW/nmqVQh/JQ Date: Thu, 15 Nov 2018 08:49:49 +0000 Message-ID: References: <1542203224-11936-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1542203224-11936-1-git-send-email-viacheslavo@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=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB6172; 6:t0yTFVxdSBjPZRe4TmdvzULw+aLzafPHHcJZ7um0J3SGVwo9J3Ew8ToGhUqnKdD2FkXQl97XIglMjpiaeTOPw265BEjiSOoPOj7MKSOnZ+Q6wBFCpX939aFNbfheMzevobumC3mFF34DGeUL/rZ0vErQGV3etU45JXXh588DfrW7qlFcHDFYdOFW82eME4rAoOpnUxNjAIHm4Dk9GbeI1JB4DhyIu4EVazRi+HTLDxckjvZLYmuxsMH6LKp9oy1lMRjSjBftCfREuXpq0rIlgsaddC3LwUuY/heOn7m23EGajZ64VJoXnvyCTuh5dnpyZNLtOGJ+hzKgbs7/HzJ5Ru7i7Gof5SyPVeUVXGyndQtywqXwfjyhIEtBvghN1qkkqKZ4jR7oKCS7b4ogkWi5l+N+v3XZ5QVeI7jrlObmGCs/tzdWjZnXyps+1+6qWoLLR48lkc1y40Kin2aNDwxXtA==; 5:eLO3xpa54215Gf1U0B4mM8OjSJwp2VSdXjpE6Cy5EMVUIEbHhD2jIzUpcUz3sBADt2sbMVTn/5TXeowZke7fIxhpLeXmx/4Rb2o0N6s2V2K5mh9qtjQv0gB2n5VLfA/zzDoMSkufml1mQWre/cb23zUqfnyMK+vKKrfO5RiWtUA=; 7:yMqJamrQt+Th5c/FfiTk40X5zSCYGQzEUYMOUKvkzb8u1C4efvoIjGtwb38TJO+LhDyWyYephBuenYog11V5XoF+CWH1G9W8OvbXa3ReeFATMeSDYoi3jeUBWlPEZX/B4kmbwdu8OrbPMR4RyCLbuQ== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: b9798181-440b-41ce-37a2-08d64ad74d5f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB6172; x-ms-traffictypediagnostic: DB7PR05MB6172: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(3231415)(944501410)(52105112)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:DB7PR05MB6172; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB6172; x-forefront-prvs: 08572BD77F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(396003)(376002)(136003)(346002)(199004)(189003)(97736004)(7696005)(316002)(6636002)(54906003)(229853002)(33656002)(99286004)(68736007)(4326008)(71200400001)(86362001)(102836004)(6862004)(26005)(71190400001)(2900100001)(6506007)(53936002)(76176011)(107886003)(6246003)(6436002)(486006)(478600001)(6116002)(14454004)(3846002)(305945005)(74316002)(5660300001)(106356001)(446003)(55016002)(11346002)(186003)(25786009)(7736002)(476003)(66066001)(8936002)(9686003)(256004)(8676002)(81166006)(105586002)(81156014)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB6172; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 2nnBX71ewM3AJGkaEt0OA2Ti5RPonmgdHoTOB3lnQeA92uHsSAMosJcBBsdnVQFFymj+mhk9vdpcQMRjP9qlZH738x5JbZXh5TmaGzWnfkPQWvvpPuult1eMJDLdCTrdd4UXgIarGjaa8Cl/dPdetfhMG6zh0KPzLpRq97Fvc+kMBkko/oFFtHYKF+Q1lIHleDklzgLEQT1+wvEFzLHyLaucF+aaWIMaPzXxOTBKp/x7TmHUyVZyjWvZH6lNDyvO6OP59SjWn8wUaMjM/ONkayr8M1hU+zM1IoTzbfW2PwFhpaZ00kHJjaqtVwtgC/LxEyKTMGyEn0IXfxWHozNLMKJo52uueT+kSgA7G/YmtX0= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM 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: b9798181-440b-41ce-37a2-08d64ad74d5f X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Nov 2018 08:49:49.5076 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB6172 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix flow query routine in Direct Verbs 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: , X-List-Received-Date: Thu, 15 Nov 2018 08:49:51 -0000 Wednesday, November 14, 2018 3:47 PM, Slava Ovsiienko: > Subject: [PATCH] net/mlx5: fix flow query routine in Direct Verbs >=20 > From: Viacheslav Ovsiienko viacheslavo@mellanox.com> >=20 > The flow_dv_query() just returns -ENOTSUP value and does not set provided > error parameter structure, that crashes the port_flow_query(). The patch > fixes flow_db_query(), now it sets an error parameter structure. >=20 > Fixes: 684dafe795d0 ("net/mlx5: add flow query abstraction interface") > Cc: Moti Haimovsky >=20 > Signed-off-by: Viacheslav Ovsiienko Applied to next-net-mlx, thanks.=20