From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id A28F8275D for ; Mon, 13 Jun 2016 02:48:10 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 12 Jun 2016 17:48:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,464,1459839600"; d="scan'208";a="1000528220" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 12 Jun 2016 17:48:09 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 12 Jun 2016 17:48:09 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 12 Jun 2016 17:48:08 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.116]) with mapi id 14.03.0248.002; Mon, 13 Jun 2016 08:48:07 +0800 From: "Wu, Jingjing" To: "Lu, Wenzhuo" , "dev@dpdk.org" Thread-Topic: [PATCH v2 2/2] igb: VF supports mailbox interruption for PF link up/down Thread-Index: AQHRu6h5SDMQhNBiTk2xb3tiT0C2Jp/monvQ Date: Mon, 13 Jun 2016 00:48:06 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F80E153DF3@SHSMSX103.ccr.corp.intel.com> References: <1464069991-31051-1-git-send-email-wenzhuo.lu@intel.com> <1464745989-28280-1-git-send-email-wenzhuo.lu@intel.com> <1464745989-28280-3-git-send-email-wenzhuo.lu@intel.com> In-Reply-To: <1464745989-28280-3-git-send-email-wenzhuo.lu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 v2 2/2] igb: VF supports mailbox interruption for PF link up/down X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2016 00:48:11 -0000 > -----Original Message----- > From: Lu, Wenzhuo > Sent: Wednesday, June 01, 2016 9:53 AM > To: dev@dpdk.org > Cc: Wu, Jingjing; Lu, Wenzhuo > Subject: [PATCH v2 2/2] igb: VF supports mailbox interruption for PF link > up/down >=20 > In this scenario, kernel PF + DPDK VF, when PF finds the link state chang= es, > up -> down or down -> up, it will send a message to VF by mailbox. This l= ink > state change may be triggered by PHY disconnection/reconnection, > configuration like *ifconfig down/up* or interface parameter, like MTU, > change. > This patch enables the support of the mailbox interruption, so VF can rec= eive > the message of link up/down. > After VF receives this message, VF port need to be reset to recover. So t= he > handler of this message registers a reset callback to let APP reset the V= F port. >=20 > Signed-off-by: Wenzhuo Lu Acked-by: Jingjing Wu