Lines Matching refs:port
8 DEVLINK_DEV=$(devlink port show "${NETIFS[p1]}" -j \
111 local port=$1; shift
114 devlink sb port pool show $port pool $pool -j \
115 | jq '.port_pool."'"$port"'"[].threshold'
120 local port=$1; shift
123 local key="port_pool($port,$pool).threshold"
125 DEVLINK_ORIG[$key]=$(devlink_port_pool_threshold $port $pool)
126 devlink sb port pool set $port pool $pool th $th
131 local port=$1; shift
133 local key="port_pool($port,$pool).threshold"
135 devlink sb port pool set $port pool $pool th ${DEVLINK_ORIG[$key]}
169 local port=$1; shift
173 devlink sb tc bind show $port tc $tc type $dir -j \
179 local port=$1; shift
184 local key="tc_bind($port,$dir,$tc).pool_th"
186 DEVLINK_ORIG[$key]=$(devlink_tc_bind_pool_th $port $tc $dir)
187 devlink sb tc bind set $port tc $tc type $dir pool $pool th $th
192 local port=$1; shift
195 local key="tc_bind($port,$dir,$tc).pool_th"
198 devlink sb tc bind set $port tc $tc type $dir \