[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAH3MdRV+LUuKpbUJFzqFrodEDbfm5aif+qmzWsUJYSFGQyCMow@mail.gmail.com>
Date: Wed, 7 Aug 2019 11:05:33 -0700
From: Y Song <ys114321@...il.com>
To: Jesper Dangaard Brouer <brouer@...hat.com>
Cc: netdev <netdev@...r.kernel.org>,
Daniel Borkmann <borkmann@...earbox.net>,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
Xdp <xdp-newbies@...r.kernel.org>, a.s.protopopov@...il.com,
David Ahern <dsahern@...il.com>
Subject: Re: [bpf-next PATCH 3/3] samples/bpf: xdp_fwd explain bpf_fib_lookup
return codes
On Wed, Aug 7, 2019 at 5:38 AM Jesper Dangaard Brouer <brouer@...hat.com> wrote:
>
> Make it clear that this XDP program depend on the network
> stack to do the ARP resolution. This is connected with the
> BPF_FIB_LKUP_RET_NO_NEIGH return code from bpf_fib_lookup().
>
> Another common mistake (seen via XDP-tutorial) is that users
> don't realize that sysctl net.ipv{4,6}.conf.all.forwarding
> setting is honored by bpf_fib_lookup.
>
> Reported-by: Anton Protopopov <a.s.protopopov@...il.com>
> Signed-off-by: Jesper Dangaard Brouer <brouer@...hat.com>
Acked-by: Yonghong Song <yhs@...com>
Powered by blists - more mailing lists