From owner-freebsd-atm Sun Feb 9 5:21:58 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B71A37B401 for ; Sun, 9 Feb 2003 05:21:57 -0800 (PST) Received: from mel-rto4.wanadoo.fr (smtp-out-4.wanadoo.fr [193.252.19.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38C0743F93 for ; Sun, 9 Feb 2003 05:21:56 -0800 (PST) (envelope-from vjardin@wanadoo.fr) Received: from mel-rta10.wanadoo.fr (193.252.19.193) by mel-rto4.wanadoo.fr (6.7.015) id 3E0C33FD01B96383; Sun, 9 Feb 2003 14:21:35 +0100 Received: from there (217.128.244.107) by mel-rta10.wanadoo.fr (6.7.015) id 3E26DAA600DC2483; Sun, 9 Feb 2003 14:21:35 +0100 Message-ID: <3E26DAA600DC2483@mel-rta10.wanadoo.fr> (added by postmaster@wanadoo.fr) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Harti Brandt , "Matthew N. Dodd" Subject: Re: New version of ngATM Date: Sun, 9 Feb 2003 14:42:16 +0100 X-Mailer: KMail [version 1.3.2] Cc: "Andrew R. Reiter" , atm@FreeBSD.ORG References: <20030207134936.W15295@sasami.jurai.net> <20030208164419.S27486@beagle.fokus.gmd.de> In-Reply-To: <20030208164419.S27486@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Le Samedi 8 Février 2003 16:47, Harti Brandt a écrit : > On Fri, 7 Feb 2003, Matthew N. Dodd wrote: > > MND>If we've got the ability to use HARP with ngATM hardware drivers then > I'm MND>going to fully support removing all HARP only drivers from the > system. MND> No please. Many people are using the features of the current HARP drivers. Moreover they are very stable. Vincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Sun Feb 9 5:25:25 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7546037B401 for ; Sun, 9 Feb 2003 05:25:24 -0800 (PST) Received: from mel-rto6.wanadoo.fr (smtp-out-6.wanadoo.fr [193.252.19.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9142D43FAF for ; Sun, 9 Feb 2003 05:25:23 -0800 (PST) (envelope-from vjardin@wanadoo.fr) Received: from mel-rta10.wanadoo.fr (193.252.19.193) by mel-rto6.wanadoo.fr (6.7.015) id 3E0C343F01B9CCBD; Sun, 9 Feb 2003 14:25:04 +0100 Received: from there (217.128.244.107) by mel-rta10.wanadoo.fr (6.7.015) id 3E26DAA600DC2A2B; Sun, 9 Feb 2003 14:25:04 +0100 Message-ID: <3E26DAA600DC2A2B@mel-rta10.wanadoo.fr> (added by postmaster@wanadoo.fr) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Harti Brandt , "Andrew R. Reiter" Subject: Re: New version of ngATM Date: Sun, 9 Feb 2003 14:45:45 +0100 X-Mailer: KMail [version 1.3.2] Cc: "Matthew N. Dodd" , atm@FreeBSD.ORG References: <20030208163348.I27486@beagle.fokus.gmd.de> In-Reply-To: <20030208163348.I27486@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > ARR>How would people compare the current ngATM and current HARP stacks? Is > it ARR>worth at all to fully port the HARP driver code to the ngATM code > and just ARR>waste the netatm/ code? > > When I catch up with my clip code, then ngATM can everything that HARP > can (except for SPANs signalling. Does anybody actually still use that?). > Plus it has UNI4.0 instead of 3.1, it has LAN emulation and it should be > trivial to support PPPoA, PPPoEoA or what ever crazy combination one could > think of. I already use the HARP stack for PPPoE and PPPoEoA whithout any modification of the HARP source code ;-) > With regard to drivers: I'm going to busdmaify the en driver. I think I > have an LE155 card somewher here, so I will tackle the IDT driver after > that. When this is done, we have all that is supported with HARP also in > ngATM. The LE155 board uses the IDT77211 SAR chipset, doesn't it ? Then it is already supported by the HARP stack, moreover this driver uses DMA. It already supports UBR and CBR. According to me, the HARP stack is a very stable code, it has lot of features and their drivers are working very well for a long time. If we need to improve the ATM support of FreeBSD, one should be more focused on the current code in order to improve the HARP stack and to add some new drivers. However, if there are some issues with the HARP stack, then ngATM is a very good alternative. Nevertheless, I do not see any issues with HARP yet ;-) It just lacks of people in order to support it. FreeBSD has already 2 ATM stacks : a basic one (NATM) and a full featured one (HARP), why is a third ATM stack required ? Vincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Sun Feb 9 8:18:32 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2950037B401 for ; Sun, 9 Feb 2003 08:18:31 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64B6143FAF for ; Sun, 9 Feb 2003 08:18:30 -0800 (PST) (envelope-from arr@watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.6/8.12.5) with ESMTP id h19GICP3063644; Sun, 9 Feb 2003 11:18:12 -0500 (EST) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.12.6/8.12.6/Submit) with SMTP id h19GIBQ2063602; Sun, 9 Feb 2003 11:18:11 -0500 (EST) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Sun, 9 Feb 2003 11:18:10 -0500 (EST) From: "Andrew R. Reiter" To: Vincent Jardin Cc: Harti Brandt , "Matthew N. Dodd" , atm@FreeBSD.ORG Subject: Re: New version of ngATM In-Reply-To: <3E26DAA600DC2A2B@mel-rta10.wanadoo.fr> (added by postmaster@wanadoo.fr) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 9 Feb 2003, Vincent Jardin wrote: :> ARR>How would people compare the current ngATM and current HARP stacks? Is :> it ARR>worth at all to fully port the HARP driver code to the ngATM code :> and just ARR>waste the netatm/ code? :> :> When I catch up with my clip code, then ngATM can everything that HARP :> can (except for SPANs signalling. Does anybody actually still use that?). :> Plus it has UNI4.0 instead of 3.1, it has LAN emulation and it should be :> trivial to support PPPoA, PPPoEoA or what ever crazy combination one could :> think of. : :I already use the HARP stack for PPPoE and PPPoEoA whithout any modification :of the HARP source code ;-) : :> With regard to drivers: I'm going to busdmaify the en driver. I think I :> have an LE155 card somewher here, so I will tackle the IDT driver after :> that. When this is done, we have all that is supported with HARP also in :> ngATM. : :The LE155 board uses the IDT77211 SAR chipset, doesn't it ? Then it is :already supported by the HARP stack, moreover this driver uses DMA. It :already supports UBR and CBR. : :According to me, the HARP stack is a very stable code, it has lot of features :and their drivers are working very well for a long time. If we need to :improve the ATM support of FreeBSD, one should be more focused on the current :code in order to improve the HARP stack and to add some new drivers. : :However, if there are some issues with the HARP stack, then ngATM is a very :good alternative. Nevertheless, I do not see any issues with HARP yet ;-) It :just lacks of people in order to support it. : :FreeBSD has already 2 ATM stacks : a basic one (NATM) and a full featured one :(HARP), why is a third ATM stack required ? : Anyone actually use netnatm from Cranor? So far I see people stepping up for HARP and ngATM, so just curious to hear from those netnatm folks. Cheers, Andrew -- Andrew R. Reiter arr@watson.org arr@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Sun Feb 9 8:35:13 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5599737B401 for ; Sun, 9 Feb 2003 08:35:09 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27B5643F75 for ; Sun, 9 Feb 2003 08:35:08 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h19GZ6i21299 for ; Sun, 9 Feb 2003 17:35:06 +0100 (MET) Date: Sun, 9 Feb 2003 17:35:06 +0100 (CET) From: Harti Brandt X-X-Sender: hbb@beagle.fokus.gmd.de To: atm@freebsd.org Subject: ngatm: patch missing Message-ID: <20030209173326.K30997@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-768730124-1044808506=:30997" Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-768730124-1044808506=:30997 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi all, I fogot to update the patch to if_atmsubr.c when packing the tar files. The updated patch is needed for the HARP pseudo interface to work. Patch attached. Regards, harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org --0-768730124-1044808506=:30997 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="sys_net.patch" Content-Transfer-Encoding: BASE64 Content-ID: <20030209173506.M30997@beagle.fokus.gmd.de> Content-Description: Content-Disposition: attachment; filename="sys_net.patch" SW5kZXg6IHN5cy9uZXQvaWZfYXRtLmgNC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AwLCBOVUxMIH0sCQkJCQkJCVwNCj4gfQ0KPiANCj4gI2RlZmlu ZQlJRk1fU1VCVFlQRV9BVE1fT1BUSU9OX0RFU0NSSVBUSU9OUyB7CQkJCVwN CkluZGV4OiBzeXMvbmV0L2lmX21lZGlhLmMNCj09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT0NClJDUyBmaWxlOiAvaG9tZS9uY3ZzL3NyYy9zeXMvbmV0L2lmX21l ZGlhLmMsdg0KcmV0cmlldmluZyByZXZpc2lvbiAxLjE3DQpkaWZmIC1yMS4x NyBpZl9tZWRpYS5jDQo0MDVhNDA2LDQxMQ0KPiBzdHJ1Y3QgaWZtZWRpYV9k ZXNjcmlwdGlvbiBpZm1fc3VidHlwZV9hdG1fZGVzY3JpcHRpb25zW10gPQ0K PiAgICAgSUZNX1NVQlRZUEVfQVRNX0RFU0NSSVBUSU9OUzsNCj4gDQo+IHN0 cnVjdCBpZm1lZGlhX2Rlc2NyaXB0aW9uIGlmbV9zdWJ0eXBlX2F0bV9vcHRp b25fZGVzY3JpcHRpb25zW10gPQ0KPiAgICAgSUZNX1NVQlRZUEVfQVRNX09Q VElPTl9ERVNDUklQVElPTlM7DQo+IA0KNDM5YTQ0Niw0NDkNCj4gCX0sDQo+ IAl7DQo+IAkgICZpZm1fc3VidHlwZV9hdG1fZGVzY3JpcHRpb25zWzBdLA0K PiAJICAmaWZtX3N1YnR5cGVfYXRtX29wdGlvbl9kZXNjcmlwdGlvbnNbMF0N Cg== --0-768730124-1044808506=:30997-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Sun Feb 9 9:44:47 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6F2137B401 for ; Sun, 9 Feb 2003 09:44:46 -0800 (PST) Received: from linus.csl.sony.co.jp (linus.csl.sony.co.jp [133.138.1.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id F383343F85 for ; Sun, 9 Feb 2003 09:44:45 -0800 (PST) (envelope-from kjc@csl.sony.co.jp) Received: from localhost (localhost [127.0.0.1]) by linus.csl.sony.co.jp (8.12.6/8.12.6) with ESMTP id h19Hiibh014300; Mon, 10 Feb 2003 02:44:44 +0900 (JST) (envelope-from kjc@csl.sony.co.jp) Date: Mon, 10 Feb 2003 02:44:44 +0900 (JST) Message-Id: <20030210.024444.74739915.kjc@csl.sony.co.jp> To: arr@watson.org Cc: atm@FreeBSD.ORG Subject: Re: New version of ngATM From: Kenjiro Cho In-Reply-To: References: <3E26DAA600DC2A2B@mel-rta10.wanadoo.fr> X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Andrew R. Reiter wrote: > Anyone actually use netnatm from Cranor? So far I see people stepping up > for HARP and ngATM, so just curious to hear from those netnatm folks. back in the late 90s, networking research people needed the cranor driver for 2 reasons. (1) IPv6: HARP internally has code specific to IPv4 and wasn't easy to use for IPv6-ready networks. (2) returning ENOBUFS on buffer overflow: HARP silently discards packets when the device buffer becomes full. backpressure by ENOBUFS to the upper layers was critical to the performance under heavy load. I don't know how many people are still using the cranor driver since the supported ATM NICs are not available on the market and ATM isn't so popular in the networking research community these days. -Kenjiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Sun Feb 9 11:49:24 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D82237B401 for ; Sun, 9 Feb 2003 11:49:23 -0800 (PST) Received: from mel-rto3.wanadoo.fr (smtp-out-3.wanadoo.fr [193.252.19.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4293043F93 for ; Sun, 9 Feb 2003 11:49:22 -0800 (PST) (envelope-from vjardin@wanadoo.fr) Received: from mel-rta9.wanadoo.fr (193.252.19.69) by mel-rto3.wanadoo.fr (6.7.015) id 3E0C33B501BD5178; Sun, 9 Feb 2003 20:49:05 +0100 Received: from there (217.128.244.107) by mel-rta9.wanadoo.fr (6.7.015) id 3E26DA8D00DD8D6D; Sun, 9 Feb 2003 20:49:05 +0100 Message-ID: <3E26DA8D00DD8D6D@mel-rta9.wanadoo.fr> (added by postmaster@wanadoo.fr) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Kenjiro Cho , arr@watson.org Subject: Re: New version of ngATM Date: Sun, 9 Feb 2003 21:09:47 +0100 X-Mailer: KMail [version 1.3.2] Cc: atm@FreeBSD.ORG References: <3E26DAA600DC2A2B@mel-rta10.wanadoo.fr> <20030210.024444.74739915.kjc@csl.sony.co.jp> In-Reply-To: <20030210.024444.74739915.kjc@csl.sony.co.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I don't know how many people are still using the cranor driver since > the supported ATM NICs are not available on the market and ATM isn't > so popular in the networking research community these days. ATM is back since it is the ADSL transport layer. For example the Linux driver for the Bewan boards supports the Linux ATM stack. Regards, Vincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Sun Feb 9 18:23: 9 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0152537B401 for ; Sun, 9 Feb 2003 18:23:09 -0800 (PST) Received: from ns2.ionextelecom.com (ns2.ionextelecom.com [206.50.221.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id E91DF43FA3 for ; Sun, 9 Feb 2003 18:23:07 -0800 (PST) (envelope-from dbeal@ionex.com) Received: from it.ionextelecom.com (dbeal@it.ionextelecom.com [206.50.221.203]) by ns2.ionextelecom.com (8.12.2/8.9.3) with ESMTP id h1A3WirT017053 for ; Sun, 9 Feb 2003 21:32:45 -0600 (CST) (envelope-from dbeal@ionex.com) Received: from localhost (dbeal@localhost) by it.ionextelecom.com (8.12.6/8.11.4) with ESMTP id h1A2N5cO075013 for ; Sun, 9 Feb 2003 20:23:06 -0600 (CST) (envelope-from dbeal@ionex.com) X-Authentication-Warning: it.ionextelecom.com: dbeal owned process doing -bs Date: Sun, 9 Feb 2003 20:23:05 -0600 (CST) From: Donald Beal X-X-Sender: dbeal@it.ionextelecom.com To: freebsd-atm@freebsd.org Subject: Interphase 5575 Message-ID: <20030209202054.S74714-100000@it.ionextelecom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Has a freebsd driver for the Interphase 5575 ATM OC-3 card been released yet? If not are there any plans for one? Thanks for all the help. Don Beal Unix Systems Administrator Ionex Telecommunications, Inc. 13305 Dallas Parkway Suite 1500 Addison, Texas 75001 dbeal@ionex.com 214.646.2433 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Mon Feb 10 2: 7:48 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62E2437B401 for ; Mon, 10 Feb 2003 02:07:45 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FCAC43F3F for ; Mon, 10 Feb 2003 02:07:44 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h1AA7gi28064; Mon, 10 Feb 2003 11:07:42 +0100 (MET) Date: Mon, 10 Feb 2003 11:07:42 +0100 (CET) From: Harti Brandt X-X-Sender: hbb@beagle.fokus.gmd.de To: Vincent Jardin Cc: atm@freebsd.org Subject: Re: New version of ngATM In-Reply-To: <3E26CE5400E3E458@mel-rta7.wanadoo.fr> (added by postmaster@wanadoo.fr) Message-ID: <20030210105145.K33486@beagle.fokus.gmd.de> References: <20030207174401.H1348@beagle.fokus.gmd.de> <3E26CE5400E3E458@mel-rta7.wanadoo.fr> (added by postmaster@wanadoo.fr) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 8 Feb 2003, Vincent Jardin wrote: VJ>Le Vendredi 7 F?vrier 2003 17:52, Harti Brandt a ?crit : VJ>> this version contains a number of bug fixes. The biggest change is, that VJ>> it now runs on sparc64. So I expect most byte-order and word-size related VJ>> problems to be fixed (in fact there were almost no such problems). It is VJ>> now possible to use PCA200 and HE155 cards in sparcs. The drivers are VJ>> fully busdmayfied. VJ> VJ> VJ>I am using the HARP's drivers and the HARP stack with the VBR, CBR and VJ>UBR in order to support the RFC 1483. It works very well. ;-) The HARP drivers are i386 only. Conerting to busdma is a major effort, especially if they must work on 64-bit platforms, which are now tier-1. VJ>The idea of ngATM sounds nice : it provides a good new driver in order to VJ>support the HFA 155 board. However, HARP provides already most of the ATM VJ>features. However the HARP stack lacks of : VJ> - drivers: VJ> + up to now there is no ADSL driver ;-( VJ> + there is no OC12 driver The HE driver should also support the HE622. At least I have the code there. I think we have such boards here, if there is serious interest, I will try it. VJ> - features: VJ> + soft SAR that could be required by many ADSL drivers. That is actually easy. I have written AAL5 SAR code more often then I wish I had. VJ> + OAM F4 and F5 support Well, the main problem with this is to get a nice interface between the components. The actual programming should be not to hard (provided the cards support this). VJ>Before integrating a third ATM stack that has a good architecture, it VJ>seems better to enhance the HARP stack that is very stable for a long VJ>time (4 years). To be honest I greatly doubt, that there are many people that are going enhance HARP. The last time the stack was broken (when -CURRENT startet) it took several month to fix it. Fixing it for 64-bit platforms is, I suppose, a major rewrite. Also calling NATM an ATM stack is far too ambitious - it is a hack, albeit a very clever one. VJ>Could you describe the differences between ngATM and HARP ? From the design perspective: I prefer to have the components of the ATM stack more independent of each other. This makes ngATM much lesser monolithic than HARP. You can, for example, use the ng_sscop node as a general transport protocol (it performs nice over long delay links). It is very easy to add things or modify them. From the technical point of view: drivers for PCA200 and HE155/622 (others in the pipe). LAN emulation v2 and a ATM-Forum compatible ATM API. Full remote configuration. VJ>Moreover in order to emulate an ATM link, I think that Netgraph could VJ>be used too to provide a virtual PIF. For example in order to emulate VJ>an ATM link without any ATM board, a ng_HARPDEVICE node could provide VJ>on one side a Netgraph hook and on the other side a HARP PIF (Physical VJ>Interface). The Netgraph hook could be used over a UDP socket that VJ>emulates the physical ATM link. That's actually a nice idea. I see if I can do something like this. Remembers me of some ATM over ethernet stuff from Bell Labs. How would you multiplex the VCs on UDP/TCP? VJ>Then what are the differences between your PCA200 driver and the HARP's VJ>one ? # uname -a FreeBSD catssrv.fokus.gmd.de 5.0-CURRENT FreeBSD 5.0-CURRENT #18: Tue Jan 28 11:49:32 CET 2003 hbb@catssrv.fokus.gmd.de:/opt/obj/usr/src/sys/CATSSRV sparc64 # ifconfig hme0: flags=8843 mtu 1500 inet 192.168.229.23 netmask 0xffffff00 broadcast 192.168.229.255 ether 08:00:20:b5:d3:15 media: Ethernet autoselect (100baseTX) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 hatm0: flags=841 mtu 9180 media: ATM UTP/155MBit status: active fatm0: flags=841 mtu 9180 media: ATM UTP/155MBit status: active lane0: flags=8843 mtu 1516 inet 192.168.173.7 netmask 0xffffff00 broadcast 192.168.173.255 ether 00:a0:3e:23:02:00 Regards, harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Mon Feb 10 2: 9:16 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B131837B401 for ; Mon, 10 Feb 2003 02:09:15 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9551243F93 for ; Mon, 10 Feb 2003 02:09:14 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h1AA98i28191; Mon, 10 Feb 2003 11:09:08 +0100 (MET) Date: Mon, 10 Feb 2003 11:09:08 +0100 (CET) From: Harti Brandt X-X-Sender: hbb@beagle.fokus.gmd.de To: Vincent Jardin Cc: "Matthew N. Dodd" , "Andrew R. Reiter" , atm@FreeBSD.ORG Subject: Re: New version of ngATM In-Reply-To: <3E26DAA600DC2483@mel-rta10.wanadoo.fr> (added by postmaster@wanadoo.fr) Message-ID: <20030210110750.N33486@beagle.fokus.gmd.de> References: <20030207134936.W15295@sasami.jurai.net> <20030208164419.S27486@beagle.fokus.gmd.de> <3E26DAA600DC2483@mel-rta10.wanadoo.fr> (added by postmaster@wanadoo.fr) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 9 Feb 2003, Vincent Jardin wrote: VJ>Le Samedi 8 F?vrier 2003 16:47, Harti Brandt a ?crit : VJ>> On Fri, 7 Feb 2003, Matthew N. Dodd wrote: VJ>> VJ>> MND>If we've got the ability to use HARP with ngATM hardware drivers then VJ>> I'm MND>going to fully support removing all HARP only drivers from the VJ>> system. MND> VJ> VJ>No please. Many people are using the features of the current HARP drivers. VJ>Moreover they are very stable. I would not remove HARP for the forseeable future. We should however try to get a maintained ATM stack into the system that supports not only i386. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Mon Feb 10 2:17: 2 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 565C937B401 for ; Mon, 10 Feb 2003 02:17:00 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36B1E43F75 for ; Mon, 10 Feb 2003 02:16:59 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h1AAGti29883; Mon, 10 Feb 2003 11:16:55 +0100 (MET) Date: Mon, 10 Feb 2003 11:16:55 +0100 (CET) From: Harti Brandt X-X-Sender: hbb@beagle.fokus.gmd.de To: Vincent Jardin Cc: "Andrew R. Reiter" , "Matthew N. Dodd" , atm@FreeBSD.ORG Subject: Re: New version of ngATM In-Reply-To: <3E26DAA600DC2A2B@mel-rta10.wanadoo.fr> (added by postmaster@wanadoo.fr) Message-ID: <20030210110915.E33486@beagle.fokus.gmd.de> References: <20030208163348.I27486@beagle.fokus.gmd.de> <3E26DAA600DC2A2B@mel-rta10.wanadoo.fr> (added by postmaster@wanadoo.fr) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 9 Feb 2003, Vincent Jardin wrote: VJ>I already use the HARP stack for PPPoE and PPPoEoA whithout any modification VJ>of the HARP source code ;-) PPPoA? VJ>> With regard to drivers: I'm going to busdmaify the en driver. I think I VJ>> have an LE155 card somewher here, so I will tackle the IDT driver after VJ>> that. When this is done, we have all that is supported with HARP also in VJ>> ngATM. VJ> VJ>The LE155 board uses the IDT77211 SAR chipset, doesn't it ? Then it is VJ>already supported by the HARP stack, moreover this driver uses DMA. It VJ>already supports UBR and CBR. [/usr/src/sys/dev/idt] # grep bus_dma [/usr/src/sys/dev/idt] # idt.c: buf = vtophys(idt->fixbuf); /* Transmit Status Queue Base */ *(volatile u_long *)(idt->virt_baseaddr + REGTSQB) = buf; This will fail on sparc64: vtophys is not the correct way to get a DMA-able address (the sparc has an IOMMU). u_long is probably wrong and means uint32_t. On sparc u_long is 64 bit. VJ>According to me, the HARP stack is a very stable code, it has lot of VJ>features and their drivers are working very well for a long time. If we VJ>need to improve the ATM support of FreeBSD, one should be more focused VJ>on the current code in order to improve the HARP stack and to add some VJ>new drivers. My feeling is, that nobody is going to do serious work on HARP. We can keep it running as long as possible. VJ>FreeBSD has already 2 ATM stacks : a basic one (NATM) and a full VJ>featured one (HARP), why is a third ATM stack required ? I received requests and questions from people outside the FreeBSD developers community for this ATM stuff. There is certainly interest in this. This will attract new users to the system. Forget about NATM (although I still find it to be a clever hack). harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Mon Feb 10 7:48:15 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 322A037B401 for ; Mon, 10 Feb 2003 07:48:13 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3118643FAF for ; Mon, 10 Feb 2003 07:48:12 -0800 (PST) (envelope-from arr@watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.6/8.12.5) with ESMTP id h1AFlwP3038879; Mon, 10 Feb 2003 10:47:58 -0500 (EST) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.12.6/8.12.6/Submit) with SMTP id h1AFluH9038876; Mon, 10 Feb 2003 10:47:57 -0500 (EST) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Mon, 10 Feb 2003 10:47:56 -0500 (EST) From: "Andrew R. Reiter" To: Harti Brandt Cc: Vincent Jardin , "Matthew N. Dodd" , atm@FreeBSD.ORG Subject: Re: New version of ngATM In-Reply-To: <20030210110915.E33486@beagle.fokus.gmd.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 10 Feb 2003, Harti Brandt wrote: :On Sun, 9 Feb 2003, Vincent Jardin wrote: : :VJ>I already use the HARP stack for PPPoE and PPPoEoA whithout any modification :VJ>of the HARP source code ;-) : :PPPoA? : :VJ>> With regard to drivers: I'm going to busdmaify the en driver. I think I :VJ>> have an LE155 card somewher here, so I will tackle the IDT driver after :VJ>> that. When this is done, we have all that is supported with HARP also in :VJ>> ngATM. :VJ> :VJ>The LE155 board uses the IDT77211 SAR chipset, doesn't it ? Then it is :VJ>already supported by the HARP stack, moreover this driver uses DMA. It :VJ>already supports UBR and CBR. : :[/usr/src/sys/dev/idt] # grep bus_dma :[/usr/src/sys/dev/idt] # : : :idt.c: : buf = vtophys(idt->fixbuf); : /* Transmit Status Queue Base */ : *(volatile u_long *)(idt->virt_baseaddr + REGTSQB) = buf; : :This will fail on sparc64: vtophys is not the correct way to get a DMA-able :address (the sparc has an IOMMU). u_long is probably wrong and means :uint32_t. On sparc u_long is 64 bit. : :VJ>According to me, the HARP stack is a very stable code, it has lot of :VJ>features and their drivers are working very well for a long time. If we :VJ>need to improve the ATM support of FreeBSD, one should be more focused :VJ>on the current code in order to improve the HARP stack and to add some :VJ>new drivers. : :My feeling is, that nobody is going to do serious work on HARP. We can :keep it running as long as possible. : I think some of the work that needs to be done is making the HARP code MP safe. I think this is important if we're to keep HARP around. Cheers, Andrew :VJ>FreeBSD has already 2 ATM stacks : a basic one (NATM) and a full :VJ>featured one (HARP), why is a third ATM stack required ? : :I received requests and questions from people outside the FreeBSD :developers community for this ATM stuff. There is certainly interest in :this. This will attract new users to the system. Forget about NATM :(although I still find it to be a clever hack). : :harti :-- :harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private : brandt@fokus.fraunhofer.de, harti@freebsd.org : -- Andrew R. Reiter arr@watson.org arr@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Mon Feb 10 9:38:17 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C9A337B409 for ; Mon, 10 Feb 2003 09:38:11 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id B06B543FA3 for ; Mon, 10 Feb 2003 09:38:09 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h1AHc8x05285; Mon, 10 Feb 2003 18:38:08 +0100 (MET) Date: Mon, 10 Feb 2003 18:38:08 +0100 (CET) From: Harti Brandt X-X-Sender: hbb@beagle.fokus.gmd.de To: Vincent Jardin Cc: atm@freebsd.org Subject: Re: New version of ngATM In-Reply-To: <3E26CE5400E3E458@mel-rta7.wanadoo.fr> (added by postmaster@wanadoo.fr) Message-ID: <20030210182921.O690@beagle.fokus.gmd.de> References: <20030207174401.H1348@beagle.fokus.gmd.de> <3E26CE5400E3E458@mel-rta7.wanadoo.fr> (added by postmaster@wanadoo.fr) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 8 Feb 2003, Vincent Jardin wrote: VJ>Why do you need to rewrite some new ATM drivers for the ngATM VJ>architecture ? VJ> VJ>I am using the HARP's drivers and the HARP stack with the VBR, CBR and VJ>UBR in order to support the RFC 1483. It works very well. ;-) Are you sure, that you are using THE HARP driverS? The PCA200E board supports only UBR (well it kinda supports CBR on one channel, but this channel will stall all other channels). The ENI boards could support CBR, but the driver actually doesn't - it just uses the 0th transmit channel and does UBR for all traffic. As far as I have seen, of the drivers that are in the tree only idt seems to support CBR. VJ>Due to the lack of PCI ATM hardware, I have worked on a new ATM driver VJ>(see the PROATM 155 Board from Prosum). The performance is very good VJ>with UBR, CBR and VBR mode. We get the full line rate with the HARP VJ>stack without any patches. Moreover it has been tested up to 4K PVC. Of all the HARP drivers only the Prosum actually does something other than UBR. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Mon Feb 10 14: 6:55 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FDD637B401 for ; Mon, 10 Feb 2003 14:06:52 -0800 (PST) Received: from mel-rto3.wanadoo.fr (smtp-out-3.wanadoo.fr [193.252.19.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01D1343F85 for ; Mon, 10 Feb 2003 14:06:51 -0800 (PST) (envelope-from vjardin@wanadoo.fr) Received: from mel-rta8.wanadoo.fr (193.252.19.79) by mel-rto3.wanadoo.fr (6.7.015) id 3E0C33B501CB12C3; Mon, 10 Feb 2003 23:06:44 +0100 Received: from there (193.253.220.77) by mel-rta8.wanadoo.fr (6.7.015) id 3E26DA7000E6DF75; Mon, 10 Feb 2003 23:06:44 +0100 Message-ID: <3E26DA7000E6DF75@mel-rta8.wanadoo.fr> (added by postmaster@wanadoo.fr) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Harti Brandt Subject: Re: New version of ngATM Date: Mon, 10 Feb 2003 23:27:28 +0100 X-Mailer: KMail [version 1.3.2] Cc: atm@freebsd.org References: <20030207174401.H1348@beagle.fokus.gmd.de> <3E26CE5400E3E458@mel-rta7.wanadoo.fr> <20030210105145.K33486@beagle.fokus.gmd.de> In-Reply-To: <20030210105145.K33486@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > The HARP drivers are i386 only. Conerting to busdma is a major effort, > especially if they must work on 64-bit platforms, which are now tier-1. However the HARP drivers and stack have been working on Sun. http://www.msci.magic.net/harp/ SunOS 4.1.x on Sun SPARC (sun4c, sun4m) workstations Isn't enough ? I agree about the 64-bit platforms, I do not have any. I could not help about it ;-(. Nevertheless I am not sure that lot of thinks will need to be fixed. Only mainly the IDT drivers need some fixed ;-) Another issue with HARP is to get it ready with the new SMP architecture ;-( Due to the Netgraph architecture, ngATM should already support SMP ;-)) > > VJ>The idea of ngATM sounds nice : it provides a good new driver in order > to VJ>support the HFA 155 board. However, HARP provides already most of the > ATM VJ>features. However the HARP stack lacks of : > VJ> - drivers: > VJ> + up to now there is no ADSL driver ;-( > VJ> + there is no OC12 driver > > The HE driver should also support the HE622. At least I have the code > there. I think we have such boards here, if there is serious interest, I > will try it. Nice ;-)) > > VJ> - features: > VJ> + soft SAR that could be required by many ADSL drivers. > > That is actually easy. I have written AAL5 SAR code more often then I > wish I had. I know, however I was thinking of the HARP API and the SAP (Service Access Point) of the SAR layer. Moreover it should be enough efficient in order to minimize the copy of memory. > > VJ> + OAM F4 and F5 support > > Well, the main problem with this is to get a nice interface between the > components. The actual programming should be not to hard (provided the > cards support this). It is supported by the Prosum's driver: see proatm_process_rcqe() It might help. > VJ>Could you describe the differences between ngATM and HARP ? > > From the design perspective: I prefer to have the components of the ATM > stack more independent of each other. This makes ngATM much lesser > monolithic than HARP. You can, for example, use the ng_sscop node as a > general transport protocol (it performs nice over long delay links). It is > very easy to add things or modify them. I agree that Netgraph helps to define a clean API of the components. However, HARP has its own one too that is defined in atm_stack.h. Moreover like ngATM, HARP has been designed in order to support dynamic load and unload ;-) I have been surprised to see this dynamic support into a so old code ;-) > > From the technical point of view: drivers for PCA200 and HE155/622 (others > in the pipe). LAN emulation v2 and a ATM-Forum compatible ATM API. Full > remote configuration. Great about the new drivers. Would they support both HARP and ngATM too ? What do you mean by full remote configuration ? > > VJ>Moreover in order to emulate an ATM link, I think that Netgraph could > VJ>be used too to provide a virtual PIF. For example in order to emulate > VJ>an ATM link without any ATM board, a ng_HARPDEVICE node could provide > VJ>on one side a Netgraph hook and on the other side a HARP PIF (Physical > VJ>Interface). The Netgraph hook could be used over a UDP socket that > VJ>emulates the physical ATM link. > > That's actually a nice idea. I see if I can do something like this. > Remembers me of some ATM over ethernet stuff from Bell Labs. > How would you multiplex the VCs on UDP/TCP? A simple PDU prefix that provides only the VPi, VCi, PTI, and CLP. Then this node could be used upon ng_ksocket. It means that it could be used whatever upon UDP or TCP ;-) ng_bridge, ng_pppoe or ng_l2tp are good example of the multiplexing of many lower session. PTI is required in order to emulate OAM F5. > > VJ>Then what are the differences between your PCA200 driver and the HARP's > VJ>one ? > > # uname -a > FreeBSD catssrv.fokus.gmd.de 5.0-CURRENT FreeBSD 5.0-CURRENT #18: Tue Jan > 28 11:49:32 CET 2003 > hbb@catssrv.fokus.gmd.de:/opt/obj/usr/src/sys/CATSSRV sparc64 # ifconfig > hme0: flags=8843 mtu 1500 > inet 192.168.229.23 netmask 0xffffff00 broadcast 192.168.229.255 > ether 08:00:20:b5:d3:15 > media: Ethernet autoselect (100baseTX) > status: active > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > hatm0: flags=841 mtu 9180 > media: ATM UTP/155MBit > status: active > fatm0: flags=841 mtu 9180 > media: ATM UTP/155MBit > status: active > lane0: flags=8843 mtu 1516 > inet 192.168.173.7 netmask 0xffffff00 broadcast 192.168.173.255 > ether 00:a0:3e:23:02:00 It is a good example of the differences ;-)) Moreover on a Sparc64 ;-D Did you try to support the BPF with the atm physical interfaces ? See the DLT_SUNATM into the current version of tcpdump (www.tcpdump.org). Or http://www.ethereal.com/lists/ethereal-users/200211/msg00047.html for a description of the BPF header of DLT_SUNATM Thanks for all, Vincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Mon Feb 10 14:28:32 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B56637B401 for ; Mon, 10 Feb 2003 14:28:31 -0800 (PST) Received: from mel-rto4.wanadoo.fr (smtp-out-4.wanadoo.fr [193.252.19.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6FF143FEC for ; Mon, 10 Feb 2003 14:28:23 -0800 (PST) (envelope-from vjardin@wanadoo.fr) Received: from mel-rta6.wanadoo.fr (193.252.19.26) by mel-rto4.wanadoo.fr (6.7.015) id 3E0C33FD01CA8282; Mon, 10 Feb 2003 23:28:17 +0100 Received: from there (193.253.220.77) by mel-rta6.wanadoo.fr (6.7.015) id 3E26CE2100EC533E; Mon, 10 Feb 2003 23:28:17 +0100 Message-ID: <3E26CE2100EC533E@mel-rta6.wanadoo.fr> (added by postmaster@wanadoo.fr) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Harti Brandt Subject: Re: New version of ngATM Date: Mon, 10 Feb 2003 23:49:02 +0100 X-Mailer: KMail [version 1.3.2] Cc: atm@freebsd.org References: <20030207174401.H1348@beagle.fokus.gmd.de> <3E26CE5400E3E458@mel-rta7.wanadoo.fr> <20030210182921.O690@beagle.fokus.gmd.de> In-Reply-To: <20030210182921.O690@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Are you sure, that you are using THE HARP driverS? The PCA200E board > supports only UBR (well it kinda supports CBR on one channel, but this > channel will stall all other channels). The Prosum's driver is used. Moreover, a small patch can enhance the PCA200E's driver in order to support the UBR's PCR. I'll send you it tomorrow. > The ENI boards could support CBR, > but the driver actually doesn't - it just uses the 0th transmit channel > and does UBR for all traffic. The main issue with the ENI boards is to buy an ENI boards ;-( > Of all the HARP drivers only the Prosum actually does something other than > UBR. Yes, they do it very well. Regards, Vincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Mon Feb 10 14:59:43 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A87837B405 for ; Mon, 10 Feb 2003 14:59:42 -0800 (PST) Received: from valu.uninet.ee (valu.uninet.ee [194.204.34.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 098AA43F75 for ; Mon, 10 Feb 2003 14:59:40 -0800 (PST) (envelope-from taavi@uninet.ee) Received: by valu.uninet.ee (Postfix, from userid 1002) id 1FE5636429; Tue, 11 Feb 2003 00:59:38 +0200 (EET) Received: from localhost (localhost [127.0.0.1]) by valu.uninet.ee (Postfix) with ESMTP id 137E93261A; Tue, 11 Feb 2003 00:59:38 +0200 (EET) Date: Tue, 11 Feb 2003 00:59:37 +0200 (EET) From: Taavi Talvik To: Vincent Jardin Cc: Harti Brandt , Subject: Re: New version of ngATM In-Reply-To: <3E26DA7000E6DF75@mel-rta8.wanadoo.fr> (added by postmaster@wanadoo.fr) Message-ID: <20030211005101.W25776-100000@valu.uninet.ee> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 10 Feb 2003, Vincent Jardin wrote: > However the HARP drivers and stack have been working on Sun. > http://www.msci.magic.net/harp/ > SunOS 4.1.x on Sun SPARC (sun4c, sun4m) workstations > Isn't enough ? > > I agree about the 64-bit platforms, I do not have any. I could not help about > it ;-(. Nevertheless I am not sure that lot of thinks will need to be fixed. > Only mainly the IDT drivers need some fixed ;-) > Another issue with HARP is to get it ready with the new SMP architecture ;-( > Due to the Netgraph architecture, ngATM should already support SMP ;-)) Actually, most import improvement with ngATM is not driver for actual chipset, but its higher levels. There may be only fiew hundred STM-1/STM-4 atm card owners in freebsd community, but same work applies inevitabely for ordinary guy with xDSL modem too. All upper levels of stack are instantly usable, when first xDSL card driver arrives. All pppoa/pppoe/classical/etc. stuff - it will just work. best regards, taavi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Tue Feb 11 1:11:52 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2456637B401 for ; Tue, 11 Feb 2003 01:11:50 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1B9F43F85 for ; Tue, 11 Feb 2003 01:11:48 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h1B9Blx14428; Tue, 11 Feb 2003 10:11:47 +0100 (MET) Date: Tue, 11 Feb 2003 10:11:47 +0100 (CET) From: Harti Brandt X-X-Sender: hbb@beagle.fokus.gmd.de To: Vincent Jardin Cc: atm@freebsd.org Subject: Re: New version of ngATM In-Reply-To: <3E26DA7000E6DF75@mel-rta8.wanadoo.fr> (added by postmaster@wanadoo.fr) Message-ID: <20030211095938.I3109@beagle.fokus.gmd.de> References: <20030207174401.H1348@beagle.fokus.gmd.de> <3E26CE5400E3E458@mel-rta7.wanadoo.fr> <20030210105145.K33486@beagle.fokus.gmd.de> <3E26DA7000E6DF75@mel-rta8.wanadoo.fr> (added by postmaster@wanadoo.fr) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 10 Feb 2003, Vincent Jardin wrote: VJ>> VJ>> The HARP drivers are i386 only. Conerting to busdma is a major effort, VJ>> especially if they must work on 64-bit platforms, which are now tier-1. VJ> VJ>However the HARP drivers and stack have been working on Sun. VJ> http://www.msci.magic.net/harp/ VJ> SunOS 4.1.x on Sun SPARC (sun4c, sun4m) workstations VJ>Isn't enough ? VJ> VJ>I agree about the 64-bit platforms, I do not have any. I could not help about VJ>it ;-(. Nevertheless I am not sure that lot of thinks will need to be fixed. VJ>Only mainly the IDT drivers need some fixed ;-) A doubt, because what I have seen in the stack so far is a very loose mixing of longs, ints and pointers. They all have the same size on both sparc32 (SunOS and sparc), but are different on all 64-bit platforms. Large parts of the hfa driver must be rewritten for 64-bit. This is because how the card handles buffers. There is no point in doing this when we already have if_fatm/if_harp. VJ>> VJ> + OAM F4 and F5 support VJ>> VJ>> Well, the main problem with this is to get a nice interface between the VJ>> components. The actual programming should be not to hard (provided the VJ>> cards support this). VJ> VJ>It is supported by the Prosum's driver: see proatm_process_rcqe() It might VJ>help. Sure. Having those cells in the driver is no problem for most cards. But what to do with them next. The problem is to specify an API what to do with those cells once you have them. VJ>> VJ>Could you describe the differences between ngATM and HARP ? VJ>> VJ>> From the design perspective: I prefer to have the components of the ATM VJ>> stack more independent of each other. This makes ngATM much lesser VJ>> monolithic than HARP. You can, for example, use the ng_sscop node as a VJ>> general transport protocol (it performs nice over long delay links). It is VJ>> very easy to add things or modify them. VJ> VJ>I agree that Netgraph helps to define a clean API of the components. VJ>However, HARP has its own one too that is defined in atm_stack.h. VJ>Moreover like ngATM, HARP has been designed in order to support dynamic VJ>load and unload ;-) I have been surprised to see this dynamic support VJ>into a so old code ;-) Actually it doesn't work very well. Unloading the if_harp driver leads to lockups, panics and other funny things within a couple of minutes. The problem seems to be that the interface unregister function does nothing about any open vccs (just a guess). VJ>> From the technical point of view: drivers for PCA200 and HE155/622 (others VJ>> in the pipe). LAN emulation v2 and a ATM-Forum compatible ATM API. Full VJ>> remote configuration. VJ> VJ>Great about the new drivers. Would they support both HARP and ngATM too ? VJ>What do you mean by full remote configuration ? As I said in an earlier mail they support HARP, ngATM and NATM. The entire ngATM configuration is done via an SNMP daemon (which does also ILMI). So you are able to do everything remote. You can configure and monitor almost all ATM related stuff via SNMP. VJ>A simple PDU prefix that provides only the VPi, VCi, PTI, and CLP. Then this VJ>node could be used upon ng_ksocket. It means that it could be used whatever VJ>upon UDP or TCP ;-) ng_bridge, ng_pppoe or ng_l2tp are good example of the VJ>multiplexing of many lower session. VJ>PTI is required in order to emulate OAM F5. Ok. VJ>It is a good example of the differences ;-)) Moreover on a Sparc64 ;-D VJ> VJ>Did you try to support the BPF with the atm physical interfaces ? See the VJ>DLT_SUNATM into the current version of tcpdump (www.tcpdump.org). VJ>Or VJ> http://www.ethereal.com/lists/ethereal-users/200211/msg00047.html VJ>for a description of the BPF header of DLT_SUNATM At the moment I have restricted BPF to LLC/SNAP non-ngATM VCIs (that means NATM and HARP). This is just a matter of removing an if(). Nice to see, that ATM makes it into tcpdump. We were trying to convince the tcpdump people about this since around 94 :-( harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Tue Feb 11 2:23:34 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC9A937B401 for ; Tue, 11 Feb 2003 02:23:32 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC09743F3F for ; Tue, 11 Feb 2003 02:23:31 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h1BANUx28351 for ; Tue, 11 Feb 2003 11:23:30 +0100 (MET) Date: Tue, 11 Feb 2003 11:23:30 +0100 (CET) From: Harti Brandt X-X-Sender: hbb@beagle.fokus.gmd.de To: atm@freebsd.org Subject: Bug in hea driver? Message-ID: <20030211112002.S3497@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-756721336-1044959010=:3497" Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-756721336-1044959010=:3497 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi all, could someone please comment on the attached patch? There seems to be a bug in the on-card memory allocator. The problem is, that when we need to split a block that appears to be large enough because of alignment, we want to check, that what remains after splitting is large enough (with regard to the size we are trying to allocated), not that it is >= 0. The test for >= 0 should always be true, because a block of size N (N beeing a power of two) always contains an address that is aligned to N, so that the upper half when splitting such a block is always >= 0. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org --0-756721336-1044959010=:3497 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="hea.p0" Content-Transfer-Encoding: BASE64 Content-ID: <20030211112330.P3497@beagle.fokus.gmd.de> Content-Description: Content-Disposition: attachment; filename="hea.p0" SW5kZXg6IGVuaV9idWZmZXIuYw0KPT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0K UkNTIGZpbGU6IC9ob21lL25jdnMvc3JjL3N5cy9kZXYvaGVhL2VuaV9idWZm ZXIuYyx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTUNCmRpZmYgLXUgLXIx LjE1IGVuaV9idWZmZXIuYw0KLS0tIGVuaV9idWZmZXIuYwk4IE5vdiAyMDAy IDE4OjI3OjI4IC0wMDAwCTEuMTUNCisrKyBlbmlfYnVmZmVyLmMJMTEgRmVi IDIwMDMgMTA6MTk6NTggLTAwMDANCkBAIC0yNjcsNyArMjY3LDcgQEANCiAJ CSAgICAvKg0KIAkJICAgICAqIElmIHdlIHVzZSB0aGlzIGFsaWdubWVudCwg d2lsbCBpdCBzdGlsbCBmaXQ/DQogCQkgICAgICovDQotCQkgICAgaWYgKCAo ZXB0ci0+c2l6ZSAtIChuYmFzZSAtIGVwdHItPmJhc2UpKSA+PSAwICkNCisJ CSAgICBpZiAoIChlcHRyLT5zaXplIC0gKG5iYXNlIC0gZXB0ci0+YmFzZSkp ID49IG5zaXplICkNCiAJCSAgICB7DQogCQkJTWJkCSpldG1wOw0KIA0K --0-756721336-1044959010=:3497-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Tue Feb 11 12:39: 1 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2ECB37B401 for ; Tue, 11 Feb 2003 12:39:00 -0800 (PST) Received: from mel-rto2.wanadoo.fr (smtp-out-2.wanadoo.fr [193.252.19.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC0A243F3F for ; Tue, 11 Feb 2003 12:38:59 -0800 (PST) (envelope-from vjardin@wanadoo.fr) Received: from mel-rta7.wanadoo.fr (193.252.19.61) by mel-rto2.wanadoo.fr (6.7.015) id 3E0C337001D71410; Tue, 11 Feb 2003 21:38:52 +0100 Received: from there (80.11.204.72) by mel-rta7.wanadoo.fr (6.7.015) id 3E26CE540106EDD2; Tue, 11 Feb 2003 21:38:52 +0100 Message-ID: <3E26CE540106EDD2@mel-rta7.wanadoo.fr> (added by postmaster@wanadoo.fr) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Harti Brandt , atm@freebsd.org Subject: Re: Bug in hea driver? Date: Tue, 11 Feb 2003 21:59:40 +0100 X-Mailer: KMail [version 1.3.2] References: <20030211112002.S3497@beagle.fokus.gmd.de> In-Reply-To: <20030211112002.S3497@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I agree with this patch. Vincent Le Mardi 11 Février 2003 11:23, Harti Brandt a écrit : > Hi all, > > could someone please comment on the attached patch? There seems to be a > bug in the on-card memory allocator. The problem is, that when we need to > split a block that appears to be large enough because of alignment, we > want to check, that what remains after splitting is large enough (with > regard to the size we are trying to allocated), not that it is >= 0. The > test for >= 0 should always be true, because a block of size N (N beeing a > power of two) always contains an address that is aligned to N, so that the > upper half when splitting such a block is always >= 0. > > harti To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Thu Feb 13 16:50: 5 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81AEC37B401 for ; Thu, 13 Feb 2003 16:50:04 -0800 (PST) Received: from lithium.nac.net (lithium.nac.net [64.21.52.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 6609D43FE0 for ; Thu, 13 Feb 2003 16:50:01 -0800 (PST) (envelope-from alex@nac.net) Received: (qmail 61519 invoked from network); 14 Feb 2003 00:48:03 -0000 Received: from unknown (HELO when.hq.nac.net) (207.99.113.72) by mail.nac.net with SMTP; 14 Feb 2003 00:48:03 -0000 Date: Thu, 13 Feb 2003 17:47:54 -0700 (Mountain Standard Time) From: Alex Rubenstein To: atm@freebsd.org Subject: HE622? Message-ID: X-X-Sender: alex@mail.nac.net MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Any pointers of using a HE622 on HARP? Also, any timeframe on when ngATM will support CLIP? Thanks, -- Alex Rubenstein, AR97, K2AHR, alex@nac.net, latency, Al Reuben -- -- Net Access Corporation, 800-NET-ME-36, http://www.nac.net -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Fri Feb 14 1:21:17 2003 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC08337B401 for ; Fri, 14 Feb 2003 01:21:16 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B66243F93 for ; Fri, 14 Feb 2003 01:21:15 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h1E9LBV09107; Fri, 14 Feb 2003 10:21:12 +0100 (MET) Date: Fri, 14 Feb 2003 10:21:11 +0100 (CET) From: Harti Brandt X-X-Sender: hbb@beagle.fokus.gmd.de To: Alex Rubenstein Cc: atm@FreeBSD.ORG Subject: Re: HE622? In-Reply-To: Message-ID: <20030214101712.D3476@beagle.fokus.gmd.de> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 13 Feb 2003, Alex Rubenstein wrote: AR>Any pointers of using a HE622 on HARP? This depends on the following steps: 1. Importing the HE driver and associated infrastructure into the tree. 2. Importing if_harp. 3. Testing the HE driver on a HE622. You can try it yourself - get the ngatmbase package, apply the patch I posted to the list and try it (you need to build hatm and harp only). If you need help - let me know. AR>Also, any timeframe on when ngATM will support CLIP? Not really. I have an older version, but getting ngATM into the tree will take some time (given, that I get support to do this). harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message