Re: [dpdk-dev] [PATCH dpdk 2/5] pci: Initialize common rte driver pointer

2017-04-24 Thread Burakov, Anatoly
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Alexey > Kardashevskiy > Sent: Thursday, April 20, 2017 8:24 AM > To: dev@dpdk.org > Cc: Alexey Kardashevskiy ; j...@zurich.ibm.com; > Gowrishankar Muthukrishnan > Subject: [dpdk-dev] [PATCH dpdk 2/5] pci: Initial

[dpdk-dev] [PATCH dpdk 2/5] pci: Initialize common rte driver pointer

2017-04-20 Thread Alexey Kardashevskiy
The existing code initializes a PCI driver pointer but not the common one. As the result, ring_dma_zone_reserve() in drivers/net/bnx2x/bnx2x_rxtx.c crashed as dev->device->driver==NULL. This adds missing initialization. Signed-off-by: Alexey Kardashevskiy --- lib/librte_eal/common/eal_common_pc