[LTP] [PATCH 4/6] network/mpls02: new test with lwtunnel

Alexey Kodanev alexey.kodanev@oracle.com
Thu Nov 8 13:34:49 CET 2018


Hi Petr,
On 11/07/2018 08:36 PM, Petr Vorel wrote:
> 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 $@"
> }
> 

Sure or even more generic, for any commands?


More information about the ltp mailing list