[PATCH net] selftests/bpf: add xdpdrv mode for test_xdp_redirect

2020-07-29 Thread Hangbin Liu
This patch add xdpdrv mode for test_xdp_redirect.sh since veth has support native mode. After update here is the test result: ]# ./test_xdp_redirect.sh selftests: test_xdp_redirect xdpgeneric [PASS] selftests: test_xdp_redirect xdpdrv [PASS] Signed-off-by: Hangbin Liu --- .../selftests/bpf/test

Re: [PATCH net] selftests/bpf: add xdpdrv mode for test_xdp_redirect

2020-07-29 Thread Song Liu
On Wed, Jul 29, 2020 at 1:59 AM Hangbin Liu wrote: > > This patch add xdpdrv mode for test_xdp_redirect.sh since veth has > support native mode. After update here is the test result: > > ]# ./test_xdp_redirect.sh > selftests: test_xdp_redirect xdpgeneric [PASS] > selftests: test_xdp_redirect xdpdr

Re: [PATCH net] selftests/bpf: add xdpdrv mode for test_xdp_redirect

2020-07-29 Thread William Tu
On Wed, Jul 29, 2020 at 1:59 PM Song Liu wrote: > > On Wed, Jul 29, 2020 at 1:59 AM Hangbin Liu wrote: > > > > This patch add xdpdrv mode for test_xdp_redirect.sh since veth has > > support native mode. After update here is the test result: > > > > ]# ./test_xdp_redirect.sh > > selftests: test_xd

Re: [PATCH net] selftests/bpf: add xdpdrv mode for test_xdp_redirect

2020-07-29 Thread Daniel Borkmann
On 7/29/20 11:06 PM, William Tu wrote: On Wed, Jul 29, 2020 at 1:59 PM Song Liu wrote: On Wed, Jul 29, 2020 at 1:59 AM Hangbin Liu wrote: This patch add xdpdrv mode for test_xdp_redirect.sh since veth has support native mode. After update here is the test result: ]# ./test_xdp_redirect.sh s