[dpdk-dev] DPDK & BPF

2015-01-23 Thread deco33000 Jog
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 st

[dpdk-dev] DPDK - TX from lcore in packet distributor configuration

2015-01-21 Thread deco33000 Jog
21.01.2015, 20:16, "deco33000 Jog" : > 21.01.2015, 17:43, "Bruce Richardson" : >> ?On Wed, Jan 21, 2015 at 03:00:50PM +0100, deco33000 Jog wrote: >>> ??Hello, >>> >>> ??-- PROBLEM >>> ??I have a AF_PACKET socket which is in promis

[dpdk-dev] DPDK - TX from lcore in packet distributor configuration

2015-01-21 Thread deco33000 Jog
Hello, -- PROBLEM I have a AF_PACKET socket which is in promiscuous mode to get all the NIC traffic and let my apps do the whole stuff. So I have one receiver and need to communicate the packet to different threads/processes (lcore) so that they can process the rest of the packet (tcp/udp...)