Re: [dpdk-dev] [PATCH v2] raw/octeontx2_dma: fix unavailable PCI device in dpivf

2021-04-15 Thread Thomas Monjalon
09/04/2021 10:06, Radha Mohan Chintakuntla: > The PCI device address is being used for sending mailbox which was > introduced in previous commit which replaced the macros so that > multiple DPI blocks in the hardware can be supported. The sentence is too long and complex. My advice: make multiple

[dpdk-dev] [PATCH v2] raw/octeontx2_dma: fix unavailable PCI device in dpivf

2021-04-09 Thread Radha Mohan Chintakuntla
The PCI device address is being used for sending mailbox which was introduced in previous commit which replaced the macros so that multiple DPI blocks in the hardware can be supported. This patch fixes a NULL pointer access by assigning the PCI device structure to dpivf. Fixes: 4495bd887d38 ("raw