Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink_trap.sh24 NETDEVSIM_PATH=/sys/bus/netdevsim/
38 if [ ! -d "$NETDEVSIM_PATH" ]; then
43 if [ -d "${NETDEVSIM_PATH}/devices/netdevsim${DEV_ADDR}" ]; then
434 echo "$DEV_ADDR 0" > ${NETDEVSIM_PATH}/new_device
439 echo "$DEV_ADDR" > ${NETDEVSIM_PATH}/del_device
444 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/new_port
449 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/del_port
458 if [ ! -d "${NETDEVSIM_PATH}/devices/${DEV}" ]; then
465 if [ ! -d "${NETDEVSIM_PATH}/devices/${DEV}/net/" ]; then
473 NETDEV=$(ls ${NETDEVSIM_PATH}/devices/${DEV}/net/)
Dfib.sh33 NETDEVSIM_PATH=/sys/bus/netdevsim/
311 echo "$DEV_ADDR 1" > ${NETDEVSIM_PATH}/new_device
331 echo "$DEV_ADDR" > ${NETDEVSIM_PATH}/del_device
/Linux-v5.10/tools/testing/selftests/net/
Ddrop_monitor_tests.sh20 NETDEVSIM_PATH=/sys/bus/netdevsim/
49 $NS_EXEC echo "$DEV_ADDR 1" > ${NETDEVSIM_PATH}/new_device
51 local netdev=$($NS_EXEC ls ${NETDEVSIM_PATH}/devices/${DEV}/net/)
59 $NS_EXEC echo "$DEV_ADDR" > ${NETDEVSIM_PATH}/del_device