numam-dpdk/drivers/baseband/fpga_5gnr_fec
Maxime Coquelin e309e92061 baseband/fpga_5gnr_fec: fix crash with debug
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: 0b5927cbcb ("baseband/fpga_5gnr_fec: add PMD for FPGA 5GNR FEC")
Cc: stable@dpdk.org

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Nicolas Chautru <nicolas.chautru@intel.com>
2020-10-14 21:32:11 +02:00
..
fpga_5gnr_fec.h baseband/fpga_5gnr_fec: add HARQ loopback capability 2020-04-19 22:34:26 +02:00
meson.build baseband/fpga_5gnr_fec: add configure function 2020-04-19 22:34:26 +02:00
rte_fpga_5gnr_fec.c baseband/fpga_5gnr_fec: fix crash with debug 2020-10-14 21:32:11 +02:00
rte_pmd_bbdev_fpga_5gnr_fec_version.map baseband/fpga_5gnr_fec: fix API naming 2020-10-14 21:28:31 +02:00
rte_pmd_fpga_5gnr_fec.h baseband/fpga_5gnr_fec: fix API naming 2020-10-14 21:28:31 +02:00