[dpdk-dev] [PATCH] virtio: fix crashes in virtio stats functions

2016-02-10 Thread Bruce Richardson
On Thu, Dec 24, 2015 at 11:48:41AM +0800, Yuanhan Liu wrote: > On Wed, Dec 23, 2015 at 09:45:19AM +, Bernard Iremonger wrote: > > This initialisation of nb_rx_queues and nb_tx_queues has been removed > > from eth_virtio_dev_init. > > > > The nb_rx_queues and nb_tx_queues were being

[dpdk-dev] [PATCH] virtio: fix crashes in virtio stats functions

2015-12-24 Thread Yuanhan Liu
On Wed, Dec 23, 2015 at 09:45:19AM +, Bernard Iremonger wrote: > This initialisation of nb_rx_queues and nb_tx_queues has been removed > from eth_virtio_dev_init. > > The nb_rx_queues and nb_tx_queues were being initialised in > eth_virtio_dev_init > before the tx_queues and rx_queues arrays

[dpdk-dev] [PATCH] virtio: fix crashes in virtio stats functions

2015-12-23 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bernard Iremonger > Sent: Wednesday, December 23, 2015 9:45 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] virtio: fix crashes in virtio stats functions > > This initialis

[dpdk-dev] [PATCH] virtio: fix crashes in virtio stats functions

2015-12-23 Thread Bernard Iremonger
This initialisation of nb_rx_queues and nb_tx_queues has been removed from eth_virtio_dev_init. The nb_rx_queues and nb_tx_queues were being initialised in eth_virtio_dev_init before the tx_queues and rx_queues arrays were allocated. The arrays are allocated when the ethdev port is configured