[dpdk-dev] [PATCH v2 03/15] virtio: use eth_linkstatus_set
Stephen Hemminger
stephen at networkplumber.org
Mon Jan 8 18:03:38 CET 2018
On Sat, 6 Jan 2018 11:10:08 +0800
Tiwei Bie <tiwei.bie at 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 <stephen at 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
More information about the dev
mailing list