From: Michael Richardson <mcr@sandelman.ca>
To: linux-ppp@vger.kernel.org
Subject: Re: PPP over PCIe
Date: Tue, 05 May 2015 14:04:54 +0000 [thread overview]
Message-ID: <26171.1430834694@sandelman.ca> (raw)
In-Reply-To: <33cf3cfabb7f5bdd6ea2c37df77eac1d@sarv.net>
<salix@opencores.org> wrote:
> I want to send ppp packets generated in linux ppp module over PCIe
> instead of serial port. and then through FPGA send packets out.
The kernel PPP system supports sending it out over Ethernet or ATM.
Note that there is a difference between async ppp (HDLC stuffing), and
sync ppp (no stuffing).
> I using RIFFA architecture for send and receive data to/from FPGA via
> PCIe,
> RIFFA has library in user space to communicate with it's driver.
> RIFFA site: https://sites.google.com/a/eng.ucsd.edu/matt-jacobsen/riffa
If you want to do this at some speed, you don't want to take a trip through
userspace. I don't know what RIFFA is, but I suggest you want to use an
in-kernel interface.
> is it enough to change ppp_generic.c and ppp_channel.h and tty.c?
No, as the packets don't really go through userspace even for serial.
--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | network architect [
] mcr@sandelman.ca http://www.sandelman.ca/ | ruby on rails [
prev parent reply other threads:[~2015-05-05 14:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-05 8:06 PPP over PCIe salix
2015-05-05 14:04 ` Michael Richardson [this message]
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=26171.1430834694@sandelman.ca \
--to=mcr@sandelman.ca \
--cc=linux-ppp@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;
as well as URLs for NNTP newsgroup(s).