From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 06A21A0679 for ; Thu, 4 Apr 2019 13:18:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A2E911B204; Thu, 4 Apr 2019 13:18:03 +0200 (CEST) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30058.outbound.protection.outlook.com [40.107.3.58]) by dpdk.org (Postfix) with ESMTP id 1D53F1B203 for ; Thu, 4 Apr 2019 13:18:02 +0200 (CEST) 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=Tkxx6Nhd9aTKhC5I6PJDwQZ1d5uSwkxnXlsNCIU4dJI=; b=mdKAYlhS/XaFStdSuutGf96gTeWC7aGJ/8NaWUaakr3aLV2u45DjUd+5hA+Qt449vDjSAwUUI0S6/BilA88492xkS+1P8g6vCR5mYxuQBH+agMLAmj8dnbTUvVOZXF9WySCbExR0SQFVJGfr9GD72wcOnb1ihBYxdKIHTaecowo= Received: from VI1PR05MB4224.eurprd05.prod.outlook.com (52.133.12.13) by VI1PR05MB4142.eurprd05.prod.outlook.com (10.171.182.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.16; Thu, 4 Apr 2019 11:18:01 +0000 Received: from VI1PR05MB4224.eurprd05.prod.outlook.com ([fe80::bcb0:ed58:d76:cac]) by VI1PR05MB4224.eurprd05.prod.outlook.com ([fe80::bcb0:ed58:d76:cac%4]) with mapi id 15.20.1750.017; Thu, 4 Apr 2019 11:18:00 +0000 From: Dekel Peled To: benli ye CC: "dev@dpdk.org" Thread-Topic: mlx5 FDIR rule comparison issue Thread-Index: AQHU6fdviitFwwPD4ECRX5YUjVTjkaYr2yHw Date: Thu, 4 Apr 2019 11:18:00 +0000 Message-ID: References: <2D0CB568-B970-408A-9463-5D05D201370A@gmail.com> <1FA542CD-78EC-4FA0-B48E-C768010CD431@gmail.com> In-Reply-To: <1FA542CD-78EC-4FA0-B48E-C768010CD431@gmail.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=dekelp@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bc8dd67a-25bb-4192-5a48-08d6b8ef32e2 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VI1PR05MB4142; x-ms-traffictypediagnostic: VI1PR05MB4142: x-microsoft-antispam-prvs: x-forefront-prvs: 0997523C40 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(396003)(346002)(376002)(39860400002)(199004)(189003)(13464003)(3846002)(1411001)(6116002)(478600001)(68736007)(86362001)(8676002)(2906002)(81166006)(81156014)(99286004)(71190400001)(33656002)(74316002)(7696005)(71200400001)(66066001)(97736004)(105586002)(106356001)(305945005)(7736002)(256004)(6506007)(186003)(53936002)(446003)(6246003)(53546011)(486006)(476003)(55016002)(26005)(11346002)(9686003)(8936002)(316002)(4326008)(52536014)(5660300002)(6436002)(102836004)(76176011)(229853002)(14454004)(6916009)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB4142; H:VI1PR05MB4224.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: 4w08khrR1S+/CzPhNt/Hajz4SqPUgqyMYqieW3AFe6ZtgywzwSCZmrMdDskTPZ0xntURs8qxwsEX2ibE9tJhuXnC9lRFrpr1M6IdQ5QADgQjKfhUFfPaNQkKH12PUeG6VamYZRWzQFDOt9GRi5I/t4Cm1s61gkhDPxjRU2STwKjSsYrnIt0RKlItrKpbJ+Y8vDqSSkoclsfsR6w1RxeksbITY6+FpRgwHSs7xAFkyJGQkWaSuRMOlFu6amEo/Hr59bLTTNagCeujTx3r4n/szHTzE+CoXm+pJz3OF8FlqSAuIwnTfN18Qz20WfgcLmydzFQcjIa+n3pXIc9zsk2EIrWngC6NdkQZzj0X0ikKAi9toSxJ6EG4C+Mplr8Spd+plV10QWT74gBnoahkriUqIc4byv7/LCHpi6mpYJ6u1jg= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc8dd67a-25bb-4192-5a48-08d6b8ef32e2 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Apr 2019 11:18:00.8112 (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-Transport-CrossTenantHeadersStamped: VI1PR05MB4142 Subject: Re: [dpdk-dev] mlx5 FDIR rule comparison issue 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" Message-ID: <20190404111800.1GITPbd5Psv5e8yIL-ryZBpC3yRwFuI1-2Otmx7UB6Q@z> SGkgRGFuaWVsLA0KDQpUaGUgZmxvd19kaXJlY3RvciBBUEkgd2lsbCBiZSBkZXByZWNhdGVkIGlu IHRoZSBuZWFyIGZ1dHVyZS4NCkl0IHdhcyByZXBsYWNlZCBieSBydGVfZ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