DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Maxime Coquelin <maxime.coquelin@redhat.com>
Cc: dev <dev@dpdk.org>, Chenbo Xia <chenbo.xia@intel.com>
Subject: Re: [dpdk-dev] [PATCH 21.05] net/virtio: remove duplicate port id from virtio_user
Date: Thu, 18 Mar 2021 13:32:05 +0100	[thread overview]
Message-ID: <CAJFAV8xGePvaDY7pamwiwDjYcfXe-Tm6ApSa4x0=C5GXesaMtQ@mail.gmail.com> (raw)
In-Reply-To: <76079e53-2638-8cc2-aaaf-6c2c10f9592e@redhat.com>

On Wed, Mar 17, 2021 at 9:04 PM Maxime Coquelin
<maxime.coquelin@redhat.com> wrote:
> > diff --git a/drivers/net/virtio/virtio_user/vhost_user.c b/drivers/net/virtio/virtio_user/vhost_user.c
> > index ec2c53c8fb..18ae29eed2 100644
> > --- a/drivers/net/virtio/virtio_user/vhost_user.c
> > +++ b/drivers/net/virtio/virtio_user/vhost_user.c
> > @@ -950,7 +950,8 @@ vhost_user_update_link_state(struct virtio_user_dev *dev)
> >               r = recv(data->vhostfd, buf, 128, MSG_PEEK);
> >               if (r == 0 || (r < 0 && errno != EAGAIN)) {
> >                       dev->net_status &= (~VIRTIO_NET_S_LINK_UP);
> > -                     PMD_DRV_LOG(ERR, "virtio-user port %u is down", dev->port_id);
> > +                     PMD_DRV_LOG(ERR, "virtio-user port %u is down",
> > +                             dev->hw.port_id);
>
> Trivial, but it can fit in a single line, as IIRC, we can go up to 100
> chars now. If you agree, we can fix it while applying, no need to
> resubmit.

Yep, ok for me, thanks.


-- 
David Marchand


  reply	other threads:[~2021-03-18 12:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01 17:46 David Marchand
2021-03-17 20:04 ` Maxime Coquelin
2021-03-18 12:32   ` David Marchand [this message]
2021-03-31  8:41 ` Xia, Chenbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJFAV8xGePvaDY7pamwiwDjYcfXe-Tm6ApSa4x0=C5GXesaMtQ@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=chenbo.xia@intel.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).