Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2003 00:12:31 +0200
From:      Vincent Jardin <vjardin@wanadoo.fr>
To:        Anil Madhavapeddy <anil@recoil.org>, freebsd-atm@freebsd.org
Subject:   Re: procom aal0 mode
Message-ID:  <200306190012.31245.vjardin@wanadoo.fr>
In-Reply-To: <20030618213150.GA20365@fork>
References:  <20030618213150.GA20365@fork>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306190012.31245.vjardin>