692c0e78a5
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/octeontx2_dma: support multiple DPI blocks") Cc: stable@dpdk.org Signed-off-by: Radha Mohan Chintakuntla <radhac@marvell.com>