From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wenzhuo Lu Subject: [PATCH 0/8] support reset of VF link Date: Mon, 6 Jun 2016 13:40:45 +0800 Message-ID: <1465191653-28408-1-git-send-email-wenzhuo.lu@intel.com> To: dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9B7B7902 for ; Mon, 6 Jun 2016 07:40:58 +0200 (CEST) Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id u565euYU016038 for ; Mon, 6 Jun 2016 13:40:56 +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 u565erxK028443 for ; Mon, 6 Jun 2016 13:40:55 +0800 Received: (from wenzhuol@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id u565erJl028439 for dev@dpdk.org; Mon, 6 Jun 2016 13:40:53 +0800 List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 (8): 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 i40e:RX/TX with lock on VF i40e: implement device reset on VF 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 | 145 +++++++++++++++++++++++++++++++- drivers/net/i40e/i40e_rxtx.c | 45 ++++++---- 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 ++ 17 files changed, 879 insertions(+), 147 deletions(-) -- 1.9.3