From owner-freebsd-net@FreeBSD.ORG Thu Jan 17 23:08:11 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3406B76 for ; Thu, 17 Jan 2013 23:08:11 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-x229.google.com (mail-we0-x229.google.com [IPv6:2a00:1450:400c:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id C5137B3A for ; Thu, 17 Jan 2013 23:08:10 +0000 (UTC) Received: by mail-we0-f169.google.com with SMTP id t11so354768wey.14 for ; Thu, 17 Jan 2013 15:08:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:references:in-reply-to:mime-version :content-transfer-encoding:content-type:message-id:cc:x-mailer:from :subject:date:to:x-gm-message-state; bh=B9caUxz3FGUEgalPqtSPMNzHA/ESdSC7vD7MaWD6Uvg=; b=ktxjBEKLhgXScaIDez4+EkgzQXwzcQnZHMceSB/mxZJh5cIhgx7jgMdDpbUPc0twsZ u6M7wv+TucjYZLco0q/b6L0PNyCSvvB8YaZQs+pi6RGj88WcdbjEPjwah3qrlUb1zU9r EAOZgpNS7A5XA3E46WGKBxGDWN5EnnaaJwkOeEbmP1lrbMR/daOjlsuQRPqTyiRberGM /nczimHm6sVveYeOyo8puVQ3xyj/57jst4H543DpIqn/jjvWASq7APrPpz9PlEujZaog fy3jSg8ne8JWdWP1ZZW82ckXrUFSy5m3KJo00+V8YOS8wkwXJm0rr8Kt72ugGeq6lnWX q9Lw== X-Received: by 10.194.236.68 with SMTP id us4mr11165986wjc.11.1358464089945; Thu, 17 Jan 2013 15:08:09 -0800 (PST) Received: from [10.208.188.183] ([92.90.16.102]) by mx.google.com with ESMTPS id df2sm824725wib.0.2013.01.17.15.08.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Jan 2013 15:08:08 -0800 (PST) References: <50F868FF.5060506@networx.ch> <20130117165323.5bfb8ff5@stevek-ubuntu> In-Reply-To: <20130117165323.5bfb8ff5@stevek-ubuntu> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <6AC27A59-9B9E-4D60-A5E4-E9C8FEF50F1D@my.gd> X-Mailer: iPhone Mail (9A405) From: Damien Fleuriot Subject: Re: Proposal for changes to network device drivers and network stack (RFC) Date: Fri, 18 Jan 2013 00:07:06 +0100 To: Steve Kiernan X-Gm-Message-State: ALoCoQnij1/qwu5sWYtvQVb6O744cH87QqxJgwqTK8vsAmhtrG8Han3mutqdEWTrIgDEk4wYSr+r 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, 17 Jan 2013 23:08:11 -0000 On 17 Jan 2013, at 22:53, Steve Kiernan wrote: > On Thu, 17 Jan 2013 22:11:27 +0100 > Andre Oppermann wrote: >=20 >> On 17.01.2013 20:23, Stephen J. Kiernan wrote: >>> The network stack as a module patch has been separated out and can be fo= und in the following location: >>> http://people.freebsd.org/~marcel/Juniper/netstack-v2.diff >>=20 >> This is quite some work and a lot of changes which will a moment to revie= w. >>=20 >> Can you describe the concept and the terminology you're using here some m= ore? >> What is a netstack module and what is its scope? How does it relate to V= NET? >> What is an IOCGROUP? etc. All this is probably obvious to you but not ye= t for >> us. >=20 > Sure, not a problem. First, I will repeat here what Anu sent out previousl= y as a description of the netstack changes. >=20 >> Today, not compiling networking stack related files in the kernel breaks >> the kernel build due to dependencies the OS has on the network stack >> (calling into functions in the network stack). Network stack module isn't= >> there. We've added these in JUNOS. The benefits for us are obvious (we ca= n >> load our own version of network stack if we desire!), but most likely thi= s >> functionality will benefit others too. >>=20 >> The detailed implementation is indicated later in this email. In short th= e >> changes are: >>=20 >> - Load network stack as a module. For now via loader, not dynamically >> loaded. (Is there interest in dynamic loading?). I speak only for myself but I think dynamic loading would avoid a lot of tro= uble with/for people who don't read UPDATING carefully and forget to adjust l= oader.conf...