From nobody Wed Nov 23 19:33:59 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 4NHWX91gV0z4j7pf for ; Wed, 23 Nov 2022 19:34: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 4NHWX90rLZz3nSR for ; Wed, 23 Nov 2022 19:34:01 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669232041; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cPqQfl0dpa/ZIlrUHlQpN4BTHCh5FwUvRPnBLfsQEws=; b=cYo4oGGqCYZ6d5OXHDq7rWyjfXDEIFfpqG5RrPScO4PFwdH66+h3kwcY795rpkYmsjIbgz o/iR+eUqF3zvGgMvDRK6Db6YTiXofF5szP0KP0qDzKFEtB9DkWgsiOTKt151Xxq/0X6AX/ rw2OhSnovb6b5Wcyu9SvISjoGc3uvAcDYPJ3SYAUP8AJPMegn6ED4vEjFsk1omsfwacByN yXkQjcP011f2LTJtr/6gTshg0hJGLXtK1tH+oqyaAxYmMX9kiyZuMtEzvL28SsBZl7B2h3 2UyGfAeRbBvG9FDE/4abuvyK+iZvtc8JokU7nKE5Xq7uRp+a7Gab3gPJF8pqrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669232041; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cPqQfl0dpa/ZIlrUHlQpN4BTHCh5FwUvRPnBLfsQEws=; b=Ts7UTepsqa73wtF5nmkkI2li1rTFuKhz0vCxuVUUTjrMu1REkuVLusrCaUlI7v/eY/pI+J iCEpR3QTCbQAgPLKXmI/SQeshOMGoSa2jGh9ZdwNXGyt6RT35eZdJmKi6exvt76EQZq1Rn fjBKRYX/tp/BerXe0ZtPoZOzCGB0gVBAxis+7P4ntK97PkbMeqMi19E3c6v8SnYKqGoRkh FhwMQsD9z28nhwfQ008VZeA4xZAz83r7TJg9hEqu7yre8hGSoRSIHpBwSGcgPjKoyPoZxc nt5iLcW3V9hPsIT5JCFxlpUSCPWqoDg7b9zw/zhx2kX8Lizgu00VzUbAdjISJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669232041; a=rsa-sha256; cv=none; b=aTqx+l6YQ63J1O8IxFrsvD8LT19DD/22sDjp2Eu6gLaT9EKLzyG3daFf0RiB6dOd/crsf5 j+V1K3HuHwz3i+C/VxFxUobceVUcEPymaLRdtAUkdYpNadNLwBHrs4Jw0CE7Fl3f1SFE6J AJ66uH9ngx8r9QBlpHtrOSQ5I27LoxbMNPKkHl1AGom7Um69LtyrYVQ7OQ/Fcpq3IGA/06 NeOxLR+uDPxzekuFiSn+OrIobmkhgRP2vDactneViPGf7HYB8uH3fJkMuEs6Z0vlbdi4Kk OYynXJYocSituFJbjDecXjq150mzsgBdB6zm28kUYECsYveXiSrV6vU0w4HZhA== 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 4NHWX869VPz10Kr for ; Wed, 23 Nov 2022 19:34:00 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Date: Wed, 23 Nov 2022 14:33:59 -0500 From: Justin Hibbits To: freebsd-arch@freebsd.org Subject: Modularizing the network stack with a driver API Message-ID: <20221123143359.2370ed89@ralga-linux> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; powerpc64le-unknown-linux-gnu) Importance: high X-Priority: 1 (Highest) 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 Hi everyone, Back in 2014 Marcel Moolenaar started the thread "Roadmap for ifnet(9) for FreeBSD 11" (https://lists.freebsd.org/pipermail/freebsd-arch/2014-May/015379.html), and after 8 years we want to revisit this. This email is to kick things off again, and further design discussions. I've spent time off and on as able over the last couple years porting -CURRENT to this "DrvAPI", and have something that compiles. Much of the work was committed at the time of the initial discussion in 2014, with enhancements done off and on since then. Also, much of the shortcomings listed at https://wiki.freebsd.org/projects/ifnet have not been addressed at all yet. 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. - Justin