Do you have a question? Post it now! No Registration Necessary
April 17, 2006, 6:12 am

Hi All,
I have a unique requirement for a ethernet device. We need to DMA
packets from the device which has a header associated along with the
ethernet frame. I need a efficient mechanism to pass this packet to the
user-space. The user-space process will process the header and provide
the ifindex of the interface.
I was thinking of a circular buffer between the kernel and user space.
But the issue is that after the user-space provides the map from the
header to the ifindex, I need that information back in the
kernel(preferably using the same buffer). I currently have the
mapping(header->ifindex) only in user space and don't want to replicate
the mapping in the kernel space.
Is there a better mechanism to solve this?
Thanks,
Shobha.
I have a unique requirement for a ethernet device. We need to DMA
packets from the device which has a header associated along with the
ethernet frame. I need a efficient mechanism to pass this packet to the
user-space. The user-space process will process the header and provide
the ifindex of the interface.
I was thinking of a circular buffer between the kernel and user space.
But the issue is that after the user-space provides the map from the
header to the ifindex, I need that information back in the
kernel(preferably using the same buffer). I currently have the
mapping(header->ifindex) only in user space and don't want to replicate
the mapping in the kernel space.
Is there a better mechanism to solve this?
Thanks,
Shobha.
Site Timeline
- » how to calculate the bustime for usb interrupt and isochronous transfers ?
- — Next thread in » Embedded Linux
-
- » Diskless VIA EPIA with GUI
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » CR1616 en remplacement de CTL1616
- — The site's Newest Thread. Posted in » Electronics (French)
-