net/vmxnet3: keep link state consistent
authorChas Williams <chas3@att.com>
Sun, 18 Mar 2018 01:45:52 +0000 (21:45 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 14:54:56 +0000 (15:54 +0100)
commit3a14b29bff9cc427920c83391b37cededa48fd2f
tree55ca84091432f33c9a0e77988619aa424b8507d7
parent3fef0822ecd12e551b41c2f1d896c1db49142794
net/vmxnet3: keep link state consistent

The vmxnet3 never attempts link speed negotiation.  As a virtual device
the link speed is vague at best.  However, it is important for certain
applications, like bonding, to see a consistent link_status.  802.3ad
requires that only links of the same cost (link speed) be enslaved.
Keeping the link status consistent in vmxnet3 avoids races with bonding
enslavement.

Fixes: 1e3a958f40b3 ("ethdev: fix link autonegotiation value")
Cc: stable@dpdk.org
Signed-off-by: Chas Williams <chas3@att.com>
Acked-by: Yong Wang <yongwang@vmware.com>
drivers/net/vmxnet3/vmxnet3_ethdev.c