This PR is an improvement to PR #30 that instead of getting the PCI address from the interface (alias), it will directly get it from the environment variable PCIDEVICE_INTEL_COM_INTEL_SRIOV_DPDK, which will be present only when the UPF is deployed in DPDK mode. Otherwise, allow will be empty and will have no effect in the other UPF's deployment modes.
This PR is an improvement to PR #30 that instead of getting the PCI address from the interface (alias), it will directly get it from the environment variable
PCIDEVICE_INTEL_COM_INTEL_SRIOV_DPDK
, which will be present only when the UPF is deployed in DPDK mode. Otherwise,allow
will be empty and will have no effect in the other UPF's deployment modes.