Customize fpga_5gnr config for 1 VF
Instead of using the distribution of UL/DL queues between 2 VFs like in the original fpga_5gnr/fpga_5gnr_config_vf.cfg file, all of them are set for usage by the first VF, only. Task: 43044 Story: 2009036 Signed-off-by: Douglas Henrique Koerich <douglashenrique.koerich@windriver.com> Change-Id: Ie7524eea807e7a49a304475e3451f717954c3ea5
This commit is contained in:
parent
0a6dd52d96
commit
2dcc4bd8a3
@ -11,6 +11,7 @@ URL: https://github.com/intel/pf-bb-config/tree/v21.6
|
||||
Source0: %{name}-%{git_sha}.tar.gz
|
||||
Patch0: Reject-device-configuration-if-not-enabled.patch
|
||||
Patch1: Fix-check-return-of-configure_device.patch
|
||||
Patch2: Customize-fpga_5gnr-config-for-1-VF.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: inih
|
||||
@ -25,6 +26,7 @@ space and sets the various parameters through memory-mapped IO read/writes.
|
||||
%setup
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
make
|
||||
|
@ -0,0 +1,31 @@
|
||||
From a362668ac7ca891974c3b5b50c983471e1dfab02 Mon Sep 17 00:00:00 2001
|
||||
From: Douglas Henrique Koerich <douglashenrique.koerich@windriver.com>
|
||||
Date: Wed, 18 Aug 2021 12:19:16 -0400
|
||||
Subject: [PATCH] Customize fpga_5gnr config for 1 VF
|
||||
|
||||
Change distribution of UL/DL queues to be used by one VF only.
|
||||
|
||||
Signed-off-by: Douglas Henrique Koerich <douglashenrique.koerich@windriver.com>
|
||||
---
|
||||
fpga_5gnr/fpga_5gnr_config_vf.cfg | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/fpga_5gnr/fpga_5gnr_config_vf.cfg b/fpga_5gnr/fpga_5gnr_config_vf.cfg
|
||||
index 0a82f52..81aa3bb 100644
|
||||
--- a/fpga_5gnr/fpga_5gnr_config_vf.cfg
|
||||
+++ b/fpga_5gnr/fpga_5gnr_config_vf.cfg
|
||||
@@ -7,9 +7,9 @@ pf_mode_en = 0
|
||||
[UL]
|
||||
bandwidth = 3
|
||||
load_balance = 128
|
||||
-vfqmap = 16,16,0,0,0,0,0,0
|
||||
+vfqmap = 32,0,0,0,0,0,0,0
|
||||
|
||||
[DL]
|
||||
bandwidth = 3
|
||||
load_balance = 128
|
||||
-vfqmap = 16,16,0,0,0,0,0,0
|
||||
+vfqmap = 32,0,0,0,0,0,0,0
|
||||
--
|
||||
2.29.2
|
||||
|
Loading…
Reference in New Issue
Block a user