[dpdk-dev] [PATCH 0/2] baseband: fix segfault in Intel drivers

Tom Rix trix at redhat.com
Tue Oct 6 18:05:04 CEST 2020


This change looks fine.

Reviewed-by: Tom Rix <trix at redhat.com>


In looking at the surrounding code i see the is-pf bool being found by checking the driver name.

That is a fairly expensive check.

Is there a better way to do that ?

Tom


On 10/6/20 3:04 AM, Maxime Coquelin wrote:
> This series fixes segfaults in fpga_5gnr_fec and fpga_lte_fec
> drivers when bbdev debug is enabled.
>
> Maxime Coquelin (2):
>   baseband/fpga_5gnr_fec: fix segfaults with debug
>   baseband/fpga_lte_fec: fix segfaults with debug
>
>  drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c | 4 ++--
>  drivers/baseband/fpga_lte_fec/fpga_lte_fec.c       | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
>



More information about the dev mailing list