Re: [dpdk-dev] [PATCH 05/40] net/virtio: move PCI device init in dedicated file

2021-01-14 Thread David Marchand
On Thu, Jan 14, 2021 at 5:04 PM Maxime Coquelin wrote: > On 1/5/21 10:19 PM, David Marchand wrote: > >> static bool > >> rx_offload_enabled(struct virtio_hw *hw) > >> @@ -2521,7 +2419,7 @@ static void virtio_dev_free_mbufs(struct rte_eth_dev > >> *dev) > >> /* > >> * Stop device: disable int

Re: [dpdk-dev] [PATCH 05/40] net/virtio: move PCI device init in dedicated file

2021-01-14 Thread Maxime Coquelin
On 1/5/21 10:19 PM, David Marchand wrote: > On Sun, Dec 20, 2020 at 10:14 PM Maxime Coquelin > wrote: >> diff --git a/drivers/net/virtio/virtio_ethdev.c >> b/drivers/net/virtio/virtio_ethdev.c >> index 99a5a1bb88..ca21a019e5 100644 >> --- a/drivers/net/virtio/virtio_ethdev.c >> +++ b/drivers/n

Re: [dpdk-dev] [PATCH 05/40] net/virtio: move PCI device init in dedicated file

2021-01-05 Thread David Marchand
On Sun, Dec 20, 2020 at 10:14 PM Maxime Coquelin wrote: > diff --git a/drivers/net/virtio/virtio_ethdev.c > b/drivers/net/virtio/virtio_ethdev.c > index 99a5a1bb88..ca21a019e5 100644 > --- a/drivers/net/virtio/virtio_ethdev.c > +++ b/drivers/net/virtio/virtio_ethdev.c [...] > @@ -2135,52 +2078,

Re: [dpdk-dev] [PATCH 05/40] net/virtio: move PCI device init in dedicated file

2020-12-29 Thread Xia, Chenbo
Hi Maxime, > -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 05/40] net/virtio: move PCI device init in

[dpdk-dev] [PATCH 05/40] net/virtio: move PCI device init in dedicated file

2020-12-20 Thread Maxime Coquelin
Thi patch moves the PCI Ethernet device registration bits in a dedicated patch. In following patches, more code will be moved there, with the goal of making virtio_ethdev.c truely bus-agnostic. Signed-off-by: Maxime Coquelin --- drivers/net/virtio/meson.build | 1 + drivers/net/virtio/