From owner-freebsd-net@FreeBSD.ORG Thu Sep 26 07:59:39 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 3C128B53 for ; Thu, 26 Sep 2013 07:59:39 +0000 (UTC) (envelope-from micchie@outlook.com) Received: from bay0-omc3-s25.bay0.hotmail.com (bay0-omc3-s25.bay0.hotmail.com [65.54.190.163]) by mx1.freebsd.org (Postfix) with ESMTP id 2501925A1 for ; Thu, 26 Sep 2013 07:59:39 +0000 (UTC) Received: from BAY176-W22 ([65.54.190.187]) by bay0-omc3-s25.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 26 Sep 2013 00:58:33 -0700 X-TMN: [eXzTf3KLcw3fh8ujOI6Kj2hg5WyE+T2a] X-Originating-Email: [micchie@outlook.com] Message-ID: From: Michio Honda To: hiren panchasara , Luigi Rizzo Subject: RE: netmap: traffic distribution Date: Thu, 26 Sep 2013 16:58:32 +0900 Importance: Normal In-Reply-To: References: , , , , MIME-Version: 1.0 X-OriginalArrivalTime: 26 Sep 2013 07:58:33.0487 (UTC) FILETIME=[327369F0:01CEBA8E] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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, 26 Sep 2013 07:59:39 -0000 Hi=2C=20 The handiest way to try flexible flow distribution is using Flow Director.I= 've confirmed that the patch posted to this list two years ago works with n= etmap/ixgbe.http://freebsd.1045724.n5.nabble.com/Adding-Flow-Director-sysct= ls-to-ixgbe-4-td4769489.html Cheers=2C- Michio > Date: Wed=2C 25 Sep 2013 02:12:54 -0700 > Subject: Re: netmap: traffic distribution > From: hiren.panchasara@gmail.com > To: rizzo@iet.unipi.it > CC: freebsd-net@freebsd.org >=20 > On Wed=2C Sep 25=2C 2013 at 2:05 AM=2C Luigi Rizzo w= rote: >=20 > > On Wed=2C Sep 25=2C 2013 at 10:53 AM=2C hiren panchasara > > wrote: > > > > > > > > > > > > On Wed=2C Sep 25=2C 2013 at 1:22 AM=2C Luigi Rizzo wrote: > > >> > > >> On Wed=2C Sep 25=2C 2013 at 10:07 AM=2C hiren panchasara > > >> wrote: > > >> > > > >> > I am providing line rate traffic (via pkg-gen.c) to my 10gig ix > > >> > interface. > > >> > > > >> > Now on receiving side=2C is there a way to sub-divide the traffic = into > > >> > multiple workloads using netmap? > > >> > > > >> > For example=2C can I get two 5G flows from 10Gbps traffic? > > >> > > >> not directly. You'd need to send packets with different addresses th= at > > >> match > > >> the way the filters on the NIC (RSS or similar) are programmed. > > > > > > > > > Thanks for quick responses=2C Liugi. > > > > > > So=2C FreeBSD needs PF_RING like thing? Any other way we can do it? > > > > no=2C > > PF_RING does nothing more than netmap. > > > Okay. >=20 > > > > the partitioning of traffic into queues is done by the NIC's hardware= =2C > > through some filters that i mentioned and are NIC specific. > > They are often named RSS (receive side scaling)=2C RFS (receive flow > > steering)=2C > > Flow Director=2C and so on. Some NICs compute a hash of various header > > fields > > and use the result to direct packets to specific queues. Others have > > "exact match" filters where you can map certain mac headers to > > specific queues=2C and so on. > > >=20 > Alright. I will investigate more about RSS/RFS for ixgbe. >=20 > Thanks a bunch=2C > Hiren >=20 > > > > A software demultiplexer that sits on top of a netmap ring > > may certainly be useful=2C but i have not yet designed it. > > > > > > cheers > > luigi > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe=2C send any mail to "freebsd-net-unsubscribe@freebsd.org" >=20 =