From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 82CD8A0507; Wed, 6 Apr 2022 17:08:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 31BEA42869; Wed, 6 Apr 2022 17:07:50 +0200 (CEST) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id B90DB4284F for ; Wed, 6 Apr 2022 17:07:47 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id 99388184FF2; Wed, 6 Apr 2022 17:07:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at siecit.sk Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ruR9e786CsmK; Wed, 6 Apr 2022 17:07:45 +0200 (CEST) Received: from entguard.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 196FC184FE9; Wed, 6 Apr 2022 17:07:44 +0200 (CEST) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, david.marchand@redhat.com, Honnappa.Nagarahalli@arm.com, ohilyard@iol.unh.edu, lijuan.tu@intel.com Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [RFC PATCH v1 03/13] dts: merge DTS conf/ports.cfg to DPDK Date: Wed, 6 Apr 2022 15:07:32 +0000 Message-Id: <20220406150742.2914878-4-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220406150742.2914878-1-juraj.linkes@pantheon.tech> References: <20220406150742.2914878-1-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --- dts/conf/ports.cfg | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dts/conf/ports.cfg diff --git a/dts/conf/ports.cfg b/dts/conf/ports.cfg new file mode 100644 index 0000000000..1102375593 --- /dev/null +++ b/dts/conf/ports.cfg @@ -0,0 +1,24 @@ +# DUT Port Configuration +# [DUT IP] +# ports= +# pci=Pci BDF,intf=Kernel interface; +# pci=Pci BDF,mac=Mac address,peer=Tester Pci BDF,numa=Port Numa +# pci=Pci BDF,peer=IXIA:card.port +# pci=Pci BDF,peer=TREX:port +# pci=Pci BDF,peer=Tester Pci BDF,tp_ip=$(IP),tp_path=$({PERL_PATH); +# pci=Pci BDF,peer=Tester Pci BDF,sec_port=yes,first_port=Pci BDF; +# [VM NAME] virtual machine name; This section is for virutal scenario +# ports = +# dev_idx=device index of ports info, peer=Tester Pci BDF +[DUT IP] +ports = + pci=XX:XX.X,intf=eth0; + pci=YY:YY.Y,mac=XX:XX:XX:XX:XX:XX,peer=ZZ:ZZ.Z,numa=0; + pci=ZZ:ZZ.Y,peer=IXIA:X.Y; + pci=ZZ:ZZ.Y,peer=TREX:X; + pci=0000:XX:XX.X,peer=0000:ZZ:ZZ.Z,tp_ip=127.0.0.1,tp_path=/home/libertyTrailTP_322291/perl; + pci=0000:YY:YY.Y,peer=0000:ZZ:ZZ.Z,sec_port=yes,first_port=XX:XX.X; +[VM NAME] +ports = + dev_idx=0,peer=0000:XX:XX.X; + dev_idx=1,peer=0000:YY:YY.Y; -- 2.20.1