From owner-freebsd-net@FreeBSD.ORG Fri Dec 19 03:12:07 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 77A91731 for ; Fri, 19 Dec 2014 03:12:07 +0000 (UTC) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [119.145.14.65]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "myname.my.domain", Issuer "www.mirapoint.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A6BB1434 for ; Fri, 19 Dec 2014 03:12:06 +0000 (UTC) Received: from 172.24.2.119 (EHLO SZXEMA414-HUB.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CEF96264; Fri, 19 Dec 2014 11:10:54 +0800 (CST) Received: from SZXEMA502-MBX.china.huawei.com ([169.254.3.12]) by SZXEMA414-HUB.china.huawei.com ([10.82.72.73]) with mapi id 14.03.0158.001; Fri, 19 Dec 2014 11:10:44 +0800 From: "Yuzhou (C)" To: "freebsd-net@freebsd.org" Subject: [netmap] netmap rings connect to host stack Thread-Topic: [netmap] netmap rings connect to host stack Thread-Index: AdAbOWA2hM3X9j2GTeuP1O6gEmLy6w== Date: Fri, 19 Dec 2014 03:10:44 +0000 Message-ID: <47498F109986134D9A5B42B82F405EBB7EDD8234@SZXEMA502-MBX.china.huawei.com> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.146.122.221] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected Cc: "Zhangleiqiang \(Trump\)" , "Xiaoding \(B\)" , "Luohao \(brian\)" , Zhuangyuxin , "Liuji \(Jeremy\)" 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: Fri, 19 Dec 2014 03:12:07 -0000 Hi everyone, I am a newbie to netmap. After reading papers about netmap, I think the path that netmap talk to host stack, like this:=20 Application | | Socket API | | Host stack | | Netmap rx/tx ring | | Nic driver=09 My understanding is right or not?? Anybody knows, please tell me, Tha= nks! Yuzhou