Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.2 16 lines 287 B view raw
1# SPDX-License-Identifier: GPL-2.0 2source ../tc_police_scale.sh 3 4tc_police_get_target() 5{ 6 local should_fail=$1; shift 7 local target 8 9 target=$(devlink_resource_size_get global_policers single_rate_policers) 10 11 if ((! should_fail)); then 12 echo $target 13 else 14 echo $((target + 1)) 15 fi 16}