e309e92061
When RTE_LIBRTE_BBDEV_DEBUG is enabled, rte_device's driver
pointer is dereferenced twice in fpga_5gnr_fec's probe callback.
It causes a segmentation fault because this pointer is only
assigned after probe callback call.
This patch makes use of rte_pci_driver pointer instead.
Fixes:
|
||
---|---|---|
.. | ||
fpga_5gnr_fec.h | ||
meson.build | ||
rte_fpga_5gnr_fec.c | ||
rte_pmd_bbdev_fpga_5gnr_fec_version.map | ||
rte_pmd_fpga_5gnr_fec.h |