[LTP] [PATCH 4/6] network/mpls02: new test with lwtunnel
Petr Vorel
pvorel@suse.cz
Wed Nov 7 18:36:16 CET 2018
Hi Alexey,
> >> + ROD modprobe mpls_router
> >> + ROD modprobe mpls_iptunnel
> >> + ROD modprobe mpls_gso
> > Maybe just?
> > ROD modprobe mpls_gso $TST_NEEDS_DRIVERS
> OK, and it will need the '-a' option.
I wonder if we want to have a simple helper in tst_net.sh for loading modules on
both sides, similar to tst_set_sysctl and tst_net_driver (from my pull request):
tst_net_driver()
{
ROD modprobe -a $@
tst_rhost_run -c "modprobe -a $@"
}
Kind regards,
Petr
More information about the ltp
mailing list