[PATCH RFC bpf-next 2/2] selftests: Update test_tc_neigh to use the modified bpf_redirect_neigh()

2020-10-15 Thread Toke Høiland-Jørgensen
From: Toke Høiland-Jørgensen This updates the test_tc_neigh selftest to use the new syntax of bpf_redirect_neigh(). To exercise the helper both with and without the optional parameter, one forwarding direction is changed to do a bpf_fib_lookup() followed by a call to bpf_redirect_neigh(), while t

Re: [PATCH RFC bpf-next 2/2] selftests: Update test_tc_neigh to use the modified bpf_redirect_neigh()

2020-10-19 Thread Daniel Borkmann
On 10/15/20 5:46 PM, Toke Høiland-Jørgensen wrote: From: Toke Høiland-Jørgensen This updates the test_tc_neigh selftest to use the new syntax of bpf_redirect_neigh(). To exercise the helper both with and without the optional parameter, one forwarding direction is changed to do a bpf_fib_lookup(

Re: [PATCH RFC bpf-next 2/2] selftests: Update test_tc_neigh to use the modified bpf_redirect_neigh()

2020-10-19 Thread Toke Høiland-Jørgensen
Daniel Borkmann writes: > On 10/15/20 5:46 PM, Toke Høiland-Jørgensen wrote: >> From: Toke Høiland-Jørgensen >> >> This updates the test_tc_neigh selftest to use the new syntax of >> bpf_redirect_neigh(). To exercise the helper both with and without the >> optional parameter, one forwarding dir