[dpdk-dev] [PATCH 1/3] virtio: don't report link state feature unless available

2015-08-31 Thread Ouyang, Changchun
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Saturday, August 29, 2015 12:24 AM > To: Xie, Huawei; Ouyang, Changchun > Cc: dev at dpdk.org; Stephen Hemminger; Stephen Hemminger > Subject: [PATCH 1/3] virtio: don't report link state feature

[dpdk-dev] [PATCH 1/3] virtio: don't report link state feature unless available

2015-08-28 Thread Stephen Hemminger
From: Stephen Hemminger If host does not support virtio link state (like current DPDK vhost) then don't set the flag. This keeps applications from incorrectly assuming that link state is available when it is not. It also avoids useless "guess what works in the config". Signed-off-by: Stephen Hem