Added ACC200 config file for pf-bb-config

This commit installs the pf-bb-config config files for ACC200 device.

Test Plan:
Pass: Test FEC Operator on lab with ACC200 device

Story: 2010341
Task: 46834

Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
Change-Id: Id88158209b584803b57c3c24692b2e8d8a3526a5
This commit is contained in:
Teresa Ho 2022-11-15 17:51:49 -05:00
parent 41b571351c
commit 5dee5799d4
4 changed files with 66 additions and 1 deletions

View File

@ -0,0 +1,59 @@
From 3d2da09d14dc4adefd79a2eee50d43556e618f0b Mon Sep 17 00:00:00 2001
From: Teresa Ho <teresa.ho@windriver.com>
Date: Mon, 14 Nov 2022 13:51:51 -0500
Subject: [PATCH] Added acc200_config_1vf_5g.cfg
Added config file for ACC200 specifying 1 VF and 5G.
Signed-off-by: Teresa Ho <teresa.ho@windriver.com>
---
acc200/acc200_config_1vf_5g.cfg | 37 +++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
create mode 100644 acc200/acc200_config_1vf_5g.cfg
diff --git a/acc200/acc200_config_1vf_5g.cfg b/acc200/acc200_config_1vf_5g.cfg
new file mode 100644
index 0000000..d4375ab
--- /dev/null
+++ b/acc200/acc200_config_1vf_5g.cfg
@@ -0,0 +1,37 @@
+; SPDX-License-Identifier: Apache-2.0
+; Copyright(c) 2020 Intel Corporation
+
+[MODE]
+pf_mode_en = 0
+
+[VFBUNDLES]
+num_vf_bundles = 1
+
+[MAXQSIZE]
+max_queue_size = 1024
+
+[QUL4G]
+num_qgroups = 0
+num_aqs_per_groups = 16
+aq_depth_log2 = 4
+
+[QDL4G]
+num_qgroups = 0
+num_aqs_per_groups = 16
+aq_depth_log2 = 4
+
+[QUL5G]
+num_qgroups = 4
+num_aqs_per_groups = 16
+aq_depth_log2 = 4
+
+[QDL5G]
+num_qgroups = 4
+num_aqs_per_groups = 16
+aq_depth_log2 = 4
+
+[QFFT]
+num_qgroups = 4
+num_aqs_per_groups = 16
+aq_depth_log2 = 4
+
--
2.25.1

View File

@ -1 +1,2 @@
Customize-fpga_5gnr-config-for-1-VF.patch
Added-acc200_config_1vf_5g.cfg.patch

View File

@ -1,5 +1,7 @@
usr/bin/pf_bb_config
usr/share/pf-bb-config/acc100/acc100_config_1vf_4g5g.cfg
usr/share/pf-bb-config/acc100/acc100_config_vf_5g.cfg
usr/share/pf-bb-config/acc200/acc200_config_16vf.cfg
usr/share/pf-bb-config/acc200/acc200_config_1vf_5g.cfg
usr/share/pf-bb-config/fpga_5gnr/fpga_5gnr_config_vf.cfg
usr/share/pf-bb-config/README.md
usr/share/pf-bb-config/README.md

View File

@ -28,10 +28,13 @@ DEBIAN_DESTDIR := $(CURDIR)/debian/tmp
override_dh_install:
install -d -m 755 ${DEBIAN_DESTDIR}/usr/bin
install -d -m 755 ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/acc100
install -d -m 755 ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/acc200
install -d -m 755 ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/fpga_5gnr
install -p -D -m 700 pf_bb_config ${DEBIAN_DESTDIR}/usr/bin/pf_bb_config
install -p -D -m 600 acc100/acc100_config_1vf_4g5g.cfg ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/acc100/acc100_config_1vf_4g5g.cfg
install -p -D -m 600 acc100/acc100_config_vf_5g.cfg ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/acc100/acc100_config_vf_5g.cfg
install -p -D -m 600 acc200/acc200_config_16vf.cfg ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/acc200/acc200_config_16vf.cfg
install -p -D -m 600 acc200/acc200_config_1vf_5g.cfg ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/acc200/acc200_config_1vf_5g.cfg
install -p -D -m 600 fpga_5gnr/fpga_5gnr_config_vf.cfg ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/fpga_5gnr/fpga_5gnr_config_vf.cfg
install -p -D -m 644 README.md ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/README.md
dh_install