From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f174.google.com (mail-yw0-f174.google.com [209.85.161.174]) by dpdk.org (Postfix) with ESMTP id 682DD32A5 for ; Sun, 13 Mar 2016 06:44:25 +0100 (CET) Received: by mail-yw0-f174.google.com with SMTP id h129so134274700ywb.1 for ; Sat, 12 Mar 2016 21:44:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=FAtiI8vZE8Ntb8IOsFSxEOMDlyyw60P4UvnPxpTjgp8=; b=L+WWP6XuPR7enp+KRL8EmIB1DcKAzsd+EC6A1hTYJIX32wDxwn/AgGNSpEZvC2fJRE gYzlwx7Q8Rb6BFBpPAuQetETOI76wBuiLZB17SRfa1mGsLmIvgZgHE5OiIrN5sGZ/5Du oCQWOeJFB/GXiGqaBRnTdJs9LCs/Zf35NbH3wzDjUvxd4mHhT4A2h6zvSvC1AzBR6vbk iTbcLPfHkNDY/iSgzqx2MQ5a6wvy5hqB0E7lub2D+2rsFcEgzEOI+wggidCERUb9Hfcy UpTC1GU885VF73jBz2JiEacK2f+koJj2RBoFua3qxve/bw6EzJqyoOg2zjBl+9/SqR/J utfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=FAtiI8vZE8Ntb8IOsFSxEOMDlyyw60P4UvnPxpTjgp8=; b=ScSuSh1WmpNgXXqwv/xYFPqX6nZEBwAm70wzy7uD2ceElLB7Zaf7P9cP6KibtbYZbl vwLAfVyORXlNvvVCp8w0ZmkWjS/L4DohDg25NqzDA7gXXB/IvHox+zfDJc4+hvJZsoJ6 XaX8XLIJyYD7lDDS9K15TcEiitSddnDygDSQS7ajvISbcHc/QoQz1vAhhUV70K0Dz0pw vVHpfzade/x6glS758Cto38TmOjW67gqNoKhNxbXfXUc7wKj6d6YB078AnNgbjoRVQ3B W/4oMh4YwXR6tDOsqPTj+sTrECTPtZUNfDM3It5+jifarw6FJfqeerM/OD10NiZ6c9Ob i2qw== X-Gm-Message-State: AD7BkJIiniqS7R7qdZSK0kLf1IbZ+Mg2YA6/NXRvXNluVR1GbmIF71mvq1uY75Sm2QcWFA== X-Received: by 10.37.31.11 with SMTP id f11mr9715171ybf.110.1457847864793; Sat, 12 Mar 2016 21:44:24 -0800 (PST) Received: from mail-yw0-f181.google.com (mail-yw0-f181.google.com. [209.85.161.181]) by smtp.gmail.com with ESMTPSA id a10sm10529020ywc.52.2016.03.12.21.44.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Mar 2016 21:44:23 -0800 (PST) Received: by mail-yw0-f181.google.com with SMTP id d65so134227368ywb.0 for ; Sat, 12 Mar 2016 21:44:23 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.37.230.204 with SMTP id d195mr9139092ybh.127.1457847863009; Sat, 12 Mar 2016 21:44:23 -0800 (PST) Received: by 10.37.59.21 with HTTP; Sat, 12 Mar 2016 21:44:22 -0800 (PST) In-Reply-To: References: Date: Sun, 13 Mar 2016 13:44:22 +0800 X-Gmail-Original-Message-ID: Message-ID: From: Royce Niu To: "Wiles, Keith" Cc: Royce Niu , "users@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] No packet generated by dpdk pktgen in VM X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Mar 2016 05:44:26 -0000 Thanks for your explanation. I see now. On Sun, Mar 13, 2016 at 11:49 AM, Wiles, Keith wrote: > >Dear all, > > > >I have an issue in DPDK pkt-gen. > > > >I use DPDK pkt-gen in KVM VM with two virtio NIC. > >The VM has one core only and huge pages num is 1024 > > > >The command is "sudo app/build/pktgen -c 0x1 -n 3 --proc-type auto > >--socket-mem 128 -- -P -m "0.0,0.1" -f test/set_seq.pkt" > > Pktgen requires at least two cores or lcores to as the first lcore is > consumed by the codline, display output and timers. Because the first core > is busy handling the non-port related tasks it can not do RX/TX work. > > > > >When I use start 0. No packet is generated. Could you please help me on > >this issue? Thanks > > > > > > > >-- > >Regards, > > > >Royce Niu > > > > > Regards, > Keith > > > > > -- Regards, Royce Niu