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 58707678E for ; Tue, 7 Jun 2016 07:46:19 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 06 Jun 2016 22:46:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,431,1459839600"; d="scan'208";a="823081703" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga003.jf.intel.com with ESMTP; 06 Jun 2016 22:46:04 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id u575k1ic005673; Tue, 7 Jun 2016 13:46:01 +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 u575jweA005027; Tue, 7 Jun 2016 13:46:00 +0800 Received: (from zhetao@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id u575jwTg005023; Tue, 7 Jun 2016 13:45:58 +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 13:45:10 +0800 Message-Id: <1465278318-4949-1-git-send-email-zhe.tao@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH v2 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 05:46:20 -0000 From: "zhe.tao" 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. 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