From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 625572C0F for ; Fri, 26 Feb 2016 09:13:13 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 26 Feb 2016 00:13:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,498,1449561600"; d="scan'208";a="895185617" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 26 Feb 2016 00:13:07 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 26 Feb 2016 00:13:07 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 26 Feb 2016 00:13:06 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.132]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.136]) with mapi id 14.03.0248.002; Fri, 26 Feb 2016 16:13:05 +0800 From: "Zhang, Helin" To: "Wu, Jingjing" , "Richardson, Bruce" Thread-Topic: [PATCH v3 2/2] i40evf: support to report pf reset event Thread-Index: AQHRcGI1Z59un9ahXUymnfeQb47qBZ89+jOQ Date: Fri, 26 Feb 2016 08:13:04 +0000 Message-ID: References: <1453859378-23912-1-git-send-email-jingjing.wu@intel.com> <1456469514-9103-1-git-send-email-jingjing.wu@intel.com> <1456469514-9103-3-git-send-email-jingjing.wu@intel.com> In-Reply-To: <1456469514-9103-3-git-send-email-jingjing.wu@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 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v3 2/2] i40evf: support to report pf reset event 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: Fri, 26 Feb 2016 08:13:13 -0000 > -----Original Message----- > From: Wu, Jingjing > Sent: Friday, February 26, 2016 2:52 PM > To: Richardson, Bruce > Cc: dev@dpdk.org; Wu, Jingjing; Zhang, Helin; Tao, Zhe > Subject: [PATCH v3 2/2] i40evf: support to report pf reset event >=20 > When Linux PF and DPDK VF are used for i40e PMD, In case of PF reset, > interrupt will go via adminq event, VF need be informed the event, a call= back > mechanism is introduced by VF. This will allow VF to invoke callback when= reset > happens. > Users can register a callback for this interrupt event like: > rte_eth_dev_callback_register(portid, > RTE_ETH_EVENT_INTR_RESET, > reset_event_callback, > arg); >=20 > Signed-off-by: Jingjing Wu Acked-by: Helin Zhang