Home
last modified time | relevance | path

Searched refs:DEVLINK_DEV (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Ddevlink_lib.sh7 if [[ ! -v DEVLINK_DEV ]]; then
8 DEVLINK_DEV=$(devlink port show "${NETIFS[p1]:-$NETIF_NO_CABLE}" -j \
10 if [ -z "$DEVLINK_DEV" ]; then
14 if [[ "$(echo $DEVLINK_DEV | grep -c pci)" -eq 0 ]]; then
19 DEVLINK_VIDDID=$(lspci -s $(echo $DEVLINK_DEV | cut -d"/" -f2) \
66 local resource_name=.[][\"$DEVLINK_DEV\"]
76 devlink -j resource show "$DEVLINK_DEV" | jq "$resource_name"
97 devlink resource set "$DEVLINK_DEV" path "$path" size "$new_size"
110 devlink dev reload "$DEVLINK_DEV" &> /dev/null
113 still_pending=$(devlink resource show "$DEVLINK_DEV" | \
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
Dfib.sh36 DEVLINK_DEV=netdevsim/${DEV}
75 fib_ipv4_replay_metric_test "testns1" "$DEVLINK_DEV"
80 fib_ipv4_replay_tos_test "testns1" "$DEVLINK_DEV"
85 fib_ipv4_replay_plen_test "testns1" "$DEVLINK_DEV"
109 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10
110 devlink -N testns1 dev reload $DEVLINK_DEV
131 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100
132 devlink -N testns1 dev reload $DEVLINK_DEV
138 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10
139 devlink -N testns1 dev reload $DEVLINK_DEV &> /dev/null
[all …]
Ddevlink_trap.sh27 DEVLINK_DEV=netdevsim/${DEV}
273 devlink trap policer set $DEVLINK_DEV policer 1337 &> /dev/null
275 devlink trap policer show $DEVLINK_DEV policer 1337 &> /dev/null
278 devlink trap policer set $DEVLINK_DEV policer 1 rate 2000 burst 16
287 devlink trap policer set $DEVLINK_DEV policer 1 rate 0 &> /dev/null
289 devlink trap policer set $DEVLINK_DEV policer 1 rate 9000 &> /dev/null
291 devlink trap policer set $DEVLINK_DEV policer 1 burst 2 &> /dev/null
293 devlink trap policer set $DEVLINK_DEV policer 1 rate 65537 &> /dev/null
296 devlink trap policer set $DEVLINK_DEV policer 1 rate 3000 &> /dev/null
314 devlink -s trap policer show $DEVLINK_DEV policer 1 &> /dev/null
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_policer.sh89 devlink trap set $DEVLINK_DEV trap blackhole_route action trap
94 devlink trap set $DEVLINK_DEV trap blackhole_route action drop
144 devlink trap policer set $DEVLINK_DEV policer 1 rate 0 &> /dev/null
146 devlink trap policer set $DEVLINK_DEV policer 1 \
150 devlink trap policer set $DEVLINK_DEV policer 1 rate 1
152 devlink trap policer set $DEVLINK_DEV policer 1 rate 2000000000
162 devlink trap policer set $DEVLINK_DEV policer 1 burst 0 &> /dev/null
164 devlink trap policer set $DEVLINK_DEV policer 1 burst 17 &> /dev/null
166 devlink trap policer set $DEVLINK_DEV policer 1 burst 8 &> /dev/null
168 devlink trap policer set $DEVLINK_DEV policer 1 \
[all …]
Dfib.sh69 fib_ipv4_replay_metric_test "testns1" "$DEVLINK_DEV"
74 fib_ipv4_replay_tos_test "testns1" "$DEVLINK_DEV"
79 fib_ipv4_replay_plen_test "testns1" "$DEVLINK_DEV"
183 fib_ipv6_replay_single_test "testns1" "$DEVLINK_DEV"
188 fib_ipv6_replay_multipath_test "testns1" "$DEVLINK_DEV"
236 devlink dev reload $DEVLINK_DEV netns testns1
246 devlink -N testns1 dev reload $DEVLINK_DEV netns $$
Dsharedbuffer.sh104 devlink sb occupancy clearmax $DEVLINK_DEV
109 devlink sb occupancy snapshot $DEVLINK_DEV
132 devlink sb occupancy clearmax $DEVLINK_DEV
137 devlink sb occupancy snapshot $DEVLINK_DEV
164 devlink sb occupancy clearmax $DEVLINK_DEV
168 devlink sb occupancy snapshot $DEVLINK_DEV
Dmlxsw_lib.sh8 MLXSW_CHIP=$(devlink -j dev info $DEVLINK_DEV | jq -r '.[][]["driver"]')
10 echo "SKIP: Device $DEVLINK_DEV doesn't support devlink info command"
Drtnetlink.sh272 devlink dev reload "$DEVLINK_DEV"
683 devlink dev reload "$DEVLINK_DEV"
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Ddrop_monitor_tests.sh23 DEVLINK_DEV=netdevsim/${DEV}
106 $DEVLINK trap set $DEVLINK_DEV trap blackhole_route action trap
115 $DEVLINK trap set $DEVLINK_DEV trap blackhole_route action drop
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh506 devlink dev param set $DEVLINK_DEV \
514 devlink dev param set $DEVLINK_DEV \
581 devlink dev param set $DEVLINK_DEV \
589 devlink dev param set $DEVLINK_DEV \
741 devlink dev param set $DEVLINK_DEV \
758 devlink dev param set $DEVLINK_DEV \
785 devlink dev param set $DEVLINK_DEV \
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Ddevlink_resources.sh97 devlink resource set "$DEVLINK_DEV" \