Reliability and Stability test for our drivers in LSDK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Reliability and Stability test for our drivers in LSDK

跳至解决方案
1,108 次查看
yutaka_ando
NXP Employee
NXP Employee

Do you have any test scenario / package to test reliability and/or stability of our own device drivers (e.g. DPAA driver) in LSDK?  For Linux kernel, there is a test project called LTP (Linux test project).  I am looking for something like this.

0 项奖励
回复
1 解答
996 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Yutaka Ando,

we have LTP test, we also have Ethernet interfaces up and down continuously test to verify the stability.

Thanks,

Yiping

在原帖中查看解决方案

0 项奖励
回复
4 回复数
997 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Yutaka Ando,

we have LTP test, we also have Ethernet interfaces up and down continuously test to verify the stability.

Thanks,

Yiping

0 项奖励
回复
996 次查看
yutaka_ando
NXP Employee
NXP Employee

Hello yipingwang‌,

Thank you for the answer.

Could we share the test program or test script that perform ethernet interface up / down with customers or 3rd party?  If yes, please let me know whom I should ask for.

Best regards,

Ando

0 项奖励
回复
996 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Ando,

The test script is similar as the following.

#!/bin/sh

ifs=$1

for i in `seq 1 100`

do

    echo "=========== start rount $i test ========"

    for eth in $ifs

    do

        echo "================= link up $eth =========="

        ifconfig $eth up

        sleep 3

        echo "================= link down $eth =========="

        ifconfig $eth down

        sleep 1

    done

done

 

sh +x up_down.sh "eth1 eth2"

You could setup netperf environment, then execute the up_down.sh script.

Thanks,

Yiping

 

0 项奖励
回复
996 次查看
yutaka_ando
NXP Employee
NXP Employee

Hello Yiping,

Thank you for sharing the script!

Best regards,

Ando

0 项奖励
回复