From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: zhiyong.yang@intel.com, dev@dpdk.org
Cc: tiwei.bie@intel.com
Subject: Re: [dpdk-dev] [PATCH] net/virtio-user: fix port_id type
Date: Wed, 4 Apr 2018 11:51:38 +0200 [thread overview]
Message-ID: <7878852a-0963-6e13-e434-2f4b5aff16ed@redhat.com> (raw)
In-Reply-To: <20180330083150.44990-1-zhiyong.yang@intel.com>
On 03/30/2018 10:31 AM, zhiyong.yang@intel.com wrote:
> virtio-user port_id range should be increased from 8 bits to 16 bits.
>
> Fixes: f8244c6399d9 ("ethdev: increase port id range")
> Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
> ---
> drivers/net/virtio/virtio_user/virtio_user_dev.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/virtio/virtio_user/virtio_user_dev.h b/drivers/net/virtio/virtio_user/virtio_user_dev.h
> index 64467b4f9..5f8755771 100644
> --- a/drivers/net/virtio/virtio_user/virtio_user_dev.h
> +++ b/drivers/net/virtio/virtio_user/virtio_user_dev.h
> @@ -31,7 +31,7 @@ struct virtio_user_dev {
> */
> uint64_t device_features; /* supported features by device */
> uint8_t status;
> - uint8_t port_id;
> + uint16_t port_id;
> uint8_t mac_addr[ETHER_ADDR_LEN];
> char path[PATH_MAX];
> struct vring vrings[VIRTIO_MAX_VIRTQUEUES];
>
Applied to dpdk-next-virtio/master.
Thanks!
Maxime
prev parent reply other threads:[~2018-04-04 9:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-30 8:31 zhiyong.yang
2018-03-30 8:36 ` Maxime Coquelin
2018-03-30 8:39 ` Yang, Zhiyong
2018-04-04 9:51 ` Maxime Coquelin [this message]
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=7878852a-0963-6e13-e434-2f4b5aff16ed@redhat.com \
--to=maxime.coquelin@redhat.com \
--cc=dev@dpdk.org \
--cc=tiwei.bie@intel.com \
--cc=zhiyong.yang@intel.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).