Re: [patch net-next v2 15/16] netdevsim: move netdev creation/destruction to dev probe

2019-04-23 Thread Jiri Pirko
Tue, Apr 23, 2019 at 07:05:28PM CEST, jakub.kicin...@netronome.com wrote: >On Tue, 23 Apr 2019 09:20:14 +0200, Jiri Pirko wrote: >> Mon, Apr 22, 2019 at 09:31:33PM CEST, jakub.kicin...@netronome.com wrote: >> >On Sat, 20 Apr 2019 12:29:21 +0200, Jiri Pirko wrote: >> >> diff --git a/tools/testing/

Re: [patch net-next v2 15/16] netdevsim: move netdev creation/destruction to dev probe

2019-04-23 Thread Jakub Kicinski
On Tue, 23 Apr 2019 09:20:14 +0200, Jiri Pirko wrote: > Mon, Apr 22, 2019 at 09:31:33PM CEST, jakub.kicin...@netronome.com wrote: > >On Sat, 20 Apr 2019 12:29:21 +0200, Jiri Pirko wrote: > >> diff --git a/tools/testing/selftests/bpf/test_offload.py > >> b/tools/testing/selftests/bpf/test_offload

Re: [patch net-next v2 15/16] netdevsim: move netdev creation/destruction to dev probe

2019-04-23 Thread Jiri Pirko
Mon, Apr 22, 2019 at 09:31:33PM CEST, jakub.kicin...@netronome.com wrote: >On Sat, 20 Apr 2019 12:29:21 +0200, Jiri Pirko wrote: >> diff --git a/tools/testing/selftests/bpf/test_offload.py >> b/tools/testing/selftests/bpf/test_offload.py >> index 5f2e4f9e70e4..a0566dcf064a 100755 >> --- a/tools/te

Re: [patch net-next v2 15/16] netdevsim: move netdev creation/destruction to dev probe

2019-04-22 Thread Jakub Kicinski
On Sat, 20 Apr 2019 12:29:21 +0200, Jiri Pirko wrote: > diff --git a/tools/testing/selftests/bpf/test_offload.py > b/tools/testing/selftests/bpf/test_offload.py > index 5f2e4f9e70e4..a0566dcf064a 100755 > --- a/tools/testing/selftests/bpf/test_offload.py > +++ b/tools/testing/selftests/bpf/test_of

[patch net-next v2 15/16] netdevsim: move netdev creation/destruction to dev probe

2019-04-20 Thread Jiri Pirko
From: Jiri Pirko Remove the existing way to create netdevsim over rtnetlink and move the netdev creation/destruction to dev probe, so for every probed port, a netdevsim-netdev instance is created. Adjust selftests to work with new interface. Signed-off-by: Jiri Pirko --- v1->v2: - rebased - us