From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Alejandro C <alexfestss@hotmail.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: On the transfer of data from the uart.c driver to the tty layer...
Date: Wed, 06 Sep 2006 10:45:26 +1000 [thread overview]
Message-ID: <1157503526.22705.153.camel@localhost.localdomain> (raw)
In-Reply-To: <BAY121-F225DA006048FC317F8E97BDB300@phx.gbl>
On Tue, 2006-09-05 at 14:56 +0000, Alejandro C wrote:
> Hi all,
>
> I'm working on a the uart.c driver to add support for SCCs in HDLC mode. The
> application I'm going to run on top will be sending Ethernet packets
> encapsulated in the data field of an HDLC frame. The idea was to make the
> buffer big enough so that a whole Eth. packet (max 1518 octects) could fit
> in just one buffer. I let the CPM interrupt on a frame basis and the problem
> I've come across is that the receive buffer in the struct tty_struct, where
> the tty layer collects the data from the driver
> (tty_struct.tty_flip_buffer.char_buf), is only 1024 bytes
> (2*TTY_FLIPBUF_SIZE). The easiest at this stage would be to make those
> buffers larger, but I don't know what sort of impact this might have... Any
> tips?
> Any ideas on how to solve it in another fashion?
>
> Help will be highly appreciated.
You should ask on the linux-kernel mailing list, possibly CC'ing Alan
Cox who seem to have put his hands a lot in the TTY code lately.
Ben.
next prev parent reply other threads:[~2006-09-06 0:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-05 14:56 On the transfer of data from the uart.c driver to the tty layer Alejandro C
2006-09-06 0:45 ` Benjamin Herrenschmidt [this message]
2006-09-06 2:28 ` Dan Malek
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=1157503526.22705.153.camel@localhost.localdomain \
--to=benh@kernel.crashing.org \
--cc=alexfestss@hotmail.com \
--cc=linuxppc-dev@ozlabs.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