From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward16.mail.yandex.net (forward16.mail.yandex.net [95.108.253.141]) by dpdk.org (Postfix) with ESMTP id 7C0A15B00 for ; Fri, 23 Jan 2015 15:34:28 +0100 (CET) Received: from web5g.yandex.ru (web5g.yandex.ru [95.108.252.105]) by forward16.mail.yandex.net (Yandex) with ESMTP id A8CA6D2087B for ; Fri, 23 Jan 2015 17:34:27 +0300 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web5g.yandex.ru (Yandex) with ESMTP id 535234B604E8; Fri, 23 Jan 2015 17:34:27 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1422023667; bh=XuEX1cSe7EaePvVQc4CVt3sxpdF1pxKvrk0dwXwcQN4=; h=From:To:Subject:Date; b=VTXchqq0dBmIa1udHnXR0sG1Si7JIF4BCvBFi69v/446ZofBpF6pgoNkhsW5/Bpec rOSQYa7mC8w6ONQRDyNjwjmndTmXZ7iRrIjc8PsRdyZdY4flbpVw6jVqK4d+Rad6Ic K6z6xZ9QJ+jNi7tY7o5+l+peI5a8P4Q7tk4g+xS0= Received: by web5g.yandex.ru with HTTP; Fri, 23 Jan 2015 17:34:26 +0300 From: deco33000 Jog To: dev@dpdk.org MIME-Version: 1.0 Message-Id: <7275011422023666@web5g.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 23 Jan 2015 15:34:26 +0100 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: [dpdk-dev] DPDK & BPF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2015 14:34:28 -0000 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