Re: [bpf-next PATCH 3/3] samples/bpf: xdp_fwd explain bpf_fib_lookup return codes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [bpf-next PATCH 3/3] samples/bpf: xdp_fwd explain bpf_fib_lookup return codes
- From: Y Song <ys114321@xxxxxxxxx>
- Date: Wed, 7 Aug 2019 11:05:33 -0700
- In-reply-to: <156518138817.5636.3626699603179533211.stgit@firesoul>
- References: <156518133219.5636.728822418668658886.stgit@firesoul> <156518138817.5636.3626699603179533211.stgit@firesoul>
On Wed, Aug 7, 2019 at 5:38 AM Jesper Dangaard Brouer <brouer@xxxxxxxxxx> 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@xxxxxxxxx>
> Signed-off-by: Jesper Dangaard Brouer <brouer@xxxxxxxxxx>
Acked-by: Yonghong Song <yhs@xxxxxx>
[Index of Archives]
[Linux Networking Development]
[Fedora Linux Users]
[Linux SCTP]
[DCCP]
[Gimp]
[Yosemite Campsites]