mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Kernel hard_start_xmit performance vs SOCK_RAW performance
@ 2009-06-26 14:04 Gallus
  2009-06-26 14:08 ` Alan Cox
  0 siblings, 1 reply; 4+ messages in thread
From: Gallus @ 2009-06-26 14:04 UTC (permalink / raw)
  To: linux-kernel

Hi,
what path would you choose to rapidly generate packets:
1. Develop kernel space module and user space client tool.
The tool would call the module through ioctl() passing the packet
contents. The module would then construct sbk buffer and call
hard_start_xmit.

2. Develop only user space client tool
The tool would just sent packets through raw sockets.


I'm wondering if amount of system calls in (1) solution will not be a problem?

Which path is generally better?

-- 
Regards,
Gallus

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

end of thread, other threads:[~2009-06-26 14:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-26 14:04 Kernel hard_start_xmit performance vs SOCK_RAW performance Gallus
2009-06-26 14:08 ` Alan Cox
2009-06-26 14:35   ` Gallus
2009-06-26 14:47     ` Peter Chacko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®