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 74F44A00E6 for ; Tue, 6 Aug 2019 18:05:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C3A911B945; Tue, 6 Aug 2019 18:05:26 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80051.outbound.protection.outlook.com [40.107.8.51]) by dpdk.org (Postfix) with ESMTP id DB936378B; Tue, 6 Aug 2019 18:05:24 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TVm73u9JXAzCZjgoXPzL5YsnZepSgpqkrLFE6us6Nf6WUwvNUNHD15DaWm/0c6WD0Fvp5b1yc7VRZdu4Q5TkD6VMd+HDhmFgh92pxEoRyMvBJz50cgioHPCiE3pocVQw2NCPla5FucgN34e0dxx4s4+YrQs97ZBcW5/ql5IR0HJpYk089NMxdmFD4N/uhJ+2aHsHQd0sRAKc2N17KHrOnNTZf9KhQqtGinB0EJ/i8tFPzuU/99hu7nF3LAWpjsjXWfpVdK6NvUcZDnMyE4wfh8D2e6Et0XGfA8e1EDbXyhFvEovpwsMGe/KJDCdd3pFRO2PdAVY3Nq9CiwiJK+RoQA== 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=fJe7vDWj98merM5VtJNoyUeYo8Rh9BqHI/M1FVTpV68=; b=JT82dwkTZc5xfUM9exzCvZPRcXNLDIbxWgWM2I0aBKLJ0QoUVIyEEVz2lOqE4g7WZCB9XpniaNhzIidCEtIr/nXOvUQlYKWAWs7vRk51tVAPljNrjdaNabmlIEHe4PFxGmrxxO2nrgtmVmDOJRQn3Lnf4l9WEGnKCz4Erp5NupCaHp/v7WuCc07SBYz6gz3SSEC+cByhnRwFvrnQAvlw41ljCCyzJXgP2FBkySARtz8E7IVSpuCrlcWkmv8Rry/ELFEUjPx1OIe9rVQ0on6LsOTY8U+rHfxhHkuASTTYgfSAu/QbFJih7VsG86FEK/iFmDMqd9nOcarGVNqX6pwg8A== 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=fJe7vDWj98merM5VtJNoyUeYo8Rh9BqHI/M1FVTpV68=; b=ND/lkqCx+TkM+Fa4Se/HYAxIeM1S/Q6Rd2/i2KZ5kyOWgiHc+impkFnZd5yOn8Xc1stdNCAV3h++wJ0ppymAuKKkajWfr6OBqVo9qVMmyQLYsQmDCnGDGupHXvoLPdVsGhx3oouHbdfwTK53e6ZHmixilVm0wLviD50XjEsMEP0= Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com (52.134.65.161) by DB3PR0502MB3962.eurprd05.prod.outlook.com (52.134.67.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.17; Tue, 6 Aug 2019 16:05:23 +0000 Received: from DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::b4f2:f531:d3ff:b7e3]) by DB3PR0502MB3964.eurprd05.prod.outlook.com ([fe80::b4f2:f531:d3ff:b7e3%5]) with mapi id 15.20.2136.018; Tue, 6 Aug 2019 16:05:23 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Yongseok Koh , Shahaf Shuler , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: fix memory event callback list Thread-Index: AQHVTGe6fUWOgjF37kae4RGGlUNsVKbuQoYg Date: Tue, 6 Aug 2019 16:05:23 +0000 Message-ID: References: <1565103633-7548-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1565103633-7548-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=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 01232992-4c5d-454b-cf84-08d71a87e38e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DB3PR0502MB3962; x-ms-traffictypediagnostic: DB3PR0502MB3962: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0121F24F22 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(39860400002)(376002)(366004)(396003)(346002)(13464003)(199004)(189003)(486006)(476003)(71190400001)(33656002)(2906002)(25786009)(8936002)(446003)(6116002)(450100002)(68736007)(256004)(4326008)(11346002)(71200400001)(3846002)(14454004)(86362001)(14444005)(186003)(26005)(478600001)(66946007)(66476007)(66556008)(64756008)(66446008)(76116006)(53936002)(55016002)(99286004)(9686003)(316002)(54906003)(110136005)(6246003)(6506007)(76176011)(102836004)(6436002)(229853002)(66066001)(53546011)(7736002)(305945005)(74316002)(4744005)(52536014)(2501003)(81166006)(81156014)(5660300002)(7696005)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB3962; H:DB3PR0502MB3964.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: B0SodXzC5o4weH7AF1re2JLD4wCkoKlDquFMM2mwBOQnwoM1kZ9yRjIb5AuJOV9XSnbm8/zvFR4is2SZGCm0vL+lgHgXq31PGazLCm8Z+jxFJcJRHF4OrgCBPoLuieYlZChZHK805HaOyRC71r/jQWaXUe+7dDdp1giS7/YYxk8+Pzusqq2MP7M4YZXnH5A1Hl9Gk3uYU92wGYLClnJ/Qr6wG+OyGKruJYV+KbunSyEmj7Oc6upUTLKq8dwK+39m91Axk0TJX0uFYtgKkj06nR/SnEALd2jnWKUktlEOnnmDbK++Bu9wI09MRdXHKYRdQbvwp+niyhue8queAQKE05H1Tg+I/krhonz/txn3Z15l3EbG2vbZNc9LhJ20iNI025t0D9x6i9LRl/lEcuuB4IyjNqdoUbUMDiSoLh39AMQ= 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: 01232992-4c5d-454b-cf84-08d71a87e38e X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Aug 2019 16:05:23.5239 (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: rasland@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB3962 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix memory event callback list 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 Viacheslav Ovsiienko > Sent: Tuesday, August 6, 2019 6:01 PM > To: dev@dpdk.org > Cc: Yongseok Koh ; Shahaf Shuler > ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix memory event callback list >=20 > The shared Infiniband device context should be included into memory event > callback list only once on context creation, and removed from the list on= ly > once on context destroying. > Multiple insertions of the same object caused the infinite loop on the li= st > processing. >=20 > Fixes: ccb3815346e6 ("net/mlx5: update memory event callback for shared > context") > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko > --- > drivers/net/mlx5/mlx5.c | 21 +++++++++++---------- > 1 file changed, 11 insertions(+), 10 deletions(-) >=20 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh