From: Krzysztof Halasa <khc@pm.waw.pl>
To: "Miguel Ángel Álvarez" <gotzoncabanes@gmail.com>
Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: ixp4xx_hss MAX_CHAN_DEVICES
Date: Wed, 26 Nov 2008 12:19:56 +0100 [thread overview]
Message-ID: <m363mahgyr.fsf@maximus.localdomain> (raw)
In-Reply-To: <b0438a630811260202q443d558fw1a3d8193d7f3e7d4@mail.gmail.com> ("Miguel Ángel Álvarez"'s message of "Wed\, 26 Nov 2008 11\:02\:20 +0100")
"Miguel Ángel Álvarez" <gotzoncabanes@gmail.com> writes:
>> Basically MVIP divides your entire frame into 2 or 4 parts.
>>
> Sure. But... It is automatically activated when the frame length is
> greater than 256 or should it be explicitelly set?
You must set the number of (packetized) pipes.
For channelized data, there is apparently no difference.
> OK... I understand the concept, but I am not sure about how this is
> integrated with your driver (or the NPE). I mean... When I use your
> driver, I obtain two interfaces hdlc0 and hdlc1 (one per HSS). If I
> had only a packetized stream, I could open a socket to the interface
> and send the data. No problem (I think) in it.
> But if I want to have four streams (one per E1), is your driver
> prepare to deal with this, or should I manage to create four
> interfaces per HSS?
The driver is currently missing the MVIP code.
> In the first case... Is it related with set_hdlc_chan function? The
> name could suggest this, but then it does nothing for MODE_HDLC but
> MODE_RAW and MODE_G704.
That's for channelized data.
> In the second case... I understand that if I have to add the new
> interfaces, they should be network interfaces. Where do you recommend
> me to do it?
I'd have to look at it.
> In both cases... How can the user direct his data to one E1 or the other?
Each "member" E1 is connected to its respective HDLC controller
("packetized pipe"), and these have "TX" and "RX-free" queues (one set
per each HDLC).
> In my case (bad luck...) we have a legacy mode of connection, so I
> cannot use any of the methods described. I "just" need something
> similar to the IxHssAccPktPortConnection in the Intel Software
> Library...
Sure, you can use this raw HDLC + packet interface. One stream per
(member) E1/T1 (or, to be precise, one stream per 1, 1/2 or 1/4 of the
physical interface).
--
Krzysztof Halasa
next prev parent reply other threads:[~2008-11-26 11:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-19 11:17 ixp4xx_hss MAX_CHAN_DEVICES Miguel Ángel Álvarez
2008-11-21 22:52 ` Krzysztof Halasa
2008-11-24 10:03 ` Miguel Ángel Álvarez
2008-11-24 12:15 ` Miguel Ángel Álvarez
2008-11-24 16:14 ` Krzysztof Halasa
2008-11-24 17:12 ` Miguel Ángel Álvarez
2008-11-24 23:52 ` Krzysztof Halasa
2008-11-25 16:51 ` Miguel Ángel Álvarez
2008-11-26 0:09 ` Krzysztof Halasa
2008-11-26 10:02 ` Miguel Ángel Álvarez
2008-11-26 11:19 ` Krzysztof Halasa [this message]
2008-11-26 12:08 ` Miguel Ángel Álvarez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m363mahgyr.fsf@maximus.localdomain \
--to=khc@pm.waw.pl \
--cc=gotzoncabanes@gmail.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox