From patchwork Thu Mar 11 10:32:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Russkikh X-Patchwork-Id: 12130883 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0364C433E0 for ; Thu, 11 Mar 2021 10:34:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 861F864FC0 for ; Thu, 11 Mar 2021 10:34:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232224AbhCKKdf (ORCPT ); Thu, 11 Mar 2021 05:33:35 -0500 Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]:23312 "EHLO mx0b-0016f401.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232108AbhCKKdE (ORCPT ); Thu, 11 Mar 2021 05:33:04 -0500 Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12BAWQho021208; Thu, 11 Mar 2021 02:33:00 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=5d54EJ7pwSwc324PdabT3Ob41rAqLEgViESSIjvMSK0=; b=aZJn0i47ZNsU330FMg8+FJ+Fy3eeTmIIpDy1+x93+CnNbV12CFq9RNijruGC/CErHzbo KUwXqz0trZ+kMFSztW3zVjJynXLgK+DMmyz4XiQb9j4Lr5Nsl0N1VNXYgqVq4JGHHXEU u7GQsXF4a5hCC64K8c+N0lR+a+XXBVDAmBfoZuzZEmphkSkgK9CbIk7Z0zHtgGpH7ZTZ BYywcjVdkzrKwQrwFFay5reASfeKt8t9ZJ6U5lVkZZoUFTU0JKu5bwTHDdYaWTwbfIe6 HlbISb5K0K/cpNUI/yy6NSt2RczAgebKsJsYnLJ5B5Q/t6xThcd7Ojv8z7uDEw5+aCrB LA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 374drr6wwc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 11 Mar 2021 02:33:00 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 11 Mar 2021 02:32:58 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 11 Mar 2021 02:32:58 -0800 Received: from EL-LT0043.marvell.com (unknown [10.193.38.106]) by maili.marvell.com (Postfix) with ESMTP id 8AA433F7041; Thu, 11 Mar 2021 02:32:57 -0800 (PST) From: Igor Russkikh To: CC: Jesper Dangaard Brouer , "David S . Miller" , Igor Russkikh Subject: [PATCH v3 net-next 0/2] pktgen: scripts improvements Date: Thu, 11 Mar 2021 11:32:51 +0100 Message-ID: <20210311103253.14676-1-irusskikh@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-03-11_04:2021-03-10,2021-03-11 signatures=0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Hello netdev community, Please consider small improvements to pktgen scripts we use in our environment. Adding delay parameter through command line, Adding new -a (append) parameter to make flex runs v3: change us to ns in docs v2: Review comments from Jesper CC: Jesper Dangaard Brouer Igor Russkikh (2): samples: pktgen: allow to specify delay parameter via new opt samples: pktgen: new append mode samples/pktgen/README.rst | 18 +++++++++++ samples/pktgen/functions.sh | 7 ++++- samples/pktgen/parameters.sh | 15 ++++++++- .../pktgen_bench_xmit_mode_netif_receive.sh | 3 -- .../pktgen_bench_xmit_mode_queue_xmit.sh | 3 -- samples/pktgen/pktgen_sample01_simple.sh | 25 ++++++++------- samples/pktgen/pktgen_sample02_multiqueue.sh | 29 +++++++++-------- .../pktgen_sample03_burst_single_flow.sh | 15 ++++----- samples/pktgen/pktgen_sample04_many_flows.sh | 17 +++++----- .../pktgen/pktgen_sample05_flow_per_thread.sh | 17 +++++----- ...sample06_numa_awared_queue_irq_affinity.sh | 31 ++++++++++--------- 11 files changed, 110 insertions(+), 70 deletions(-) Acked-by: Jesper Dangaard Brouer