On Sat, 6 Jan 2018 11:10:08 +0800 Tiwei Bie <tiwei....@intel.com> wrote:
> Hi Stephen, > > On Fri, Jan 05, 2018 at 05:06:44PM -0800, Stephen Hemminger wrote: > > Use the new comon code in ethdev to handle link status update. > > Typo: comon -> common > > > > > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> > [...] > > static void > > virtio_update_stats(struct rte_eth_dev *dev, struct rte_eth_stats *stats) > > { > > @@ -1913,8 +1872,13 @@ static void > > virtio_dev_stop(struct rte_eth_dev *dev) > > { > > struct virtio_hw *hw = dev->data->dev_private; > > - struct rte_eth_link link; > > struct rte_intr_conf *intr_conf = &dev->data->dev_conf.intr_conf; > > + struct rte_eth_link link = { > > + .link_speed = SPEED_10G, > > SPEED_10G has been removed on dpdk-next-virtio: Patch was intended for current release so not looking at -next