From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60074.outbound.protection.outlook.com [40.107.6.74]) by dpdk.org (Postfix) with ESMTP id 12A2B91 for ; Thu, 8 Nov 2018 23:12:24 +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=KQpHa5cymgMPmKcvXuU9tS21MRU2maYIDcXYgtiFv6I=; b=W60PfWxsWt5WyTl3M18BEHo6jT4CXRg766cQCPOovklGf29pwQbritTpXDlG8iQrdqo/5DgkYQL6X8mq+15pUCbSlzPdoh4A5FvYux7y+UHgpPeiwvNw96xeeXCcBNijXwCB62IrNNOzFlAx/ZvfLPzHRb1iEM5acW6XZuzYlkc= Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com (52.134.72.27) by DB3PR0502MB4043.eurprd05.prod.outlook.com (52.134.68.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.27; Thu, 8 Nov 2018 22:12:23 +0000 Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::58e7:97d8:f9c1:4323]) by DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::58e7:97d8:f9c1:4323%3]) with mapi id 15.20.1294.034; Thu, 8 Nov 2018 22:12:23 +0000 From: Yongseok Koh To: Dekel Peled CC: Shahaf Shuler , dev , Ori Kam Thread-Topic: [PATCH] net/mlx5: fix flow director add and delete Thread-Index: AQHUd6pZVrxylffd7UuntKgNTW5UWaVGcOiA Date: Thu, 8 Nov 2018 22:12:22 +0000 Message-ID: References: <1541712585-5768-1-git-send-email-dekelp@mellanox.com> In-Reply-To: <1541712585-5768-1-git-send-email-dekelp@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=yskoh@mellanox.com; x-originating-ip: [69.181.245.183] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB3PR0502MB4043; 6:x07ArhGDBuoyHyJqXjDuYWCw79IoUeCr61ETBQdHqSekkREpSqr3+NHAtc+F1c77xaGjCLTLEZAW0Vhn+PupXP1zRK7Zh5JqSxiCEl1RwycB1kjoueW3mQ3Y/KHi2ZqEcAMifEkihoydbUUk5C/WjfRj/1CPH2Sz3x9kPtfgw8Pu7xB+QCq4H0yaiVlE36e3o/csxAJUDacwfpnJtgnh2wqvHKnRvwC7aPKbzJtDSpsgOhShlqd3RMkX37f6Hb+JO7oyudal2DkufVMCdJDVdC3l/UYi96RZkDcl+Edqu4wldNXDssZodXmTb2HTyEMgapkIi53YSCkX1Dllv0p5/iUBD7MZTmBycTJidmjXfK/8H6SdNtce3ZRlj3gelO8glM4rmF4N8BHKzcSc7fBgy2gaCKIvfWbAK2XIdMs+IaZDWnnTiyXuu8ESC/1r/AF2lxiPoS1kWzuGHHUVmUzpNA==; 5:EgXV0oaARrOF9ipCTrjox2CskBmRmZcVB2hKCUw6+UJ1/0srT1Ib13W8EwpMBuFbPANNtGPK4f6xlu/ZcsMsnGKttwksm3gLU1cLhHoP1IS8tU6l7GsGgqkLyv9lnR9dLB6aVwmzRXA27WhplX2Hzr/NQyZrJx3Op9oxu0923iY=; 7:GS3eQKt0mske87ZlkTCBhAaEWfE8JmqwDsa2HBmzOGb5dD5/WaIgGS8FYoQSFQWT1m7pvh2zpBib/erHIVeyGpp4oaF7DZ+DnquroOw5J85Dwgg19eW5Jzj7rSW7yzBu0nd1ThYvEpqRGT/pg4Nc2A== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 1c308e83-a768-4d51-aada-08d645c74234 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB3PR0502MB4043; x-ms-traffictypediagnostic: DB3PR0502MB4043: 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)(3002001)(3231382)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(201708071742011)(7699051)(76991095); SRVR:DB3PR0502MB4043; BCL:0; PCL:0; RULEID:; SRVR:DB3PR0502MB4043; x-forefront-prvs: 0850800A29 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(376002)(136003)(346002)(39860400002)(396003)(189003)(199004)(37006003)(82746002)(316002)(99286004)(76176011)(6862004)(6512007)(446003)(11346002)(486006)(36756003)(476003)(2616005)(186003)(68736007)(8936002)(6486002)(478600001)(229853002)(14444005)(54906003)(107886003)(26005)(6636002)(53936002)(102836004)(6246003)(6506007)(33656002)(53546011)(6436002)(4326008)(2906002)(25786009)(81166006)(8676002)(5660300001)(14454004)(7736002)(81156014)(97736004)(105586002)(83716004)(106356001)(71200400001)(71190400001)(305945005)(3846002)(6116002)(256004)(2900100001)(86362001)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4043; H:DB3PR0502MB3980.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: aaAuR32ndO8ndH1/sh2uE/LVN0anC40KE88nc+UEvg1Nec3dR0iwZ6ljWDfhnYYDKp1cxzxbAmSJOfanFzb0O7bobuJheEkxp8dqjcYZv+st0hmQXofTrh+l/MlntWXUTHC+sicLbXHcJJ4gDy2BZsRqJHyOERqe/AcijbbzUtE/3T7UYjc93UzyRlynld9M9mUzVRBrVQ8/Q8mblI+65oaiTNWX2PvCqY+LIxL7oZnRGNjNhpZO9qxxaXMZO8I09oydWqrLX1Q+zz2G86iZBGT/J7iUitK+Ahk+J5hnxyzMwx+ZE/OpskhFXpGmtdOSK1f+1KFkpGedTKJFHVTJjo6CyxQlOELpkSFAjtWHVPw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1c308e83-a768-4d51-aada-08d645c74234 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2018 22:12:22.9966 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4043 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: Thu, 08 Nov 2018 22:12:24 -0000 > On Nov 8, 2018, at 1:29 PM, Dekel Peled wrote: >=20 > 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. >=20 > The function compared actions conf pointers, changed to compare > actions type only. >=20 > Fixes: 2720f833d461 ("net/mlx5: add missing flow director delete") > Cc: yskoh@mellanox.com >=20 > Signed-off-by: Dekel Peled > --- Acked-by: Yongseok Koh =20 Thanks