* INTC Contribution to the O-RAN F Release for O-DU Low
[o-du/phy.git] / fhi_lib / app / run_o_ru.sh
old mode 100644 (file)
new mode 100755 (executable)
index e9204f5..513840d
@@ -1,36 +1,28 @@
 #! /bin/bash
 
-#/******************************************************************************
-#*
-#*   Copyright (c) 2019 Intel.
-#*
-#*   Licensed under the Apache License, Version 2.0 (the "License");
-#*   you may not use this file except in compliance with the License.
-#*   You may obtain a copy of the License at
-#*
-#*       http://www.apache.org/licenses/LICENSE-2.0
-#*
-#*   Unless required by applicable law or agreed to in writing, software
-#*   distributed under the License is distributed on an "AS IS" BASIS,
-#*   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#*   See the License for the specific language governing permissions and
-#*   limitations under the License.
-#*
-#*******************************************************************************/
+#******************************************************************************
+#
+#   Copyright (c) 2019 Intel.
+#
+#   Licensed under the Apache License, Version 2.0 (the "License");
+#   you may not use this file except in compliance with the License.
+#   You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#   Unless required by applicable law or agreed to in writing, software
+#   distributed under the License is distributed on an "AS IS" BASIS,
+#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#   See the License for the specific language governing permissions and
+#   limitations under the License.
+#
+#******************************************************************************/
 
 ulimit -c unlimited
 echo 1 > /proc/sys/kernel/core_uses_pid
 
-grep Huge /proc/meminfo
-huge_folder="/mnt/huge_ru"
-[ -d "$huge_folder" ] || mkdir -p $huge_folder
-if ! mount | grep $huge_folder; then
- mount none $huge_folder -t hugetlbfs -o rw,mode=0777
-fi
-
-#40G
-./build/sample-app ./usecase/mu1_100mhz/config_file_o_ru.dat 0000:d8:02.0 0000:d8:02.1
-
-umount $huge_folder
-rmdir $huge_folder
-
+./build/sample-app --usecasefile ./usecase/cat_b/mu1_100mhz/3301/usecase_ru.cfg --num_eth_vfs 8 \
+--vf_addr_o_xu_a "0000:17:01.0,0000:17:09.0" \
+--vf_addr_o_xu_b "0000:17:11.0,0000:17:19.0" \
+--vf_addr_o_xu_c "0000:65:01.0,0000:65:09.0" \
+--vf_addr_o_xu_d "0000:65:01.1,0000:65:09.1"