All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Leblond <eric@regit.org>
To: xdp-newbies@vger.kernel.org
Subject: CPU redirect and skb mode
Date: Thu, 04 Jan 2018 01:18:29 +0100	[thread overview]
Message-ID: <1515025109.7473.10.camel@regit.org> (raw)

Hello,

I'm currently working on implementing XDP CPU redirect map inside
Suricata.

I've used CPU redirect map on my test laptop that has only skb mode
available and my implementation was failing with result being almost
all packets if not all were dropped.

So I decided to build the XPD sample and test them:

sudo ./xdp_redirect_cpu --debug -d wlan0  --cpu 4 -S

The result was the same with packet blocked.

Am I missing something in the setup ?

For those interested, I've pushed my POC implementation here: 
https://github.com/regit/suricata/commit/b1369fd0dc3a22a932190846a8bcbec4bfbd34b2

BR,
-- 
Eric Leblond <eric@regit.org>
Blog: https://home.regit.org/

             reply	other threads:[~2018-01-04  0:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-04  0:18 Eric Leblond [this message]
2018-01-04  7:15 ` CPU redirect and skb mode Jesper Dangaard Brouer
2018-01-04  7:59   ` Eric Leblond
2018-01-04  9:58     ` Jesper Dangaard Brouer

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=1515025109.7473.10.camel@regit.org \
    --to=eric@regit.org \
    --cc=xdp-newbies@vger.kernel.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.