Reliability and Stability test for our drivers in LSDK

cancel
Showing results for 
Search instead for 
Did you mean: 

Reliability and Stability test for our drivers in LSDK

Jump to solution
411 Views
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 Kudos
1 Solution
299 Views
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

View solution in original post

0 Kudos
4 Replies
300 Views
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 Kudos
299 Views
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 Kudos
299 Views
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 Kudos
299 Views
yutaka_ando
NXP Employee
NXP Employee

Hello Yiping,

Thank you for sharing the script!

Best regards,

Ando

0 Kudos