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 52EBE6CAF for ; Tue, 7 Jun 2016 08:12:58 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 06 Jun 2016 23:12:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,432,1459839600"; d="scan'208";a="970352153" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 06 Jun 2016 23:12:54 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id u576Cp7s028945; Tue, 7 Jun 2016 14:12:51 +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 u576CmYX005550; Tue, 7 Jun 2016 14:12:50 +0800 Received: (from zhetao@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id u576Cmse005546; Tue, 7 Jun 2016 14:12:48 +0800 From: Zhe Tao To: dev@dpdk.org Cc: wenzhuo.lu@intel.com, zhe.tao@intel.com, konstantin.ananyev@intel.com, bruce.richardson@intel.com, jing.d.chen@intel.com, cunming.liang@intel.com, jingjing.wu@intel.com, helin.zhang@intel.com Date: Tue, 7 Jun 2016 14:12:40 +0800 Message-Id: <1465279968-5515-1-git-send-email-zhe.tao@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH v3 0/8] support reset of VF link 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, 07 Jun 2016 06:12:58 -0000 If the PF link is down and up, VF link will not work accordingly. This patch set addes the support of VF link reset. So, when VF receices the messges of physical link down/up. APP can reset the VF link and let it recover. PS: This patch set is splitted from a previous patch set, *automatic link recovery on ixgbe/igb VF*, and it's base on the patch set *support mailbox interruption on ixgbe/igb VF*. Wenzhuo Lu (6): lib/librte_ether: support device reset lib/librte_ether: defind RX/TX lock mode ixgbe: RX/TX with lock on VF ixgbe: implement device reset on VF igb: RX/TX with lock on VF igb: implement device reset on VF Zhe Tao (2): i40e: RX/TX with lock on VF i40e: implement device reset on VF v1: Added the implementation for the VF reset functionality. v2: Changed the i40e related operations during VF reset. v3: Resent the patches because of the mail sent issue. app/test-pmd/config.c | 3 + doc/guides/rel_notes/release_16_07.rst | 14 +++ drivers/net/e1000/e1000_ethdev.h | 126 +++++++++++++++++++++++++++ drivers/net/e1000/igb_ethdev.c | 118 ++++++++++++++++++++++++- drivers/net/e1000/igb_rxtx.c | 148 +++++++++----------------------- drivers/net/i40e/i40e_ethdev.c | 4 +- drivers/net/i40e/i40e_ethdev.h | 5 ++ drivers/net/i40e/i40e_ethdev_vf.c | 152 ++++++++++++++++++++++++++++++++- drivers/net/i40e/i40e_rxtx.c | 55 ++++++++---- drivers/net/i40e/i40e_rxtx.h | 34 ++++++++ drivers/net/ixgbe/ixgbe_ethdev.c | 120 +++++++++++++++++++++++++- drivers/net/ixgbe/ixgbe_ethdev.h | 32 ++++++- drivers/net/ixgbe/ixgbe_rxtx.c | 116 ++++++++++++++++++++++--- drivers/net/ixgbe/ixgbe_rxtx.h | 13 +++ drivers/net/ixgbe/ixgbe_rxtx_vec.c | 6 ++ lib/librte_ether/rte_ethdev.c | 17 ++++ lib/librte_ether/rte_ethdev.h | 76 +++++++++++++++++ lib/librte_ether/rte_ether_version.map | 7 ++ 18 files changed, 898 insertions(+), 148 deletions(-) -- 2.1.4