Re: Capture packets at 10g interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <greg@xxxxxxxxx> 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
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux