From owner-freebsd-net@FreeBSD.ORG Fri Feb 17 08:23:19 2012 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 262241065674 for ; Fri, 17 Feb 2012 08:23:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id AD9818FC08 for ; Fri, 17 Feb 2012 08:23:17 +0000 (UTC) Received: by wgbdq11 with SMTP id dq11so2478435wgb.31 for ; Fri, 17 Feb 2012 00:23:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=RZS5TCPoUcQPIryTsH0girzRyc+CP5fSHAjUiXgqw88=; b=nw3SbuJr7Apncyc6YE4I2Hie4i7XZJI/uTH+37S21Cix0yZUc7eSbB5EJ8JaW+HH+J SjfMTHB74Z5XT03nFq6njzIgEpu83Bw0xREfhf8UdQWLmm5zIEeVBFqKigJzwKkteP4U 8RFyHmOx55LQxf/DMkn1j3gQYwP+wBWU7Rcyk= MIME-Version: 1.0 Received: by 10.180.93.4 with SMTP id cq4mr1893581wib.21.1329466996776; Fri, 17 Feb 2012 00:23:16 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.154.199 with HTTP; Fri, 17 Feb 2012 00:23:16 -0800 (PST) In-Reply-To: <20120217082342.GA15346@onelab2.iet.unipi.it> References: <338757D1-6B1E-49CF-983F-5D5851066FD3@xcllnt.net> <20120217082342.GA15346@onelab2.iet.unipi.it> Date: Fri, 17 Feb 2012 00:23:16 -0800 X-Google-Sender-Auth: yD7B1sQNE_n-7dsLAvC40HIMlF8 Message-ID: From: Adrian Chadd To: Luigi Rizzo Content-Type: text/plain; charset=ISO-8859-1 Cc: net@freebsd.org, Marcel Moolenaar Subject: Re: Abstracting struct ifnet X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 17 Feb 2012 08:23:19 -0000 On 17 February 2012 00:23, Luigi Rizzo wrote: > I do like the idea, but the amount of changes will be massive > (see below). The thing that worries me the most is that it > will introduce huge changes between different releases, unless > we backport the accessors (while keeping the underlying struct ifnet > frozen so we preserve the kernel ABI). I think it's worth doing for the select drivers people care about. That way things can be slowly converted over time, with any new network drivers needing to use the new accessors. Adrian