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 98FAB2956 for ; Tue, 15 Mar 2016 02:59:48 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 14 Mar 2016 18:59:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,337,1455004800"; d="scan'208";a="66399018" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga004.fm.intel.com with ESMTP; 14 Mar 2016 18:59:47 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id u2F1xhtI030258; Tue, 15 Mar 2016 09:59:43 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u2F1xecd032645; Tue, 15 Mar 2016 09:59:42 +0800 Received: (from wujingji@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id u2F1xeoM032641; Tue, 15 Mar 2016 09:59:40 +0800 From: Jingjing Wu To: bruce.richardson@intel.com Cc: dev@dpdk.org, jingjing.wu@intel.com, helin.zhang@intel.com Date: Tue, 15 Mar 2016 09:59:38 +0800 Message-Id: <1458007180-32580-1-git-send-email-jingjing.wu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1457581271-22871-1-git-send-email-jingjing.wu@intel.com> References: <1457581271-22871-1-git-send-email-jingjing.wu@intel.com> Subject: [dpdk-dev] [PATCH v6 0/2] i40evf: pf reset event report 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: Tue, 15 Mar 2016 01:59:49 -0000 v6 changes: - rebase on latest dpdk-next-net/rel_16_04 branch (commit 94d8f4bf963a) - fix complie issue v5 changes: - doc rewording and format fixing. v4 changes: - rebase on latest dpdk-next-net/rel_16_04 branch (commit 0f9564a0e4f2) v3 changes: - commit log doc rewording. - rebase on latest dpdk-next-net/rel_16_04 branch. - remove few useless line. - adjust interval and increase times for waiting pf msg v2 changes: - remove the change on vf reset status checking - add pf event report support in release note When Linux PF and DPDK VF are used for i40e PMD, In case of PF reset, interrupt request will go via adminq event, VF need be informed, a callback 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); Jingjing Wu (2): i40evf: allocate virtchnl cmd buffer for each vf i40evf: support to report pf reset event doc/guides/rel_notes/release_16_04.rst | 3 + drivers/net/i40e/i40e_ethdev.h | 2 + drivers/net/i40e/i40e_ethdev_vf.c | 425 +++++++++++++++++++++++---------- lib/librte_ether/rte_ethdev.h | 1 + 4 files changed, 306 insertions(+), 125 deletions(-) -- 2.4.0