From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 9E56F11D4 for ; Thu, 2 Jun 2016 05:38:57 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 01 Jun 2016 20:38:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,404,1459839600"; d="scan'208";a="712584527" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 01 Jun 2016 20:38:56 -0700 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 1 Jun 2016 20:38:55 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 1 Jun 2016 20:38:55 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.193]) with mapi id 14.03.0248.002; Thu, 2 Jun 2016 11:38:53 +0800 From: "Wu, Jingjing" To: "Lu, Wenzhuo" , "dev@dpdk.org" Thread-Topic: [PATCH v2 1/2] ixgbe: VF supports mailbox interruption for PF link up/down Thread-Index: AQHRu6h3obCPk2omhEuOiGl4KWekZp/ViQYA Date: Thu, 2 Jun 2016 03:38:53 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F80E14CB58@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-2-git-send-email-wenzhuo.lu@intel.com> In-Reply-To: <1464745989-28280-2-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 1/2] ixgbe: 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: Thu, 02 Jun 2016 03:38:58 -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 1/2] ixgbe: VF supports mailbox interruption for PF li= nk > 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