From owner-freebsd-atm@FreeBSD.ORG Wed Jun 18 15:11:35 2003 Return-Path: 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 1C25437B401 for ; Wed, 18 Jun 2003 15:11:35 -0700 (PDT) Received: from mwinf0202.wanadoo.fr (smtp7.wanadoo.fr [193.252.22.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEEFE43F93 for ; Wed, 18 Jun 2003 15:11:33 -0700 (PDT) (envelope-from vjardin@wanadoo.fr) Received: from venus.vincentjardin.net (unknown [193.253.220.212]) by mwinf0202.wanadoo.fr (SMTP Server) with ESMTP id 61E8EA4001B6; Thu, 19 Jun 2003 00:11:32 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Anil Madhavapeddy , freebsd-atm@freebsd.org Date: Thu, 19 Jun 2003 00:12:31 +0200 User-Agent: KMail/1.4.3 References: <20030618213150.GA20365@fork> In-Reply-To: <20030618213150.GA20365@fork> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200306190012.31245.vjardin@wanadoo.fr> Subject: Re: procom aal0 mode X-BeenThere: freebsd-atm@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ATM for FreeBSD! List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2003 22:11:35 -0000 > I tried this out on FreeBSD 4.8 with a Procom 155B and it works great > with the minor patch below (since aux doesnt exist in the 4.8 mbuf anym= ore) I agree about this patch. Moreover I think that the test of the aux field= =20 could be removed because we do not care. > One question: I'm trying to access the device in AAL0 mode, to gain acc= ess > to the raw 48-byte payload. Does the procom driver support this? Comm= ents > in the driver suggest not. I've tried a quick natm program, and that a= lso > failed. Yes, it could be possible, see the function proatm_process_rcqe(). It sho= uld=20 process the raw cells, however, up to now, it does nothing. Besides, the interrupt handler calls proatm_rawc() when IDT_RCTE_RAWCELLI= NTEN=20 is set (see proatm_init(), and proatm_connect_rxopen() ). You can see that you need to define RCQ_SUPPORT in order to enable the Ra= w=20 Cell Queue. README.proatm: RCQ_SUPPORT ----------- Enables receipt of erroneous cells, or receipt of cells from non open VCs= =2E So far we do nothing with these cells but an empty function is provided wher= e you can write your own processing. For more infomation about the Raw Cells, the OAM cells, ... see the IDT=20 chipset documentation.=20 > Could someone suggest a good way to do AAL0 on a Procom card? Can you use the raw cells for this purpose ? Regards, Vincent PS: Why do you need to receive or to send an AAL0 cell ? Unfortunately, i= t is=20 not well supported by the HARP stack ;-( (there is no AAL0 ATM socket).