Home
last modified time | relevance | path

Searched refs:NETDEVSIM_PATH (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink_trap.sh24 NETDEVSIM_PATH=/sys/bus/netdevsim/
40 if [ ! -d "$NETDEVSIM_PATH" ]; then
45 if [ -d "${NETDEVSIM_PATH}/devices/netdevsim${DEV_ADDR}" ]; then
459 echo "$DEV_ADDR 0" > ${NETDEVSIM_PATH}/new_device
464 echo "$DEV_ADDR" > ${NETDEVSIM_PATH}/del_device
469 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/new_port
474 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/del_port
483 if [ ! -d "${NETDEVSIM_PATH}/devices/${DEV}" ]; then
490 if [ ! -d "${NETDEVSIM_PATH}/devices/${DEV}/net/" ]; then
498 NETDEV=$(ls ${NETDEVSIM_PATH}/devices/${DEV}/net/)
H A Dpsample.sh14 NETDEVSIM_PATH=/sys/bus/netdevsim/
157 echo "$DEV_ADDR 1" > ${NETDEVSIM_PATH}/new_device
173 echo "$DEV_ADDR" > ${NETDEVSIM_PATH}/del_device
H A Dfib_notifications.sh17 NETDEVSIM_PATH=/sys/bus/netdevsim/
391 echo "$DEV_ADDR 1" > ${NETDEVSIM_PATH}/new_device
420 echo "$DEV_ADDR" > ${NETDEVSIM_PATH}/del_device
H A Dhw_stats_l3.sh14 NETDEVSIM_PATH=/sys/bus/netdevsim/
55 echo "$(DEV_ADDR $n) 1" > ${NETDEVSIM_PATH}/new_device
77 echo "$(DEV_ADDR $n)" > ${NETDEVSIM_PATH}/del_device
H A Dfib.sh35 NETDEVSIM_PATH=/sys/bus/netdevsim/
368 echo "$DEV_ADDR 1" > ${NETDEVSIM_PATH}/new_device
388 echo "$DEV_ADDR" > ${NETDEVSIM_PATH}/del_device
H A Dnexthop.sh44 NETDEVSIM_PATH=/sys/bus/netdevsim/
1027 echo "$DEV_ADDR 1" > ${NETDEVSIM_PATH}/new_device
1048 echo "$DEV_ADDR" > ${NETDEVSIM_PATH}/del_device
/linux/tools/testing/selftests/net/
H A Ddrop_monitor_tests.sh14 NETDEVSIM_PATH=/sys/bus/netdevsim/
43 $NS_EXEC echo "$DEV_ADDR 1" > ${NETDEVSIM_PATH}/new_device
45 local netdev=$($NS_EXEC ls ${NETDEVSIM_PATH}/devices/${DEV}/net/)
53 $NS_EXEC echo "$DEV_ADDR" > ${NETDEVSIM_PATH}/del_device