Searched refs:DEVLINK_DEV (Results 1 – 11 of 11) sorted by relevance
7 if [[ ! -v DEVLINK_DEV ]]; then8 DEVLINK_DEV=$(devlink port show "${NETIFS[p1]:-$NETIF_NO_CABLE}" -j \10 if [ -z "$DEVLINK_DEV" ]; then14 if [[ "$(echo $DEVLINK_DEV | grep -c pci)" -eq 0 ]]; then19 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/null113 still_pending=$(devlink resource show "$DEVLINK_DEV" | \[all …]
36 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 10110 devlink -N testns1 dev reload $DEVLINK_DEV131 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 100132 devlink -N testns1 dev reload $DEVLINK_DEV138 devlink -N testns1 resource set $DEVLINK_DEV path IPv4/fib size 10139 devlink -N testns1 dev reload $DEVLINK_DEV &> /dev/null[all …]
27 DEVLINK_DEV=netdevsim/${DEV}273 devlink trap policer set $DEVLINK_DEV policer 1337 &> /dev/null275 devlink trap policer show $DEVLINK_DEV policer 1337 &> /dev/null278 devlink trap policer set $DEVLINK_DEV policer 1 rate 2000 burst 16287 devlink trap policer set $DEVLINK_DEV policer 1 rate 0 &> /dev/null289 devlink trap policer set $DEVLINK_DEV policer 1 rate 9000 &> /dev/null291 devlink trap policer set $DEVLINK_DEV policer 1 burst 2 &> /dev/null293 devlink trap policer set $DEVLINK_DEV policer 1 rate 65537 &> /dev/null296 devlink trap policer set $DEVLINK_DEV policer 1 rate 3000 &> /dev/null314 devlink -s trap policer show $DEVLINK_DEV policer 1 &> /dev/null[all …]
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"236 devlink dev reload $DEVLINK_DEV netns testns1246 devlink -N testns1 dev reload $DEVLINK_DEV netns $$
104 devlink sb occupancy clearmax $DEVLINK_DEV109 devlink sb occupancy snapshot $DEVLINK_DEV132 devlink sb occupancy clearmax $DEVLINK_DEV137 devlink sb occupancy snapshot $DEVLINK_DEV164 devlink sb occupancy clearmax $DEVLINK_DEV168 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"
272 devlink dev reload "$DEVLINK_DEV"683 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
506 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 \
97 devlink resource set "$DEVLINK_DEV" \