From owner-freebsd-net@FreeBSD.ORG Thu Oct 3 04:34:03 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D615580E for ; Thu, 3 Oct 2013 04:34:03 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ea0-x236.google.com (mail-ea0-x236.google.com [IPv6:2a00:1450:4013:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6CA99213D for ; Thu, 3 Oct 2013 04:34:03 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id o10so819670eaj.27 for ; Wed, 02 Oct 2013 21:34:01 -0700 (PDT) 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:content-type; bh=fSOQ6q0/oRcS7UBV92MQLhtbpeL6OMSxDRosxGV07/E=; b=NTul8cqqMrOqAtE5Xt33xzILOBgJB6UFe9x7nd1VMkePL/F4IAshTMewpDs128Nkcu vh9kzTuaZ15zkqZUpCyVH9gwde/psW5/K+gmmJr1faQmmv5LZPqhhuLwrSAU2iBNFNo6 yQDxIw+yd/bp2hormf1mm+yorlyOckOFio81vltX4b9BVZT2X4ibdSNNKM1vzbvVs7cP 47RfbrXFJIxInsJwDd5F1HYZmT6jQZ1L0SAxdO6SAH4aeIPkcwwJJlEEeV28NNADuEMN nuS+verdzDPP5+QkbuD6JEfReDNqAQffMRZTkGFDEcQE02+anP+B3039gW6pea+0qwRT tNuw== MIME-Version: 1.0 X-Received: by 10.14.172.133 with SMTP id t5mr9297931eel.35.1380774841857; Wed, 02 Oct 2013 21:34:01 -0700 (PDT) Received: by 10.14.105.137 with HTTP; Wed, 2 Oct 2013 21:34:01 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Oct 2013 21:34:01 -0700 Message-ID: Subject: Re: netmap: understanding pkg-gen.c From: hiren panchasara To: Luigi Rizzo Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2013 04:34:03 -0000 On Wed, Oct 2, 2013 at 4:39 PM, hiren panchasara wrote: > > > > On Wed, Oct 2, 2013 at 4:15 PM, hiren panchasara < > hiren.panchasara@gmail.com> wrote: > >> >> >> >> On Wed, Oct 2, 2013 at 3:11 PM, hiren panchasara < >> hiren.panchasara@gmail.com> wrote: >> >>> >>> >>> >>> On Wed, Oct 2, 2013 at 1:18 PM, hiren panchasara < >>> hiren.panchasara@gmail.com> wrote: >>> >>>> >>>> Thanks Luigi. >>>> >>>> Coming back to this thread to actually understand what's going on. >>>> >>>> >>>> On Tue, Sep 24, 2013 at 8:37 PM, Luigi Rizzo wrote: >>>> >>>>> > >>>>> > On this box, I have 2 interfaces igb0 (10.73.149.28) and ix1 >>>>> (10.73.149.17) >>>>> > and this is how I am using this binary: >>>>> > >>>>> > -bash-4.2$ sudo ./pkt-gen -i ix1 -f tx -n 100000000 -c 8 -p 8 -d >>>>> > 10.73.149.17 -s 10.73.149.28 >>>>> >>>> Thanks to Juli, I realized that I was doing it wrong. Trying to _send_ pkts from ix1 via netmap and looking at ix1's _receive_ buffers. I am setting up another machine with ixgbe to have 2 different machines for proper testing. Apologies for the noise. cheers, Hiren