Home
last modified time | relevance | path

Searched refs:metric (Results 1 – 25 of 48) sorted by relevance

12

/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/
Dfib_offload.sh79 ip -6 route add 2001:db8:3::/64 dev $spine_p1 metric 100
85 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 200
93 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 10
117 ip -6 route add 2001:db8:3::/64 metric 100 \
124 ip -6 route append 2001:db8:3::/64 metric 100 \
132 ip -6 route add 2001:db8:3::/64 metric 100 \
140 ip -6 route append 2001:db8:3::/64 metric 200 \
149 ip -6 route append 2001:db8:3::/64 metric 10 \
174 ip -6 route add 2001:db8:3::/64 metric 100 dev $spine_p1
177 ip -6 route replace 2001:db8:3::/64 metric 100 dev $spine_p2
[all …]
/Linux-v5.4/include/net/
Ddst.h150 dst_metric_raw(const struct dst_entry *dst, const int metric) in dst_metric_raw() argument
154 return p[metric-1]; in dst_metric_raw()
158 dst_metric(const struct dst_entry *dst, const int metric) in dst_metric() argument
160 WARN_ON_ONCE(metric == RTAX_HOPLIMIT || in dst_metric()
161 metric == RTAX_ADVMSS || in dst_metric()
162 metric == RTAX_MTU); in dst_metric()
163 return dst_metric_raw(dst, metric); in dst_metric()
177 static inline void dst_metric_set(struct dst_entry *dst, int metric, u32 val) in dst_metric_set() argument
182 p[metric-1] = val; in dst_metric_set()
203 static inline unsigned long dst_metric_rtt(const struct dst_entry *dst, int metric) in dst_metric_rtt() argument
[all …]
Dip6_fib.h497 void fib6_metric_set(struct fib6_info *f6i, int metric, u32 val);
498 static inline bool fib6_metric_locked(struct fib6_info *f6i, int metric) in fib6_metric_locked() argument
500 return !!(f6i->fib6_metrics->metrics[RTAX_LOCK - 1] & (1 << metric)); in fib6_metric_locked()
/Linux-v5.4/Documentation/networking/
Dvrf.txt74 ip route add table 10 unreachable default metric 4278198272
76 This high metric value ensures that the default unreachable route can
79 (lower 3 bytes). Thus the above metric translates to [255/8192].
278 unreachable default metric 4278198272
289 local 2002:1:: dev lo proto none metric 0 pref medium
290 local 2002:1::2 dev lo proto none metric 0 pref medium
291 2002:1::/120 dev eth1 proto kernel metric 256 pref medium
292 local 2002:2:: dev lo proto none metric 0 pref medium
293 local 2002:2::2 dev lo proto none metric 0 pref medium
294 2002:2::/120 dev eth2 proto kernel metric 256 pref medium
[all …]
Dswitchdev.txt345 11.0.0.4/30 via 11.0.0.1 dev sw1p1 proto zebra metric 20 offload
347 11.0.0.12/30 via 11.0.0.9 dev sw1p2 proto zebra metric 20 offload
348 12.0.0.2 proto zebra metric 30 offload
351 12.0.0.3 via 11.0.0.1 dev sw1p1 proto zebra metric 20 offload
352 12.0.0.4 via 11.0.0.9 dev sw1p2 proto zebra metric 20 offload
/Linux-v5.4/Documentation/media/uapi/dvb/
Dfrontend-stat-properties.rst27 plus one metric per each carrier group (called "layer" on ISDB).
31 to the global metric. The other elements of the array represent each
68 Possible scales for this metric are:
87 Possible scales for this metric are:
118 Possible scales for this metric are:
146 Possible scales for this metric are:
175 Possible scales for this metric are:
203 Possible scales for this metric are:
224 Possible scales for this metric are:
246 Possible scales for this metric are:
/Linux-v5.4/samples/bpf/
Dxdp_router_ipv4_user.c132 int dst_len, iface, metric; in read_route() member
194 route.metric = atoi(metrics); in read_route()
207 int metric; in read_route() member
243 route.metric, in read_route()
252 prefix_value->metric = route.metric; in read_route()
284 route.metric >= prefix_value->metric) { in read_route()
294 prefix_value->metric = route.metric; in read_route()
Dxdp_router_ipv4_kern.c23 int metric; member
/Linux-v5.4/drivers/net/wireless/ti/wlcore/
Devent.c105 s8 metric = metric_arr[0]; in wlcore_event_rssi_trigger() local
107 wl1271_debug(DEBUG_EVENT, "RSSI trigger metric: %d", metric); in wlcore_event_rssi_trigger()
111 if (metric <= wlvif->rssi_thold) in wlcore_event_rssi_trigger()
118 ieee80211_cqm_rssi_notify(vif, event, metric, in wlcore_event_rssi_trigger()
/Linux-v5.4/tools/perf/util/
Dmetricgroup.c399 static int metricgroup__add_metric(const char *metric, struct strbuf *events, in metricgroup__add_metric() argument
417 if (match_metric(pe->metric_group, metric) || in metricgroup__add_metric()
418 match_metric(pe->metric_name, metric)) { in metricgroup__add_metric()
540 bool metricgroup__has_metric(const char *metric) in metricgroup__has_metric() argument
556 if (match_metric(pe->metric_name, metric)) in metricgroup__has_metric()
Dmetricgroup.h36 bool metricgroup__has_metric(const char *metric);
/Linux-v5.4/net/mac80211/
Dmesh_hwmp.c105 u32 lifetime, u32 metric, u32 preq_id, in mesh_path_sel_frame_tx() argument
177 put_unaligned_le32(metric, pos); in mesh_path_sel_frame_tx()
451 new_metric) >= mpath->metric)) { in hwmp_route_info_get()
490 mpath->metric = new_metric; in hwmp_route_info_get()
522 last_hop_metric) > mpath->metric))) in hwmp_route_info_get()
537 mpath->metric = last_hop_metric; in hwmp_route_info_get()
625 target_metric = mpath->metric; in hwmp_preq_frame_process()
694 const u8 *prep_elem, u32 metric) in hwmp_prep_frame_process() argument
742 ttl, lifetime, metric, 0, sdata); in hwmp_prep_frame_process()
Dmesh.h115 u32 metric; member
/Linux-v5.4/tools/perf/Documentation/
Dperf-stat.txt192 --metric-only::
293 This enables --metric-only, unless overridden with --no-metric-only.
324 Users who wants to get the actual value can apply --no-metric-only.
380 - optional metric value
381 - optional unit of metric
Dperf-script.txt120 brstackoff, callindent, insn, insnlen, synth, phys_addr, metric, misc, srccode, ipc.
229 With the metric option perf script can compute metrics for
234 that the metric computed is averaged over the whole sampling
Dperf-list.txt12 [hw|sw|cache|tracepoint|pmu|sdt|metric|metricgroup|event_glob]
279 . 'metric' to list metrics
/Linux-v5.4/tools/testing/selftests/net/forwarding/
Dlib.sh345 ip -4 route add table $tb_id unreachable default metric 4278198272
346 ip -6 route add table $tb_id unreachable default metric 4278198272
357 ip -6 route del table $tb_id unreachable default metric 4278198272
358 ip -4 route del table $tb_id unreachable default metric 4278198272
/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_lwt_ip_encap.sh135 ip -netns ${NS1} route add table 1001 unreachable default metric 8192
136 ip -netns ${NS1} -6 route add table 1001 unreachable default metric 8192
142 ip -netns ${NS2} route add table 1001 unreachable default metric 8192
143 ip -netns ${NS2} -6 route add table 1001 unreachable default metric 8192
/Linux-v5.4/Documentation/accounting/
Dpsi.rst89 Triggers can be set on more than one psi metric and more than one trigger
90 for the same psi metric can be specified. However for each trigger a separate
96 psi metric and deactivates upon exit from the stall state. While system is
/Linux-v5.4/tools/testing/selftests/net/
Dfib-onlink-tests.sh185 ip ro add table ${VRF_TABLE} unreachable default metric 8192
186 ip -6 ro add table ${VRF_TABLE} unreachable default metric 8192
Dl2tp.sh93 ip -netns ${ns} ro add unreachable default metric 8192
94 ip -netns ${ns} -6 ro add unreachable default metric 8192
Dicmp_redirect.sh152 ip -netns ${ns} route add vrf ${VRF} unreachable default metric 8192
153 ip -netns ${ns} -6 route add vrf ${VRF} unreachable default metric 8192
Dfib_tests.sh589 $IP -4 route add vrf red unreachable default metric 4278198272
590 $IP -6 route add vrf red unreachable default metric 4278198272
952 ip addr help 2>&1 | grep -q metric
/Linux-v5.4/sound/pci/
Dsonicvibes.c474 unsigned int xm, xn, xr, xd, metric = ~0U; in snd_sonicvibes_pll() local
489 if (xd < metric) { in snd_sonicvibes_pll()
490 metric = xd; in snd_sonicvibes_pll()
500 "metric = %i, xm = %i, xn = %i\n", metric, xm, xn); in snd_sonicvibes_pll()
/Linux-v5.4/net/batman-adv/
DKconfig31 network, as well as a throughput based metric.

12