From owner-freebsd-net@freebsd.org Mon Apr 18 13:32:00 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 42CE8B13E92 for ; Mon, 18 Apr 2016 13:32:00 +0000 (UTC) (envelope-from darfil_972@hotmail.com) Received: from DUB004-OMC2S20.hotmail.com (dub004-omc2s20.hotmail.com [157.55.1.159]) (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 BC80219F7 for ; Mon, 18 Apr 2016 13:31:59 +0000 (UTC) (envelope-from darfil_972@hotmail.com) Received: from DUB128-W16 ([157.55.1.137]) by DUB004-OMC2S20.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Mon, 18 Apr 2016 06:30:50 -0700 X-TMN: [YBp/55gF+u/ugzV3zM60HAbalq6WPON+] X-Originating-Email: [darfil_972@hotmail.com] Message-ID: From: Marko Markovic To: "freebsd-net@freebsd.org" Subject: netmap question Date: Mon, 18 Apr 2016 14:30:49 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 18 Apr 2016 13:30:50.0104 (UTC) FILETIME=[85D5FF80:01D19976] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 13:32:00 -0000 Hello Luigi=2C first of all i have to say you have done great work. I had some fun with ne= tmap but i have a question: How can we fill in the transmit ring buffers of a network card from differe= nt CPUs/threads? Or to clarify i am able to fill the send ring on the threa= d that does the poll=2C but what if i want to fill the packets on a differ= ent thread and send on another? Any help is welcome=2C and if you have a si= mple example that would be great. Thank you in advance. Regards=2CMarko =