]> git.droids-corp.org - dpdk.git/commit
baseband/fpga_5gnr_fec: add FPGA mutex
authorHernan Vargas <hernan.vargas@intel.com>
Fri, 20 May 2022 03:05:53 +0000 (22:05 -0500)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 1 Jun 2022 14:26:35 +0000 (16:26 +0200)
commitb3d326e438f1ba8f34f606f60afb350d09de997b
tree9dc677225f6ce62ced96d35dc93f4a8bb9275dda
parent98c90628c8437ead2f5f2ca47e7babd879ae3b55
baseband/fpga_5gnr_fec: add FPGA mutex

Explicit FPGA mutex added when using the register interface for HARQ
memory preloading to prevent multiple threads from using the same
interface in parallel.
This featured is implemented through MMIO exposed per VF and common to
all queues.

Signed-off-by: Hernan Vargas <hernan.vargas@intel.com>
Reviewed-by: Nicolas Chautru <nicolas.chautru@intel.com>
drivers/baseband/fpga_5gnr_fec/fpga_5gnr_fec.h
drivers/baseband/fpga_5gnr_fec/rte_fpga_5gnr_fec.c