Re: [PATCHv2 net-next 01/14] selftests/net: add lib.sh

2023-11-30 Thread Hangbin Liu
On Fri, Dec 01, 2023 at 01:56:51PM +0800, Po-Hsu Lin wrote: > > +# setup netns with given names as prefix. e.g > > +# setup_ns local remote > > +setup_ns() > > +{ > > + local ns="" > > + local ns_name="" > > + local ns_list="" > > + for ns_name in "$@"; do > > +

Re: [PATCHv2 net-next 01/14] selftests/net: add lib.sh

2023-11-30 Thread Po-Hsu Lin
On Thu, Nov 30, 2023 at 12:01 PM Hangbin Liu wrote: > > Add a lib.sh for net selftests. This file can be used to define commonly > used variables and functions. Some commonly used functions can be moved > from forwarding/lib.sh to this lib file. e.g. busywait(). > > Add function setup_ns() for

Re: [PATCHv2 net-next 01/14] selftests/net: add lib.sh

2023-11-30 Thread Petr Machata
Hangbin Liu writes: > Add a lib.sh for net selftests. This file can be used to define commonly > used variables and functions. Some commonly used functions can be moved > from forwarding/lib.sh to this lib file. e.g. busywait(). > > Add function setup_ns() for user to create unique namespaces