From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4D96DA0C41; Sat, 9 Oct 2021 11:22:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C262A40040; Sat, 9 Oct 2021 11:22:02 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id D19CA4003C for ; Sat, 9 Oct 2021 11:22:00 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10131"; a="287531224" X-IronPort-AV: E=Sophos;i="5.85,360,1624345200"; d="scan'208";a="287531224" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Oct 2021 02:21:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,360,1624345200"; d="scan'208";a="489784208" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga008.jf.intel.com with ESMTP; 09 Oct 2021 02:21:59 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Sat, 9 Oct 2021 02:21:58 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Sat, 9 Oct 2021 17:21:57 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2242.012; Sat, 9 Oct 2021 17:21:57 +0800 From: "Zhang, Qi Z" To: "Zhang, RobinX" , Kevin Traynor , "dev@dpdk.org" CC: "Xing, Beilei" , "Guo, Junfeng" , "Yang, SteveX" Thread-Topic: [dpdk-dev] [PATCH] net/i40e: fix remove MAC/VLAN addresses error Thread-Index: AQHXtEaHe8BQtBiAik+tuIeHSYtrSqu4rsyAgAAL3oCAEbncAA== Date: Sat, 9 Oct 2021 09:21:56 +0000 Message-ID: <3b760ea9d2fa49618496af90d6932222@intel.com> References: <20210928084042.1227848-1-robinx.zhang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix remove MAC/VLAN addresses error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IDxkZXYtYm91bmNl c0BkcGRrLm9yZz4gT24gQmVoYWxmIE9mIFpoYW5nLCBSb2JpblgNCj4gU2VudDogVHVlc2RheSwg U2VwdGVtYmVyIDI4LCAyMDIxIDY6MzYgUE0NCj4gVG86IEtldmluIFRyYXlub3IgPGt0cmF5bm9y QHJlZGhhdC5jb20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IFhpbmcsIEJlaWxlaSA8YmVpbGVpLnhp bmdAaW50ZWwuY29tPjsgR3VvLCBKdW5mZW5nDQo+IDxqdW5mZW5nLmd1b0BpbnRlbC5jb20+OyBZ YW5nLCBTdGV2ZVggPHN0ZXZleC55YW5nQGludGVsLmNvbT4NCj4gU3ViamVjdDogUmU6IFtkcGR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