Re: [dpdk-dev] [PATCH 11/40] net/virtio: validate features at bus level

2021-01-15 Thread Maxime Coquelin
On 1/6/21 10:33 AM, David Marchand wrote: > On Sun, Dec 20, 2020 at 10:15 PM Maxime Coquelin > wrote: >> diff --git a/drivers/net/virtio/virtio_ethdev.c >> b/drivers/net/virtio/virtio_ethdev.c >> index 00aa38e4ef..91a93b2b6e 100644 >> --- a/drivers/net/virtio/virtio_ethdev.c >> +++ b/drivers/n

Re: [dpdk-dev] [PATCH 11/40] net/virtio: validate features at bus level

2021-01-06 Thread David Marchand
On Sun, Dec 20, 2020 at 10:15 PM Maxime Coquelin wrote: > diff --git a/drivers/net/virtio/virtio_ethdev.c > b/drivers/net/virtio/virtio_ethdev.c > index 00aa38e4ef..91a93b2b6e 100644 > --- a/drivers/net/virtio/virtio_ethdev.c > +++ b/drivers/net/virtio/virtio_ethdev.c > @@ -1315,17 +1315,16 @@ vi

Re: [dpdk-dev] [PATCH 11/40] net/virtio: validate features at bus level

2020-12-29 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Monday, December 21, 2020 5:14 AM > To: dev@dpdk.org; Xia, Chenbo ; olivier.m...@6wind.com; > amore...@redhat.com; david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH 11/40] net/virtio: validate features at bus level > >

[dpdk-dev] [PATCH 11/40] net/virtio: validate features at bus level

2020-12-20 Thread Maxime Coquelin
This patch provides a new callback for the bus type to validate negotiated features are compatible with it. Only user for now is PCI modern bus type, which implies that the device supports Virtio 1.0+. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/virtio_ethdev.c | 11 +--