From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Capture packets at 10g interface
Date: Thu, 28 Jan 2016 10:39:05 -0800 [thread overview]
Message-ID: <20160128183905.GA23005@kroah.com> (raw)
In-Reply-To: <CAALD5iyUY4=TCtwkDWLx=s0jAiJ9EQDCZaVWSTqfYAMufxwfRQ@mail.gmail.com>
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
next prev parent reply other threads:[~2016-01-28 18:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-28 18:17 Capture packets at 10g interface Tarun Batra
2016-01-28 18:39 ` Greg KH [this message]
2016-01-28 18:44 ` Tarun Batra
2016-01-28 19:31 ` Greg KH
2016-01-29 14:07 ` Tarun Batra
2016-01-29 14:14 ` Corey Sheldon
2016-01-29 15:59 ` Greg KH
2016-01-30 1:19 ` Daniel Ng
2016-01-30 2:44 ` Greg KH
2016-01-30 2:48 ` Anupam Kapoor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160128183905.GA23005@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.