lkml.org 
[lkml]   [2017]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v4 1/1] xdp: Sample xdp program implementing ip forward
On Thu, Nov 9, 2017 at 7:08 AM, Jesper Dangaard Brouer
<brouer@redhat.com> wrote:
> On Wed, 08 Nov 2017 10:40:24 +0900 (KST)
> David Miller <davem@davemloft.net> wrote:
>
>> From: Christina Jacob <christina.jacob.koikara@gmail.com>
>> Date: Sun, 5 Nov 2017 08:52:30 +0530
>>
>> > From: Christina Jacob <Christina.Jacob@cavium.com>
>> >
>> > Implements port to port forwarding with route table and arp table
>> > lookup for ipv4 packets using bpf_redirect helper function and
>> > lpm_trie map.
>> >
>> > Signed-off-by: Christina Jacob <Christina.Jacob@cavium.com>
>>
>> Applied to net-next, thank you.
>
> I've not had time to proper test (and review) this V4 patch, but I
> guess I'll have to do so when I get home from Seoul...
>
> I especially want to measure the effect of using bpf_redirect_map().
> To Christina: what performance improvement did you see on your
> board/arch when switching from bpf_redirect() to bpf_redirect_map()?

ndo_xdp_flush is yet to be implemented in our driver.
So I don't see any difference moving from bpf_redirect to bpf_redirect_map.

>
> --
> Best regards,
> Jesper Dangaard Brouer
> MSc.CS, Principal Kernel Engineer at Red Hat
> LinkedIn: http://www.linkedin.com/in/brouer

\
 
 \ /
  Last update: 2017-11-15 04:10    [W:0.076 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site