From owner-freebsd-net@FreeBSD.ORG Thu Oct 9 08:56:57 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9BF0A9CE for ; Thu, 9 Oct 2014 08:56:57 +0000 (UTC) Received: from COL004-OMC2S2.hotmail.com (col004-omc2s2.hotmail.com [65.55.34.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 79CE7BE8 for ; Thu, 9 Oct 2014 08:56:57 +0000 (UTC) Received: from COL127-W11 ([65.55.34.71]) by COL004-OMC2S2.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Thu, 9 Oct 2014 01:56:51 -0700 X-TMN: [yetfwFpogWfz0qVgrwD6LtKAfnut6cWw] X-Originating-Email: [deco33000@hotmail.com] Message-ID: From: Jog Lie To: Subject: RE: Netmap. Example to understand? Date: Thu, 9 Oct 2014 10:56:50 +0200 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 09 Oct 2014 08:56:51.0010 (UTC) FILETIME=[F7489220:01CFE39E] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 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, 09 Oct 2014 08:56:57 -0000 Ok got it! https://github.com/fichtner/netmap/blob/master/examples/bridge.c > From: deco33000@hotmail.com > To: freebsd-net@freebsd.org > Subject: Netmap. Example to understand? > Date: Thu=2C 9 Oct 2014 10:05:56 +0200 >=20 > Hello >=20 > I have three boxes running linux or freebsd. >=20 > A is a loadbalancer to b and c. Same network. > A has three nics: one for internet=2C one connected with B and one connec= ted with C to avoid another switch for a small configuration. >=20 > I wish to understand how netmap can help me saturating a 10Gbit link with= a i7 3930k (could be replaced by something less powerful if netmap allow b= ig perf jump). >=20 > How can i select the nic to which i wish to send the packet? The read wri= te pattern is not clear to me. Will netfilter be completely bypassed hence = achieving high perf? > I am in need for an example mates. > Thanks a lot > Bye > =20 > _______________________________________________ > 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" =