From patchwork Wed Apr 6 15:07:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Juraj_Linke=C5=A1?= X-Patchwork-Id: 109254 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8214CA0507; Wed, 6 Apr 2022 17:08:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 450C142862; Wed, 6 Apr 2022 17:07:49 +0200 (CEST) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id 77ECB4284B 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 52003184FF1; 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 aLKm_K4p7hV7; 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 9EEB8184FE8; Wed, 6 Apr 2022 17:07:43 +0200 (CEST) From: =?utf-8?q?Juraj_Linke=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_Linke=C5=A1?= Subject: [RFC PATCH v1 02/13] dts: merge DTS conf/pktgen.cfg to DPDK Date: Wed, 6 Apr 2022 15:07:31 +0000 Message-Id: <20220406150742.2914878-3-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 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/pktgen.cfg | 59 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 dts/conf/pktgen.cfg diff --git a/dts/conf/pktgen.cfg b/dts/conf/pktgen.cfg new file mode 100644 index 0000000000..3176f49625 --- /dev/null +++ b/dts/conf/pktgen.cfg @@ -0,0 +1,59 @@ +#PkTGEN configuration +#[PKTGEN DPDK] +# trex_root_path: trex tar package decompression directory +# trex server binary file is under this directory. +# trex_lib_path(optional): trex stateless client libs directory, it is optional. +# If it is not set, use a default relative directory. +# coremask: +# 1. a list of masks (one core mask per port), sort sequence as +# , +# example: core_mask=0x3,0x5 +# 2. CORE_MASK_PIN +# for each dual ports (a group that shares the same cores), the cores will +# be divided half pinned for each port. +# example: core_mask=CORE_MASK_PIN +# num -n: Number of memory channels +# proc_type --proc-type: Type of this process +# pci_blocklist --pci-blocklist, -b: Add a PCI device in block list. +# pci_allowlist --pci-allowlist, -a: Add a PCI device in allow list. +# file_prefix --file-prefix: Prefix for hugepage filenames +# socket_memory --socket-mem: Memory to allocate on specific sockets +# mapping_ports -m: Matrix for mapping ports to logical cores. +# pcap_port_num -s P:file: The PCAP packet file to stream. P is the port number. +# start_trex: Set to a nonempty value to start trex ourselves. +[TREX] +trex_root_path=/opt/trex-core-2.26 +trex_lib_path=/opt/trex/vx.xxx/automation/trex_control_plane/interactive +config_file=/etc/trex_cfg.yaml +server=10.67.111.143 +pcap_file=/opt/trex-core-2.26/scripts/stl/sample.pcap +core_mask=0x3,0x5 +start_trex=yes + +# IXIA port Configuration +# IxiaGroup: Group name for IXIA ports +# Version : IXIA TCL server version +# IP : IXIA server IP address +# Ports : [IXIA port list] +# ixia_force100g: We need to set this to enable if we need IXIA port work in 100G mode. +[IXIA] +ixia_version=6.62 +ixia_ip=xxx.xxx.xxx.xxx +ixia_ports= + card=1,port=1; + card=1,port=2; + card=1,port=3; + card=1,port=4; +ixia_force100g=disable +[IXIA_NETWORK] +ixia_version=9.0 +ixia_ip=xxx.xxx.xxx.xxx +# ixia network REST server ip address +ixnet_api_server_ip=xxx.xxx.xxx.xxx +# maximum re-run traffic times, default is 5 times. (optional) +#max_retry=5 +ixia_ports= + card=1,port=1; + card=1,port=2; + card=1,port=3; + card=1,port=4;