Re: [dpdk-dev] [PATCH dpdk v2] pci: Initialize common rte driver pointer

2017-04-26 Thread Thomas Monjalon
26/04/2017 10:07, 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 K

[dpdk-dev] [PATCH dpdk v2] pci: Initialize common rte driver pointer

2017-04-26 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 --- Changes: v2: * no change, just poste