PPP over PCIe
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
Quoted 2 lines · <[email protected]> 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).
Quoted 4 lines
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.
Quoted 1 line
is it enough to change
ppp_generic.candppp_channel.handtty.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 [ ] [email protected] http://www.sandelman.ca/ | ruby on rails [