From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 47687A0528 for ; Fri, 10 Jul 2020 11:10:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8AB5F1DC51; Fri, 10 Jul 2020 11:10:19 +0200 (CEST) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by dpdk.org (Postfix) with ESMTP id B2A711DB49 for ; Fri, 10 Jul 2020 11:10:17 +0200 (CEST) Received: by mail-lf1-f48.google.com with SMTP id g2so2808994lfb.0 for ; Fri, 10 Jul 2020 02:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IoJfc/n8aTUCmrAnfyAfKNMdui0wPOv+Q+PKZ+uGbpM=; b=p4nHst/AgkORCpOZaXuBgfjJPrOplmxhS780+nQitZlqrfMYdcEpeZNpjx006Pv8CE ffBFxwf7VZ18D0DrNnJb3iulzfvZt05iE06qnIi/vAx7XtkjCayOlDJ6BORYoP/ANVum 1Q9U0Xve/7QRytI85H+srC+Fy/uagWLVSl/ikkdi7UYLzMcrarGwjxPN17FyxdItLLmL JAHruUy7keffSXcKbnKi5NccLU5woLKrei0cQ/naIEaXwDns4zrj1QhV5r4Wl3kaqKA9 BiJXeGc5ujt7daQaDrVgl9AiAdYGlzezguM8SOYNNkM8mUhqxnubkm8C1KyI/t1UEqcv ahoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IoJfc/n8aTUCmrAnfyAfKNMdui0wPOv+Q+PKZ+uGbpM=; b=CRe5GrUqMOkvXsDfQfaZk7IBFdFAmogf79PB2erZREGm2/f1Y+wSvHHDFgyTxwYe9o W8edZEMFlAO/8WyoRQTwL0qXXLGlhoOcS103UjrxUB72+ZSzsSPbM0UxLTJ1YC3PaOPt 3MD8LLQNM/zmcrQafkhJ5HQ4eNVhOoXUae4kaeBK7c0CXPjxLG/0lH5TLShhZj0Y9Wxd edP385zr92dkclwp1NFtjjBlvtURj2dQZywadLmTaKYeqbw70+R0upeaG8OAp3JW7MaC ixTDmm+u44CaPrRmYuSshjlW1O4bqAXfFMbZujlRQwfAfaDD71juVMFCYC7G2+ndM+Mq BiOQ== X-Gm-Message-State: AOAM530OU41ZZYTLR47g+8hpe7cGmGM0rWtQMnbNLZ9h1cbSu/Gwlukn bCzOlGmpeXXhpvAr5krmLa7/h04rc3889X12cRY= X-Google-Smtp-Source: ABdhPJx/ZcqAPeTtziQboGTAPFs/nAX85T592o41X64obeN6EruL+ZxuasBRMm3/hbr9xLTtb0CDtQmpValLGtozeKw= X-Received: by 2002:a19:c886:: with SMTP id y128mr27777901lff.98.1594372216940; Fri, 10 Jul 2020 02:10:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mishal Shah Date: Fri, 10 Jul 2020 14:40:05 +0530 Message-ID: To: "Xu, Chenjie" Cc: "Van Haaren, Harry" , "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] How to specify packet size of testpmd X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi, You can use the set size command on pktgen command line to set the packet size. If you're using Lua script for more customizations/situations, you can use the following command: pktgen.set(port, "size", pktSize); The entire list of commands can be found at https://pktgen-dpdk.readthedocs.io/en/latest/commands.html Hope that helps. Regards, Mishal