From b1d906bf319682dc85f15811006f1d4a5b730896 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Wed, 14 Aug 2019 14:23:42 +0800 Subject: [PATCH] templates: rename hpsa to hosts-ia Issue-ID: INF-4 Signed-off-by: Jackie Huang Change-Id: I727c00c184424e0b98672f70d4f379e060247271 --- meta-oran/templates/default/require | 3 +-- meta-oran/templates/feature/hosts-ia/README | 4 ++++ meta-oran/templates/feature/{hpsa => hosts-ia}/files/hpsa.cfg | 2 -- .../feature/{hpsa => hosts-ia}/files/other_drivers.cfg | 2 -- meta-oran/templates/feature/hosts-ia/template.conf | 9 +++++++++ meta-oran/templates/feature/hpsa/README | 4 ---- meta-oran/templates/feature/hpsa/template.conf | 10 ---------- 7 files changed, 14 insertions(+), 20 deletions(-) create mode 100644 meta-oran/templates/feature/hosts-ia/README rename meta-oran/templates/feature/{hpsa => hosts-ia}/files/hpsa.cfg (90%) rename meta-oran/templates/feature/{hpsa => hosts-ia}/files/other_drivers.cfg (99%) create mode 100644 meta-oran/templates/feature/hosts-ia/template.conf delete mode 100644 meta-oran/templates/feature/hpsa/README delete mode 100644 meta-oran/templates/feature/hpsa/template.conf diff --git a/meta-oran/templates/default/require b/meta-oran/templates/default/require index 8f07369..db29db8 100644 --- a/meta-oran/templates/default/require +++ b/meta-oran/templates/default/require @@ -1,5 +1,4 @@ -feature/host-rt-tune -feature/hpsa +feature/hosts-ia feature/kvm feature/kubernetes feature/self-hosted diff --git a/meta-oran/templates/feature/hosts-ia/README b/meta-oran/templates/feature/hosts-ia/README new file mode 100644 index 0000000..432eba4 --- /dev/null +++ b/meta-oran/templates/feature/hosts-ia/README @@ -0,0 +1,4 @@ +This is a template for performace tunning of wrlinux preempt-rt kernel. + +* Tested server: + - HP DL380P diff --git a/meta-oran/templates/feature/hpsa/files/hpsa.cfg b/meta-oran/templates/feature/hosts-ia/files/hpsa.cfg similarity index 90% rename from meta-oran/templates/feature/hpsa/files/hpsa.cfg rename to meta-oran/templates/feature/hosts-ia/files/hpsa.cfg index fd993c2..7c6a122 100644 --- a/meta-oran/templates/feature/hpsa/files/hpsa.cfg +++ b/meta-oran/templates/feature/hosts-ia/files/hpsa.cfg @@ -1,5 +1,3 @@ -# referenc: http://lxgit.wrs.com/cgit/kernel-cache/tree/features/wr-hp-support?h=WRLINUX_7_0_HEAD - # for HP Smart Array CONFIG_SCSI_HPSA=y diff --git a/meta-oran/templates/feature/hpsa/files/other_drivers.cfg b/meta-oran/templates/feature/hosts-ia/files/other_drivers.cfg similarity index 99% rename from meta-oran/templates/feature/hpsa/files/other_drivers.cfg rename to meta-oran/templates/feature/hosts-ia/files/other_drivers.cfg index 7b61886..bccda6b 100644 --- a/meta-oran/templates/feature/hpsa/files/other_drivers.cfg +++ b/meta-oran/templates/feature/hosts-ia/files/other_drivers.cfg @@ -569,5 +569,3 @@ CONFIG_LIBIPW=m CONFIG_IWLEGACY=m CONFIG_IWL4965=m CONFIG_IWL3945=m - - diff --git a/meta-oran/templates/feature/hosts-ia/template.conf b/meta-oran/templates/feature/hosts-ia/template.conf new file mode 100644 index 0000000..50d5e7e --- /dev/null +++ b/meta-oran/templates/feature/hosts-ia/template.conf @@ -0,0 +1,9 @@ +# +# Template to enable support for IA hosts +# + +EXTRA_KERNEL_FILES =. "${TEMPLATES_PATH}/feature/hosts-ia/files:" +EXTRA_KERNEL_SRC_URI += " \ + file://hpsa.cfg \ + file://other_drivers.cfg \ +" diff --git a/meta-oran/templates/feature/hpsa/README b/meta-oran/templates/feature/hpsa/README deleted file mode 100644 index 505bf4c..0000000 --- a/meta-oran/templates/feature/hpsa/README +++ /dev/null @@ -1,4 +0,0 @@ -This is a temporary template for testing the low latency performace -of wrlinux preempt-rt kernel. - -* The test will be ran on HP DL380P server, so hpsa driver is needed diff --git a/meta-oran/templates/feature/hpsa/template.conf b/meta-oran/templates/feature/hpsa/template.conf deleted file mode 100644 index 97a0743..0000000 --- a/meta-oran/templates/feature/hpsa/template.conf +++ /dev/null @@ -1,10 +0,0 @@ -# -# Template to enable HPSA support -# - - -EXTRA_KERNEL_FILES =. "${TEMPLATES_PATH}/feature/hpsa/files:" -EXTRA_KERNEL_SRC_URI += " \ - file://hpsa.cfg \ - file://other_drivers.cfg \ -" -- 2.16.6