Re: [dpdk-dev] [PATCH 21.05] net/virtio: remove duplicate port id from virtio_user

2021-03-31 Thread Xia, Chenbo
> -Original Message- > From: David Marchand > Sent: Tuesday, February 2, 2021 1:46 AM > To: dev@dpdk.org > Cc: Maxime Coquelin ; Xia, Chenbo > > Subject: [PATCH 21.05] net/virtio: remove duplicate port id from virtio_user > > The private virtio_user_dev structure embeds a virtio_hw which

Re: [dpdk-dev] [PATCH 21.05] net/virtio: remove duplicate port id from virtio_user

2021-03-18 Thread David Marchand
On Wed, Mar 17, 2021 at 9:04 PM Maxime Coquelin 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_u

Re: [dpdk-dev] [PATCH 21.05] net/virtio: remove duplicate port id from virtio_user

2021-03-17 Thread Maxime Coquelin
On 2/1/21 6:46 PM, David Marchand wrote: > The private virtio_user_dev structure embeds a virtio_hw which itself > contains the ethdev port_id. > Make use of it and remove the duplicate port_id field. > > Signed-off-by: David Marchand > --- > Posting this cleanup that I caught when reviewing/d

[dpdk-dev] [PATCH 21.05] net/virtio: remove duplicate port id from virtio_user

2021-02-01 Thread David Marchand
The private virtio_user_dev structure embeds a virtio_hw which itself contains the ethdev port_id. Make use of it and remove the duplicate port_id field. Signed-off-by: David Marchand --- Posting this cleanup that I caught when reviewing/discussing the port_id fix from Maxime. It can wait 21.05.