From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0043.outbound.protection.outlook.com [104.47.2.43]) by dpdk.org (Postfix) with ESMTP id 1E6EC91 for ; Tue, 6 Nov 2018 20:03:33 +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=W0+hc+jJFWFjdaFZvPgv6ULxDEZS2VnwX5iy9xjL7II=; b=BCPjzsf7YHv0AKX12P/CFr5fSOAljBK7VZXmVvmWuRieR5ldvqYM5PjFF4fad2oe/K5p9VbIbmA4urTHc/9pa+7MsQIYGK73g7WkwR7CPBIZqf8KZUg6+aIYrSajjjB/PB6uL7yvrV0DBUkV7HeCSr32HGPoPHqauEX7Ay7nFS4= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB5544.eurprd05.prod.outlook.com (20.177.193.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.35; Tue, 6 Nov 2018 19:03:31 +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.034; Tue, 6 Nov 2018 19:03:31 +0000 From: Shahaf Shuler To: Yongseok Koh CC: "dev@dpdk.org" , Ori Kam Thread-Topic: [PATCH] net/mlx5: fix misuse of device flow reference Thread-Index: AQHUdaRRvLAVttdcpEqUWUed/S5kVqVDG3BQ Date: Tue, 6 Nov 2018 19:03:31 +0000 Message-ID: References: <20181106074237.484-1-yskoh@mellanox.com> In-Reply-To: <20181106074237.484-1-yskoh@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; DB7PR05MB5544; 6:raPAvw9ThycGAI23/tw6UIbODeEWwsevx8fZQSvPgPts4yZjffU1q/6sJd3SvxxsI6DFWzHiJfQtyg5Exf4BN6Sxa+2QW3hB08O6FhQe/CUYR56uVcEfymijXJaghvIquankX/cBofkqLHkfr8jwww5P5CwCHsJN5jchJkYvYIkDA5wfelFyxLY08TBm1DWAK5DFV80wtSAUkddhEnLspLhYkJUQYcQCWSF0dtJo7aO8verzteT1s7/0J34zwY33pKZGU64M0y/dQqIabfKX6EHUHBWjdqyOpbNKbNqE1oFF+dSAX7oa+yKHhBCp2+hUEiX4GxUen7TapyV7bfMfBMBES4fF1GIoGbMBuavTUidzTm/fZPdyE4sNMg8iTCKvaXa8o0ie5mUUzX34xJFFr1LwZqDFnJlIABvsfgeRvE6Y50rGF+tnLBgnKEu8Zsp/jhdX7mDpMOZOi+528DA5Aw==; 5:Xvo4G2/dxehx4UET9ukDAIqd9Dl6yc0pcO0L3qcJlkdYqleoSq4s6+FgraMGkOQJUNzl8WqeJbHmWqu6+n9rwVAGE9RD+bjQejtPS19xbt8FdOdaAM85j/EG3FXE2C+WuXTIIW8W/R6HHI64mctxYyyre5hVmTH3hrE8/GH3Xfg=; 7:i2CgtcvTOJVtds5M0uEftpeXA4mIMNGjz1Ix2q19YtmASa0kkQndu1jnCVCMrQ6gjKeseHNljZenLsMQPACAIX1XwLew3QeLmJxjnIXh9ncFJIFCefaTZhGJByaKgOVGlyBaBzQ6WN5Oxic7p4GiaQ== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: a1aa65fd-b97e-4248-e178-08d6441a8b6a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB5544; x-ms-traffictypediagnostic: DB7PR05MB5544: 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)(5005006)(8121501046)(3231382)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:DB7PR05MB5544; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB5544; x-forefront-prvs: 0848C1A6AA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(396003)(346002)(376002)(366004)(39860400002)(136003)(189003)(199004)(26005)(6636002)(229853002)(54906003)(7736002)(68736007)(305945005)(446003)(102836004)(7696005)(6436002)(5660300001)(86362001)(106356001)(105586002)(55016002)(3846002)(6116002)(9686003)(76176011)(316002)(97736004)(53936002)(74316002)(25786009)(478600001)(71190400001)(71200400001)(66066001)(8936002)(81166006)(6862004)(6506007)(81156014)(186003)(2900100001)(256004)(99286004)(33656002)(14454004)(8676002)(2906002)(6246003)(486006)(4326008)(11346002)(476003)(107886003)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB5544; H:DB7PR05MB4426.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-microsoft-antispam-message-info: sUwTsHg6BlczWECo1bitSe6RUH9dYZ/fEkW/fW6Mg85/6dCVhqSwNCQ1HHY5A37wLhzf7roHB8MWD7hSkoT1dDhF2reJjqnkIJZPog3ykNYUUEfBPH+M80Ugy2gP9ECTzUIvDZ17sztSOVLn2r4F6t4uFINt94dhwESS8bZBfPn24XJXEo/ZKZfWMZSjQKDgonDwZs8un8iRIQ+aEVsiKR+nHiYL1qM/bAYz30vnoAuryK06PPRC5afbVH2mkb+A5/TNRKSrLQEm3AvlCAFrN23iENlWjmI6178UuNAgSWWtmtczUCsoXz2Rm80ATit/SnPYvvcfuYIBFgWDYnzqioBPk6viL+w6x5acsISUdk4= 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: a1aa65fd-b97e-4248-e178-08d6441a8b6a X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Nov 2018 19:03:31.7754 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB5544 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix misuse of device flow reference 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: Tue, 06 Nov 2018 19:03:33 -0000 Tuesday, November 6, 2018 9:43 AM, Yongseok Koh: > Subject: [PATCH] net/mlx5: fix misuse of device flow reference >=20 > dev_flow->verbs is mistakenly used instead of dev_flow->dv. A sanity chec= k > is added for debugging purpose. >=20 > Fixes: fc2c498ccb94 ("net/mlx5: add Direct Verbs translate items") > Cc: orika@mellanox.com >=20 > Signed-off-by: Yongseok Koh Applied to next-net-mlx, thanks.=20