Lines Matching refs:netdevsim
564 sysfsd=/sys/kernel/debug/netdevsim/netdevsim0/ports/0/
565 sysfsnet=/sys/bus/netdevsim/devices/netdevsim0/net/
579 if [ ! -w /sys/bus/netdevsim/new_device ] ; then
580 run_cmd modprobe -q netdevsim
589 echo "0" > /sys/bus/netdevsim/new_device
619 echo 0 > /sys/bus/netdevsim/del_device
620 $probed && rmmod netdevsim
737 sysfsd=/sys/kernel/debug/netdevsim/netdevsim0/ports/0/
739 sysfsnet=/sys/bus/netdevsim/devices/netdevsim0/net/
747 if [ ! -w /sys/bus/netdevsim/new_device ] ; then
748 run_cmd modprobe -q netdevsim
756 echo "0" > /sys/bus/netdevsim/new_device
834 echo 0 > /sys/bus/netdevsim/del_device
835 $probed && rmmod netdevsim
1112 sysfsnet=/sys/bus/netdevsim/devices/netdevsim
1115 if [ ! -w /sys/bus/netdevsim/new_device ] ; then
1116 run_cmd modprobe -q netdevsim
1124 echo "10 1" > /sys/bus/netdevsim/new_device
1126 echo "20 1" > /sys/bus/netdevsim/new_device
1140 echo 20 > /sys/bus/netdevsim/del_device
1141 echo 10 > /sys/bus/netdevsim/del_device
1142 $probed && rmmod netdevsim