net/i40e: fix VF link status update
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 12 Apr 2017 19:30:00 +0000 (15:30 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commit7c59dbd5dbac77bb34d66e066630f5247af2732b
tree6091f0871da185083374af5e48fd0190dc501c32
parent156a31b5eeafd9f990db76cb8948b38f3f27b503
net/i40e: fix VF link status update

VF link status rely on PF's notification, so when PF link status
be updated, it should notify VF to update link status also.
Current implementation only cover part of the situation when PF's link
status is updated, call i40e_notify_all_vfs_link_status in
i4e_dev_link_update will cover all situationa.

Fixes: bb6722fb5c0e ("net/i40e: fix VF bonded device link down")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/i40e/i40e_ethdev.c