From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 1B5C32F7D; Tue, 26 Sep 2017 15:49:28 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2017 06:49:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,440,1500966000"; d="scan'208";a="1175936640" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga001.jf.intel.com with ESMTP; 26 Sep 2017 06:49:27 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 26 Sep 2017 06:49:27 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 26 Sep 2017 06:49:26 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.159]) with mapi id 14.03.0319.002; Tue, 26 Sep 2017 21:49:24 +0800 From: "Wu, Jingjing" To: "Dai, Wei" , "Xing, Beilei" , "Ananyev, Konstantin" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v6] net/i40e: fix mirror rule reset when port is closed Thread-Index: AQHTNcp1WOLtwwCTzkyyVtzzAiWg96LHMKxw Date: Tue, 26 Sep 2017 13:49:24 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F810E801A8@SHSMSX103.ccr.corp.intel.com> References: <1505881001-12200-1-git-send-email-wei.dai@intel.com> <1506321413-38887-1-git-send-email-wei.dai@intel.com> In-Reply-To: <1506321413-38887-1-git-send-email-wei.dai@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2M5MDM4ZTQtZDBmZC00ZjAwLTk5ZjgtZDdhNDc5MjE1Y2Y0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IkM5VWpQRm9ESEtOeFFSYUhsbDhHS1VHWENpeDg3YU1HUUNjN2RBZytwWFk9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v6] net/i40e: fix mirror rule reset when port is closed 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: Tue, 26 Sep 2017 13:49:29 -0000 > -----Original Message----- > From: Dai, Wei > Sent: Monday, September 25, 2017 2:37 PM > To: Wu, Jingjing ; Xing, Beilei ; Ananyev, > Konstantin > Cc: dev@dpdk.org; Dai, Wei ; stable@dpdk.org > Subject: [PATCH v6] net/i40e: fix mirror rule reset when port is closed >=20 > When an i40e PF port is stopped, all mirror rules should be reserved. > But when an i40e PF port is closed, all mirror rules should be removed. > When a mirror rule is removed, its associated hardware and software > resource should also be removed. >=20 > Fixes: a4def5edf0fc ("i40e: enable port mirroring") > Cc: stable@dpdk.org >=20 > Signed-off-by: Wei Dai > Tested-by: Lijuan Tu Acked-by: Jingjing Wu