SPDX-License-Identifier: Apache-2.0 Copyright © 2021 Intel Corporation
The Physical Function (PF) Baseband Device (BBDEV) Configuration Application (pf_bb_config) provides a means to configure a baseband device at the host level. The program accesses the configuration space and sets various parameters through memory-mapped I/O (MMIO) reads and writes.
The parameters are parsed from a given configuration file (with .cfg extensions) that is specific to a particular baseband device, although they follow same format.
Build the program by typing the make
command.
The result is that the pf_bb_config
binary file is produced.
The application requires the name of the BBDEV device to configure. Other arguments are optional. The application executes as follows:
./pf_bb_config DEVICE_NAME [-h] [-a] [-c CFG_FILE] [-p PCI_ID] [-v VFIO_TOKEN]
DEVICE_NAME
: Specifies the device to configure; for example: 'FPGA_5GNR' or 'ACC100'-a
: Configures all PCI devices matching the givenDEVICE_NAME
-h
: Prints help-c CFG_FILE
: Specifies configuration file to use-p PCI_ID
: Specifies PCI ID of device to configure-v VFIO_TOKEN
: `VFIO_TOKEN is UUID formatted VFIO VF token required when bound with vfio-pci