|
io-pkt shared memory (PCIe) driver, sending packets up the stack
|
12/02/2009 3:39 PM
post43047
|
io-pkt shared memory (PCIe) driver, sending packets up the stack
Starting with the sample io-pkt driver (sam.c) I've created a shared memory driver to provide network connections
between two processor modules. The shared memory is really PCI/PCIe.
It seems to work intermittently. I'm guessing that the handling of the m_buf content during transmit and generation of
m_buf content during receive are not correct.
Is there any reference material that describes the content of m_bufs during transmit?
Is the m_buf format passed up the stack (via ifp->if_input()) described anywhere? Does each call to ifp->if_input()
send one full packet up?
Thanks,
Gary
|
|
|