hi:
I have two ideas to handle the packet.
1.I allocate  a memory pool and mmap into userspace, when packet is coming,
I copy packet into the memory pool, then, userspace can access it.
2.When packet is coming , I mmap the data of packet into userspace every
time, then userspace can access this packet.

Which one is better, why?
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to