Searched refs:DEVLINK_DEV (Results 1 – 19 of 19) sorted by relevance
10 if [[ ! -v DEVLINK_DEV ]]; then13 if [ -z "$DEVLINK_DEV" ]; then24 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\"]119 devlink dev reload "$DEVLINK_DEV" &> /dev/null212 devlink sb pool set "$DEVLINK_DEV" pool $pool \288 devlink trap set $DEVLINK_DEV trap $trap_name \586 echo "$DEVLINK_DEV/$cpu_dl_port_num"[all …]
44 DEVLINK_DEV=46 DEVLINK_DEV=netdevsim/${DEV}85 fib_ipv4_replay_tos_test "testns1" "$DEVLINK_DEV"115 devlink -N testns1 dev reload $DEVLINK_DEV137 devlink -N testns1 dev reload $DEVLINK_DEV152 devlink -N testns1 dev reload $DEVLINK_DEV254 devlink -N testns1 dev reload $DEVLINK_DEV279 devlink -N testns1 dev reload $DEVLINK_DEV304 devlink -N testns1 dev reload $DEVLINK_DEV319 devlink -N testns1 dev reload $DEVLINK_DEV[all …]
33 DEVLINK_DEV=35 DEVLINK_DEV=netdevsim/${DEV}182 devlink -s trap show $DEVLINK_DEV trap $trap_name &> /dev/null352 devlink -j -p trap group show $DEVLINK_DEV group $group_name \360 devlink trap group set $DEVLINK_DEV group l2_drops policer 1373 devlink trap group set $DEVLINK_DEV group l2_drops policer 0378 devlink trap group set $DEVLINK_DEV group l2_drops policer 1381 devlink trap group set $DEVLINK_DEV group l2_drops nopolicer386 devlink trap group set $DEVLINK_DEV group l2_drops policer 1390 devlink trap group set $DEVLINK_DEV group l2_drops policer 2 \[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 drop146 devlink trap policer set $DEVLINK_DEV policer 1 \150 devlink trap policer set $DEVLINK_DEV policer 1 rate 1168 devlink trap policer set $DEVLINK_DEV policer 1 \172 devlink trap policer set $DEVLINK_DEV policer 1 burst 16211 devlink trap group set $DEVLINK_DEV group l3_drops policer $id254 devlink trap group set $DEVLINK_DEV group l3_drops nopolicer276 jq '[.[]["'$DEVLINK_DEV'"][].policer] | max')324 devlink trap group set $DEVLINK_DEV group l3_drops nopolicer[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
97 devlink resource set "$DEVLINK_DEV" \
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 \