From nobody Wed Dec 21 15:05:00 2022 X-Original-To: freebsd-arch@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NccDs3hdGz1H8jf for ; Wed, 21 Dec 2022 15:05:01 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NccDs37vLz4PVQ; Wed, 21 Dec 2022 15:05:01 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671635101; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fpuhQWEsAfo8rpWCgtkOSf6uSUNepg9ouiUTaEa4G+A=; b=uAewa59QRtGWPGrGYp0MupKxloZfMtbrTy/aNiTLyK7p/7bprUM9CsTt4CSEUWEB0eak1q 1ceRc2Gu2hGsSze5bDzKUcmX14dDX9npJfihlMYlA17qA3W9o6NKeRJjasAnDfYeP4sArd xCbMcDCa+qfqsEsqETrT7p36IfmetFMMQ+ZlwXLlb7z7Z3cUh3NMX3Q8eCovo9UkpEwbCp 8H5Cj2bsP0meFyEYGAXUWLGozED3+yz9OtnLETETJAmoobNL/f5rM844VaA3+ohB5Gaf0h /IS8QC43hwpyMX5iaT++F6q0OyTzg64ZWOwOHdX0CpqAw8HJH+gCwwWkVZiMhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671635101; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fpuhQWEsAfo8rpWCgtkOSf6uSUNepg9ouiUTaEa4G+A=; b=vZceM9+7veZL4zboPvUFS9/EHmL9M2iETW5PAz3AY52IqDHW/CY8E6L2j/lW995HQzm0Yw WMvUTdil2+T0N5kSqBNc3H/pjGFeMG7qCnKjpTueOv2BAT11oCo3pO9rnTsrDJGqQASFIB kdJYZSq/m65xffUrsnIAZcVwj5kX3uQQN7H+CXeLX6XrYdINVF6pI/NXwcSDRAxi5GvEhg BvL4WXX13SRrahck+mTx8PK/G84g+F1lP3T+c8/HsMafG08/iCx6AnuJoVASbQsoeUykJ7 zRykBWTqQBoW3qzR5zvj1t8kTz6FEPr+UnGM6pVUxUVddyjXVWa0Uue6+MKg9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671635101; a=rsa-sha256; cv=none; b=qRPZcyhItTVySknm2xcYEUyQkIJLpEEKYNt8XH3LktpM2cnCXustrO65q0cJmRiOGP+4Qr jG4lllj7e15UxiX+mPW45ex7saUJLagyk65IyyxRyjqkI4l+69uym+2AOeUnBxngditd5Y 2VqL1VwLuBhrW7n8JRSL+3iqz5LWRQLB+gFRQOe0KX4hNJezoTj3oik83DXMf6gilaoLwq x/5/1bRbcrFpr25fcVU8Qmb1H5CduPIcn1s7MaHU0A/2zxXMygkKBWrO96L1IU5mXkF/vL 6UJnmZYNv5twTfdJaT8zj3PGttIGsfgIYt5pyBhQzp9+pdhUQwqQrQ3L+dBtCg== Received: from ralga-linux (dsl-74-83-251-217.fuse.net [74.83.251.217]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jhibbits) by smtp.freebsd.org (Postfix) with ESMTPSA id 4NccDs152LzZSb; Wed, 21 Dec 2022 15:05:01 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Date: Wed, 21 Dec 2022 10:05:00 -0500 From: Justin Hibbits To: Ed Maste Cc: freebsd-arch@freebsd.org Subject: Re: Modularizing the network stack with a driver API Message-ID: <20221221100500.53da379a@ralga-linux> In-Reply-To: References: <20221123143359.2370ed89@ralga-linux> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; powerpc64le-unknown-linux-gnu) List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N On Wed, 21 Dec 2022 09:58:05 -0500 Ed Maste wrote: > On Wed, 23 Nov 2022 at 14:34, Justin Hibbits > wrote: > > > > Most of the work I've done in the recent port has been purely > > mechanical and scripted, fixing build failures along the way. The > > current work in progress can be found in my personal repository at > > https://github.com/chmeeedalf/freebsd/tree/drvapi . The goal of > > this first step is to get things started, address design feedback, > > and move forward in main. > > Thanks for picking up this long-neglected effort. > > One comment, let's make sure that documentation gets updated as we go > - right now ifnet(9) documents struct ifnet's internals and makes no > reference to any of the accessor functions. The man page likely needs > significant work at some point as it's already quite long, but we > should at least mention that direct access to ifnet internals is > undesired, and list the accessors. I'll be doing that once I finish the first round of driver updates, so expect updates to that in early to mid January. It'll be a significant update, so will need time and probably lots of review. - Justin