From owner-freebsd-net@FreeBSD.ORG Wed Sep 25 08:22:43 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 01CBCA51 for ; Wed, 25 Sep 2013 08:22:42 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com [IPv6:2a00:1450:4010:c04::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 820D3217D for ; Wed, 25 Sep 2013 08:22:42 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id y6so4705810lbh.21 for ; Wed, 25 Sep 2013 01:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/nMYwMHsbl/UQ7b8IXfsgIjmHZoMdIiKZw45o8yAAYM=; b=Mx+uHQOR6VeaVuVR6TWaE9cMx5RDkYDV8j5LkueuCT1EfUowR264f+n2scF6qKT2n2 ngbSVtc3lnclZqDaSqcC2cqpLilW9sTkjHD/cLxMhF/7/7g1gWIKZqcebvlImvH9geZe 9a/wT7JyZVdVMu7sRql7Pa9eFHBwvEUDRfHoWfpTgDGi5ke2fNq4IWxeQJJIyCrYr4BL ZJmw9pSWQXWbT4QIAJwgK59ly/7BxsGr7u3+84/Oh3QoiU5i9oYINv8wy1PG84H6ZvSB Y52NMnczf8otuyqgF4msV0sP8lOoUhS4g/R+iLO4uMD4WqiRzcwHFY7Du2/UW7BVUNnV Z7WA== MIME-Version: 1.0 X-Received: by 10.152.7.100 with SMTP id i4mr674506laa.35.1380097360370; Wed, 25 Sep 2013 01:22:40 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.172.105 with HTTP; Wed, 25 Sep 2013 01:22:40 -0700 (PDT) In-Reply-To: References: Date: Wed, 25 Sep 2013 10:22:40 +0200 X-Google-Sender-Auth: MDKOlErP92MI26kUjxlM8oZT01g Message-ID: Subject: Re: netmap: traffic distribution From: Luigi Rizzo To: hiren panchasara Content-Type: text/plain; charset=ISO-8859-1 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: Wed, 25 Sep 2013 08:22:43 -0000 On Wed, Sep 25, 2013 at 10:07 AM, hiren panchasara wrote: > > I am providing line rate traffic (via pkg-gen.c) to my 10gig ix interface. > > Now on receiving side, is there a way to sub-divide the traffic into > multiple workloads using netmap? > > For example, can I get two 5G flows from 10Gbps traffic? not directly. You'd need to send packets with different addresses that match the way the filters on the NIC (RSS or similar) are programmed. cheers luigi