linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PPP over PCIe
@ 2015-05-05  8:06 salix
  2015-05-05 14:04 ` Michael Richardson
  0 siblings, 1 reply; 2+ messages in thread
From: salix @ 2015-05-05  8:06 UTC (permalink / raw)
  To: linux-ppp

hi,

I want to send ppp packets generated in linux ppp module over PCIe 
instead of serial port. and then through FPGA send packets out.

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
and: http://riffa.ucsd.edu/
also it use IOCTL for communications.
and riffa driver generate /dev/riffa

Is it possible to send PPP packets over any hardware channel?
can anyone give me a point to how can I do this? how can I send ppp 
packets to my PCIe driver?

is it enough to change ppp_generic.c and ppp_channel.h and tty.c?


Best Regards
salix


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PPP over PCIe
  2015-05-05  8:06 PPP over PCIe salix
@ 2015-05-05 14:04 ` Michael Richardson
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Richardson @ 2015-05-05 14:04 UTC (permalink / raw)
  To: linux-ppp


<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    [


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-05 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-05  8:06 PPP over PCIe salix
2015-05-05 14:04 ` Michael Richardson

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