From owner-freebsd-current Fri Jan 5 16:51:56 2001 From owner-freebsd-current@FreeBSD.ORG Fri Jan 5 16:51:50 2001 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 41F4B37B400; Fri, 5 Jan 2001 16:51:49 -0800 (PST) Received: from victoria-060.budapest.interware.hu ([195.70.63.60] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 14EhaE-0007Ej-00; Sat, 06 Jan 2001 01:51:47 +0100 Sender: julian@FreeBSD.ORG Message-ID: <3A566BCB.BFD6FA2D@elischer.org> Date: Fri, 05 Jan 2001 16:50:19 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: net@freebsd.org, current@freebsd.org Subject: Re: HEADSUP! New netgraph code coming References: <3A5567A7.A11F47E3@elischer.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This has been committed. People with unusual netgraph usage should contact me for assistance if things fail. In particular I would like to get some more pppoe users to try it as I haven't convinced myself it's tested enough. For the Netgraph-aware, the following changes have been made. 1/ data and contol-messages are now delivered as part of a larger entity called an 'item'. Thus the prototypes for these methods has changed and the code must be changed to free this (or not) as required. 2/ piggyback responses have been removed, The new response method is almost as quick and much cleaner. 3/ All nodes have queues into which items are place IFF there is lock contention and teh data cannot be processed immediatly. I expect the code to be a LITLE shaky for a few days around the time when nodes are deleted. but operation seems solid. Julian Elischer wrote: > > I have a largely rewritten version of netgraph > ready for commit. > It is redesigned to work in an SMP "ouside the BGL" environment. > I have not completed it to the stage yet that it will run > without BGL yet but it's close and it's running stably. > > I hope to commit this in about 24 hours (maybe less) > > the files concerned are: > > julian@jules:grep Index: /tmp/xx > Index: sys/dev/lmc/if_lmc.c > Index: sys/dev/usb/udbp.c > Index: sys/i386/isa/if_ar.c > Index: sys/i386/isa/if_sr.c > Index: sys/i4b/driver/i4b_ing.c > Index: sys/pci/if_mn.c > Index: sys/dev/musycc/musycc.c > Index: sys/netgraph/netgraph.h > Index: sys/netgraph/ng_UI.c > Index: sys/netgraph/ng_async.c > Index: sys/netgraph/ng_base.c > Index: sys/netgraph/ng_bpf.c > Index: sys/netgraph/ng_bridge.c > Index: sys/netgraph/ng_cisco.c > Index: sys/netgraph/ng_echo.c > Index: sys/netgraph/ng_ether.c > Index: sys/netgraph/ng_frame_relay.c > Index: sys/netgraph/ng_hole.c > Index: sys/netgraph/ng_iface.c > Index: sys/netgraph/ng_ksocket.c > Index: sys/netgraph/ng_lmi.c > Index: sys/netgraph/ng_message.h > Index: sys/netgraph/ng_mppc.c > Index: sys/netgraph/ng_one2many.c > Index: sys/netgraph/ng_ppp.c > Index: sys/netgraph/ng_pppoe.c > Index: sys/netgraph/ng_pptpgre.c > Index: sys/netgraph/ng_rfc1490.c > Index: sys/netgraph/ng_sample.c > Index: sys/netgraph/ng_socket.c > Index: sys/netgraph/ng_tee.c > Index: sys/netgraph/ng_tty.c > Index: sys/netgraph/ng_vjc.c e -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ from Perth, presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message