DPDK patches and discussions
 help / color / mirror / Atom feed
From: deco33000 Jog <deco33000@yandex.com>
To: dev@dpdk.org
Subject: [dpdk-dev] DPDK & BPF
Date: Fri, 23 Jan 2015 15:34:26 +0100	[thread overview]
Message-ID: <7275011422023666@web5g.yandex.ru> (raw)

Hello,

I would like your opinion.

I try to fill a "little" 1 Gbps link. In my testing environment, I have no smart card able to parse the headers for me.

So by design, i am slow. But fast enough for that link.

But, is it easy to put a filter like BPF on top of DPDK ? I am not sure where to start to make this happen. 
In my understanding, bpf will read the nic's raw packets and apply the filters and let them flow to the socket.
That avoids copy to the socket and should increase overall performance.

Where to put dpdk ? right after the filtering, but how to coordinate them ?
This is the point I miss.

Even better, maybe DPDK has a filtering feature (not seen in the doc)?

Thanks

                 reply	other threads:[~2015-01-23 14:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=7275011422023666@web5g.yandex.ru \
    --to=deco33000@yandex.com \
    --cc=dev@dpdk.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).