All of lore.kernel.org
 help / color / mirror / Atom feed
* CPU redirect and skb mode
@ 2018-01-04  0:18 Eric Leblond
  2018-01-04  7:15 ` Jesper Dangaard Brouer
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Leblond @ 2018-01-04  0:18 UTC (permalink / raw)
  To: xdp-newbies

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-04  9:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-04  0:18 CPU redirect and skb mode Eric Leblond
2018-01-04  7:15 ` Jesper Dangaard Brouer
2018-01-04  7:59   ` Eric Leblond
2018-01-04  9:58     ` Jesper Dangaard Brouer

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.