From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0086.outbound.protection.outlook.com [104.47.0.86]) by dpdk.org (Postfix) with ESMTP id A79DF1B026 for ; Thu, 1 Feb 2018 13:50:18 +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; bh=dgCpE+/zO9TG3b2n/WnOkqEq8l9HCwg/iUrC8sk3W3s=; b=Oe7S16vwK1ywIp4YTMVt1nazeVn8DvAXIMobZVA6mHzuEahmSDzPPYR9I/cWwIHhaJh+7z5PTC4+4cNGvcaVQ+5y9hRxA20TyQdlZCz2nHF5dzGRwT/hNmxvgIIG+WSkE7DT0nsDWEnfzKEfbMZ4cKv7BhifAp4F6Ze7M15RNtQ= Received: from VI1PR05MB3149.eurprd05.prod.outlook.com (10.170.237.142) by VI1PR05MB1309.eurprd05.prod.outlook.com (10.162.122.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Thu, 1 Feb 2018 12:50:16 +0000 Received: from VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::cd00:54ee:63a8:937c]) by VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::cd00:54ee:63a8:937c%13]) with mapi id 15.20.0444.016; Thu, 1 Feb 2018 12:50:16 +0000 From: Shahaf Shuler To: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , "Adrien Mazarguil" CC: "dev@dpdk.org" , Yongseok Koh Thread-Topic: [PATCH] net/mlx5: fix port stop by verify flows are still present Thread-Index: AQHTmc9jrfc3y0ywaU6Zy2XXYJNxmKOPglPw Date: Thu, 1 Feb 2018 12:50:15 +0000 Message-ID: References: <332ad9309ce19e728eca93ee1683464e8b6b4012.1517319259.git.nelio.laranjeiro@6wind.com> In-Reply-To: <332ad9309ce19e728eca93ee1683464e8b6b4012.1517319259.git.nelio.laranjeiro@6wind.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.107] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB1309; 7:HZqW/h2htRjrLCTaTsbtECnZHfcmbyiX34Fgg4cHQw+s3UxAaWFwdUEW+siCSs2AlVRPArd6orRipa3WnaIOf3oVmdapQEfa6JE7+DJV8loiHLCW4wG+gRkqnEPXqW+AI2HZoe1mVbzbMeNmPDYbq2gkMrthEmHmdxIu7Tz9UQIksVthH6vzYSCYnup3nYcQbOiEbmPOBKoEmwcocp2naWvPjYXHJZ/yFaHCvjskw36BqOcFOa0CnWlvsyS334xp x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 1dba7cce-8974-4f3f-302e-08d5697257ae x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:VI1PR05MB1309; x-ms-traffictypediagnostic: VI1PR05MB1309: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231101)(2400082)(944501161)(6055026)(6041288)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR05MB1309; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB1309; x-forefront-prvs: 0570F1F193 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(39860400002)(366004)(39380400002)(396003)(199004)(189003)(2900100001)(316002)(55016002)(9686003)(7696005)(74316002)(6116002)(97736004)(53936002)(229853002)(76176011)(33656002)(4326008)(3846002)(7736002)(102836004)(305945005)(6436002)(25786009)(6246003)(99286004)(186003)(478600001)(68736007)(106356001)(6506007)(110136005)(107886003)(8676002)(14454004)(66066001)(2950100002)(81166006)(81156014)(5250100002)(3280700002)(86362001)(8936002)(3660700001)(2906002)(26005)(54906003)(105586002)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB1309; H:VI1PR05MB3149.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: O/GbhRJVGqsDQG7fbd6684V8myKdBQFJfDWV1nYLPj6HnVAGCR1wV85hLmuYuo9T++d8iWEvM5UU2BUae43KKg== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1dba7cce-8974-4f3f-302e-08d5697257ae X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2018 12:50:15.8983 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB1309 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix port stop by verify flows are still present 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, 01 Feb 2018 12:50:18 -0000 Tuesday, January 30, 2018 3:37 PM, Nelio Laranjeiro: > priv_flow_stop() may be called several times, in such situation flows are > already removed from the NIC and thus all associated objects are no prese= nt > in the flow object (ibv_flow, indirections tables, ....). s/indirections/ indirection >=20 > Fixes: 71ee11c83bc4 ("net/mlx5: fix flow stop when flows are already > stopped") Such commit don't exists. Removed it. > Fixes: 8086cf08b2f0 ("net/mlx5: handle RSS hash configuration in RSS flow= ") >=20 > Signed-off-by: Nelio Laranjeiro > --- With above fixes, applied to next-net-mlx. Let me know if you disagree. Thanks.=20