I want to do that because I have to write a packet inspection module sort of idps solution. We are targeting kernel space because of performance. On Jan 29, 2016 12:09 AM, "Greg KH" <[email protected]> wrote:
> On Thu, Jan 28, 2016 at 11:47:36PM +0530, Tarun Batra wrote: > > Hi All, > > > > I have to write a kernel module in which I have to capture packets from > 10g nic > > interface and make a copy of them. > > Why do you want to do that? > > > I have two options > > Either use netfilters > > Either use add dev pack > > What do you mean by this last choice? > > > If any options u thing please let me know. > > > > Should the module be multi threaded? > > Why would it be? > > > As I can't compromise with performance. > > > > Can I bind kernel threads to specific core? > > Yes, but are you sure you really want to do this in the kernel? Can't > you do this today already from userspace? > > thanks, > > greg k-h >
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
