Searched refs:DEVLINK_DEV (Results 1 – 19 of 19) sorted by relevance
10 if [[ ! -v DEVLINK_DEV ]]; then11 DEVLINK_DEV=$(devlink port show "${NETIFS[p1]:-$NETIF_NO_CABLE}" -j \13 if [ -z "$DEVLINK_DEV" ]; then17 if [[ "$(echo $DEVLINK_DEV | grep -c pci)" -eq 0 ]]; then22 DEVLINK_VIDDID=$(lspci -s $(echo $DEVLINK_DEV | cut -d"/" -f2) \24 elif [[ ! -z "$DEVLINK_DEV" ]]; then25 devlink dev show $DEVLINK_DEV &> /dev/null27 echo "SKIP: devlink device \"$DEVLINK_DEV\" not found"75 local resource_name=.[][\"$DEVLINK_DEV\"]85 devlink -j resource show "$DEVLINK_DEV" | jq "$resource_name"[all …]
44 DEVLINK_DEV=46 DEVLINK_DEV=netdevsim/${DEV}80 fib_ipv4_replay_metric_test "testns1" "$DEVLINK_DEV"85 fib_ipv4_replay_tos_test "testns1" "$DEVLINK_DEV"90 fib_ipv4_replay_plen_test "testns1" "$DEVLINK_DEV"114 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10115 devlink -N testns1 dev reload $DEVLINK_DEV136 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100137 devlink -N testns1 dev reload $DEVLINK_DEV143 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10[all …]
33 DEVLINK_DEV=35 DEVLINK_DEV=netdevsim/${DEV}182 devlink -s trap show $DEVLINK_DEV trap $trap_name &> /dev/null185 devlink -s trap show $DEVLINK_DEV trap $trap_name &> /dev/null298 devlink trap policer set $DEVLINK_DEV policer 1337 &> /dev/null300 devlink trap policer show $DEVLINK_DEV policer 1337 &> /dev/null303 devlink trap policer set $DEVLINK_DEV policer 1 rate 2000 burst 16312 devlink trap policer set $DEVLINK_DEV policer 1 rate 0 &> /dev/null314 devlink trap policer set $DEVLINK_DEV policer 1 rate 9000 &> /dev/null316 devlink trap policer set $DEVLINK_DEV policer 1 burst 2 &> /dev/null[all …]
23 DEVLINK_DEV=25 DEVLINK_DEV=netdevsim/${DEV}163 devlink dev reload $DEVLINK_DEV netns testns1
52 DEVLINK_DEV=54 DEVLINK_DEV=netdevsim/${DEV}95 occ=$($DEVLINK -jp resource show $DEVLINK_DEV \109 $DEVLINK resource set $DEVLINK_DEV path nexthops size $size110 $DEVLINK dev reload $DEVLINK_DEV979 $DEVLINK dev reload $DEVLINK_DEV1008 $DEVLINK resource set $DEVLINK_DEV path nexthops size 31009 $DEVLINK dev reload $DEVLINK_DEV &> /dev/null1012 $DEVLINK resource set $DEVLINK_DEV path nexthops size 99991013 $DEVLINK dev reload $DEVLINK_DEV[all …]
20 DEVLINK_DEV=netdevsim/${DEV}401 devlink dev reload $DEVLINK_DEV netns testns1
36 DEVLINK_DEV() function64 devlink dev reload $(DEVLINK_DEV $n) netns $ns
89 devlink trap set $DEVLINK_DEV trap blackhole_route action trap94 devlink trap set $DEVLINK_DEV trap blackhole_route action drop144 devlink trap policer set $DEVLINK_DEV policer 1 rate 0 &> /dev/null146 devlink trap policer set $DEVLINK_DEV policer 1 \150 devlink trap policer set $DEVLINK_DEV policer 1 rate 1152 devlink trap policer set $DEVLINK_DEV policer 1 rate 2000000000162 devlink trap policer set $DEVLINK_DEV policer 1 burst 0 &> /dev/null164 devlink trap policer set $DEVLINK_DEV policer 1 burst 17 &> /dev/null166 devlink trap policer set $DEVLINK_DEV policer 1 burst 8 &> /dev/null168 devlink trap policer set $DEVLINK_DEV policer 1 \[all …]
69 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"246 devlink dev reload $DEVLINK_DEV netns testns1256 devlink -N testns1 dev reload $DEVLINK_DEV netns $$
41 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].state"91 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].nested_devlink"111 devlink lc set $DEVLINK_DEV lc $lc notype130 devlink lc set $DEVLINK_DEV lc $lc type $type140 provisioned_type=$(devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].type")170 supported_types_count=$(devlink lc show $DEVLINK_DEV lc $lc -j | \176 type=$(devlink lc show $DEVLINK_DEV lc $lc -j | \300 local lc_num=$(devlink lc show -j | jq -e -r ".[][\"$DEVLINK_DEV\"] |length")
104 devlink sb occupancy clearmax $DEVLINK_DEV109 devlink sb occupancy snapshot $DEVLINK_DEV132 devlink sb occupancy clearmax $DEVLINK_DEV137 devlink sb occupancy snapshot $DEVLINK_DEV160 devlink sb occupancy clearmax $DEVLINK_DEV164 devlink sb occupancy snapshot $DEVLINK_DEV
8 MLXSW_CHIP=$(devlink -j dev info $DEVLINK_DEV | jq -r '.[][]["driver"]')10 echo "SKIP: Device $DEVLINK_DEV doesn't support devlink info command"
56 occ=$(devlink -j resource show $DEVLINK_DEV \
42 occ=$(devlink -j resource show $DEVLINK_DEV \
93 occ=$(devlink -j resource show $DEVLINK_DEV \
189 devlink dev reload "$DEVLINK_DEV"926 devlink dev reload "$DEVLINK_DEV"
23 DEVLINK_DEV=netdevsim/${DEV}106 $DEVLINK trap set $DEVLINK_DEV trap blackhole_route action trap115 $DEVLINK trap set $DEVLINK_DEV trap blackhole_route action drop
507 devlink dev param set $DEVLINK_DEV \515 devlink dev param set $DEVLINK_DEV \582 devlink dev param set $DEVLINK_DEV \590 devlink dev param set $DEVLINK_DEV \742 devlink dev param set $DEVLINK_DEV \759 devlink dev param set $DEVLINK_DEV \786 devlink dev param set $DEVLINK_DEV \
97 devlink resource set "$DEVLINK_DEV" \