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. v4: Removed some VF reset emulation code. 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 ++ 17 files changed, 895 insertions(+), 148 deletions(-) -- 2.1.4