From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80059.outbound.protection.outlook.com [40.107.8.59]) by dpdk.org (Postfix) with ESMTP id 916323237 for ; Sun, 11 Nov 2018 13:41:54 +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=vq6D0/wqHM3wJDAQ6vjh5Q72HRSyjxsYA6tBSvEJuEc=; b=lKOMTd+t7tu68ZeFWK+NnBl+Ch7kfl5Js0tI4jzgttbNzek52NNuHT9e3/Dz9szFuwbIBOHjdo2TaiEEJmRuYGMw0GqHacnK5DgFJtFhcqqp65K2KMLdvqKPL39sgVjUENWprD5PJScrnabHzQAGe2+Rq3VrNA5DESqWvrUhSdg= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB5113.eurprd05.prod.outlook.com (20.177.195.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.21; Sun, 11 Nov 2018 12:41:53 +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.044; Sun, 11 Nov 2018 12:41:53 +0000 From: Shahaf Shuler To: Yongseok Koh , Dekel Peled CC: dev , Ori Kam Thread-Topic: [PATCH] net/mlx5: fix flow director add and delete Thread-Index: AQHUd7AgK0bQ9ou0Y0+lJnMWXEKWQ6VKghyQ Date: Sun, 11 Nov 2018 12:41:53 +0000 Message-ID: References: <1541712585-5768-1-git-send-email-dekelp@mellanox.com> In-Reply-To: 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: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB5113; 6:qd09LkEotGfe3r+t6PzLa3x/kp5qo+wygZt9IKqXasez1VWMLRqzwWWHWJh/Hq/CIeNoLrmPJQOetGY8UTZQwVPBHDsWQqIbdbUaKf1fLrF+sdETLqJLuR+YqVVa4bpV/iNuClXJVA19ArGygvsN7uoVNQQ4FfcmNwMPZEctagcdOSDZD5XeNARVlxEUr79g/0BXk42aHtTc+nR1tHp4Lk7OVsQkmPd0b+HtwGGAvQNJuc2UiakEpCFI8bepP9Jl6FgT8Zs/MgJdPvxmmjFrA89a3IcpV2P1itz66qcXPB+Fj0hPUV9KDNMaZrSgCjW7aKaM5sdWslsQuhaCLUkUf8aoadq/5yYsG3XU2oDi7HpbcoZ0GfVPrxIR7s/dgX8i3Gp0DcagXIUSbYrCpDId/GxI9r4vx2+9ghVJ+xZHV1udzfC9w/pM3qwtvNPXklqD2tiH9spePfZVh01gXZKFmg==; 5:7UBXK7jiHiMSE3HVsVe9XN8cdYShvB35FtFRpWlL7L0TgApS9ESa2uWDnNC3BVqHEiOWMadqHAkFqX3X8u9Cc/XogqiAX9qW7S/tnbaTb6Zb6Er6zVYtIg8xAfsdOdPikeU0wOEdqFXsKReQ2fQOaRyJSoYqJNtXaafQ1aZJY20=; 7:Qf8wO2K3iDxEYErW3qLGK0sNDsbQGI/UHUHNvIjaXPIo9jGwLnsAxA/qaOdkxFQtv/Mqx3uppcfsSGhVN3E/+RBDjKckDljBqxWlsp6qVVxJG9xCRhQWhMxxxwlPZ5RE7kPGsBGQHBvBPMml7Z9lXw== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 39bde36d-37fc-4533-03bb-08d647d30f04 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390040)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB5113; x-ms-traffictypediagnostic: DB7PR05MB5113: 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)(10201501046)(3231382)(944501410)(52105112)(3002001)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:DB7PR05MB5113; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB5113; x-forefront-prvs: 08534B37A7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(396003)(136003)(39860400002)(366004)(376002)(199004)(189003)(54906003)(305945005)(110136005)(7736002)(74316002)(316002)(6436002)(8936002)(2900100001)(5660300001)(71200400001)(71190400001)(186003)(478600001)(2906002)(81156014)(76176011)(8676002)(81166006)(4326008)(7696005)(3846002)(99286004)(66066001)(6116002)(33656002)(9686003)(68736007)(6636002)(229853002)(55016002)(102836004)(53936002)(26005)(6506007)(53546011)(107886003)(25786009)(6246003)(105586002)(106356001)(11346002)(446003)(256004)(97736004)(14444005)(14454004)(86362001)(476003)(486006); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB5113; 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: UC/ePOXswYCqNWxKVcGoRgHaKtQhmhKEvMDo79t6/Bv3VaL/yCegsIXgFQN+I9zpjGYPG7JJKSJsALkDsl33jSTUG0WfUWJrTkRQTxqXL3wV3hccs8GxcUVJXwzkFiLoCnSp/bCWGH7kOgtAUNYOWTDvLwEGWdl77hBAoJPuo3/IHogqosIpecYGaAOkIhyN5HC2xCq0j4axrffEDGU0xKR/JpmLaHbExbegn9y9pd6nC0scmwXRO9gGLE6qMi7LP134kKmjHSiPBy3sD7goACigZOdJhXZbVIjtUpKZ8iRH5PlMmIUCpG/s/1e0Co31rWCopH84cHt4G+eb4UqaUVGUy+sQvC9aaviqxrDx1V4= 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: 39bde36d-37fc-4533-03bb-08d647d30f04 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2018 12:41:53.4315 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB5113 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix flow director add and delete 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: Sun, 11 Nov 2018 12:41:55 -0000 Friday, November 9, 2018 12:12 AM=B8 Yongseok Koh: > Subject: Re: [PATCH] net/mlx5: fix flow director add and delete >=20 >=20 > > On Nov 8, 2018, at 1:29 PM, Dekel Peled wrote: > > > > Fix the flow_fdir_cmp() function, used by flow_fdir_filter_lookup(). > > This function is used by flow_fdir_filter_add() to check if same rule > > exists, and by flow_fdir_filter_delete() to find flow rule to delete. > > > > The function compared actions conf pointers, changed to compare > > actions type only. > > > > Fixes: 2720f833d461 ("net/mlx5: add missing flow director delete") > > Cc: yskoh@mellanox.com > > > > Signed-off-by: Dekel Peled > > --- >=20 > Acked-by: Yongseok Koh Applied to next-net-mlx, thanks.=20 >=20 > Thanks