From 09262abca690ef14477f6b5925852a906fb19d5e Mon Sep 17 00:00:00 2001 From: Matthew Crymble Date: Thu, 21 Apr 2022 17:19:52 -0500 Subject: tests: streaming: select appropriate uhd config file before test runs --- .../tests/pytests/uhd_configs/uhd_dpdk_100GbE.conf | 22 ++++++++++++++++++++++ host/tests/pytests/uhd_configs/uhd_dpdk_10GbE.conf | 22 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 host/tests/pytests/uhd_configs/uhd_dpdk_100GbE.conf create mode 100644 host/tests/pytests/uhd_configs/uhd_dpdk_10GbE.conf (limited to 'host/tests/pytests') diff --git a/host/tests/pytests/uhd_configs/uhd_dpdk_100GbE.conf b/host/tests/pytests/uhd_configs/uhd_dpdk_100GbE.conf new file mode 100644 index 000000000..088fc2545 --- /dev/null +++ b/host/tests/pytests/uhd_configs/uhd_dpdk_100GbE.conf @@ -0,0 +1,22 @@ +;This is a generated template for uhd.conf +;To apply these changes replace /etc/uhd/uhd.conf with this file. +;Users will likely want to change some of these values to better +;suit their individual system. +;more info here: https://files.ettus.com/manual/page_dpdk.html#dpdk_nic_config +[use_dpdk=1] +dpdk_mtu=9000 +dpdk_corelist=0,1,2 +dpdk_num_mbufs=8192 +dpdk_mbuf_cache_size=64 +dpdk_driver=/usr/local/lib/dpdk-pmds/ + +[dpdk_mac=10:70:fd:1b:ef:bc] +dpdk_lcore = 1 +dpdk_ipv4 = 192.168.10.1/24 +dpdk_num_desc=4096 + +[dpdk_mac=10:70:fd:1b:ef:bd] +dpdk_lcore = 2 +dpdk_ipv4 = 192.168.20.1/24 +dpdk_num_desc=4096 + diff --git a/host/tests/pytests/uhd_configs/uhd_dpdk_10GbE.conf b/host/tests/pytests/uhd_configs/uhd_dpdk_10GbE.conf new file mode 100644 index 000000000..c976b755a --- /dev/null +++ b/host/tests/pytests/uhd_configs/uhd_dpdk_10GbE.conf @@ -0,0 +1,22 @@ +;This is a generated template for uhd.conf +;To apply these changes replace /etc/uhd/uhd.conf with this file. +;Users will likely want to change some of these values to better +;suit their individual system. +;more info here: https://files.ettus.com/manual/page_dpdk.html#dpdk_nic_config +[use_dpdk=1] +dpdk_mtu=9000 +dpdk_corelist=0,1,2 +dpdk_num_mbufs=8192 +dpdk_mbuf_cache_size=64 +dpdk_driver=/usr/local/lib/dpdk-pmds/ + +[dpdk_mac=90:e2:ba:db:53:3c] +dpdk_lcore = 1 +dpdk_ipv4 = 192.168.10.1/24 +dpdk_num_desc=4096 + +[dpdk_mac=90:e2:ba:db:53:3d] +dpdk_lcore = 1 +dpdk_ipv4 = 192.168.20.1/24 +dpdk_num_desc=4096 + -- cgit v1.2.3