Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dfib_offload_lib.sh67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
71 ip -n $ns route append 192.0.2.0/24 dev dummy2 tos 0 metric 1024
75 ip -n $ns route prepend 192.0.2.0/24 dev dummy3 tos 0 metric 1024
98 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
102 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 2 metric 1024
109 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 1 metric 1024
127 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1024
131 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1022
138 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1023
159 ip -n $ns route add 192.0.2.0/24 dev dummy1 metric 1024
[all …]
Dlib.sh450 ip -4 route add table $tb_id unreachable default metric 4278198272
451 ip -6 route add table $tb_id unreachable default metric 4278198272
462 ip -6 route del table $tb_id unreachable default metric 4278198272
463 ip -4 route del table $tb_id unreachable default metric 4278198272
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/include/net/
Ddst.h149 dst_metric_raw(const struct dst_entry *dst, const int metric) in dst_metric_raw() argument
153 return p[metric-1]; in dst_metric_raw()
157 dst_metric(const struct dst_entry *dst, const int metric) in dst_metric() argument
159 WARN_ON_ONCE(metric == RTAX_HOPLIMIT || in dst_metric()
160 metric == RTAX_ADVMSS || in dst_metric()
161 metric == RTAX_MTU); in dst_metric()
162 return dst_metric_raw(dst, metric); in dst_metric()
176 static inline void dst_metric_set(struct dst_entry *dst, int metric, u32 val) in dst_metric_set() argument
181 p[metric-1] = val; in dst_metric_set()
202 static inline unsigned long dst_metric_rtt(const struct dst_entry *dst, int metric) in dst_metric_rtt() argument
[all …]
Dip6_fib.h544 void fib6_metric_set(struct fib6_info *f6i, int metric, u32 val);
545 static inline bool fib6_metric_locked(struct fib6_info *f6i, int metric) in fib6_metric_locked() argument
547 return !!(f6i->fib6_metrics->metrics[RTAX_LOCK - 1] & (1 << metric)); in fib6_metric_locked()
/kernel/linux/linux-5.10/tools/perf/util/
Dmetricgroup.c119 struct metric { struct
303 struct metric *m; in metricgroup__setup_events()
690 struct metric **mp, in __add_metric()
695 struct metric *m; in __add_metric()
783 struct metric *old = list_entry(pos, struct metric, nd); in __add_metric()
806 static struct pmu_event *find_metric(const char *metric, struct pmu_events_map *map) in find_metric() argument
812 if (match_metric(pe->metric_name, metric)) in find_metric()
819 static int recursion_check(struct metric *m, const char *id, struct expr_id **parent, in recursion_check()
866 struct metric **mp,
870 static int __resolve_metric(struct metric *m, in __resolve_metric()
[all …]
Dmetricgroup.h57 bool metricgroup__has_metric(const char *metric);
/kernel/linux/linux-5.10/Documentation/networking/
Dvrf.rst85 ip route add table 10 unreachable default metric 4278198272
87 This high metric value ensures that the default unreachable route can
90 (lower 3 bytes). Thus the above metric translates to [255/8192].
307 unreachable default metric 4278198272
318 local 2002:1:: dev lo proto none metric 0 pref medium
319 local 2002:1::2 dev lo proto none metric 0 pref medium
320 2002:1::/120 dev eth1 proto kernel metric 256 pref medium
321 local 2002:2:: dev lo proto none metric 0 pref medium
322 local 2002:2::2 dev lo proto none metric 0 pref medium
323 2002:2::/120 dev eth2 proto kernel metric 256 pref medium
[all …]
Dswitchdev.rst359 11.0.0.4/30 via 11.0.0.1 dev sw1p1 proto zebra metric 20 offload
361 11.0.0.12/30 via 11.0.0.9 dev sw1p2 proto zebra metric 20 offload
362 12.0.0.2 proto zebra metric 30 offload
365 12.0.0.3 via 11.0.0.1 dev sw1p1 proto zebra metric 20 offload
366 12.0.0.4 via 11.0.0.9 dev sw1p2 proto zebra metric 20 offload
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dtopdown.txt51 metric register that reports slots ratios for the different bottleneck
64 metric event, and allow user programs to read the performance counters.
69 The metric events are mapped to the pseudo event event=0x00, umask=0x8X.
71 { .config = 0x8000, .type = PERF_TYPE_RAW } for Retiring metric event
121 #define RDPMC_METRIC (1 << 29) /* return metric counters */
151 The binary ratios in the metric value can be converted to float ratios:
162 The ratios in the metric accumulate for the time when the counter
237 Four pseudo TopDown metric events are exposed for the end-users,
241 - All the TopDown metric events must be in a group with the SLOTS event.
243 - The PERF_FORMAT_GROUP flag must be applied for each TopDown metric
[all …]
Dperf-stat.txt241 If the metric exists, it is calculated by the counts generated in this interval and the metric is p…
256 --metric-only::
300 --metric-no-group::
301 By default, events to compute a metric are placed in weak groups. The
303 --metric-no-group option places events outside of groups and may
309 --metric-no-merge::
310 By default metric events in different weak groups can be shared if one
371 This enables --metric-only, unless overridden with --no-metric-only.
416 Users who wants to get the actual value can apply --no-metric-only.
490 - optional metric value
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/
Dfrontend-stat-properties.rst20 plus one metric per each carrier group (called "layer" on ISDB).
24 to the global metric. The other elements of the array represent each
61 Possible scales for this metric are:
80 Possible scales for this metric are:
111 Possible scales for this metric are:
139 Possible scales for this metric are:
168 Possible scales for this metric are:
196 Possible scales for this metric are:
217 Possible scales for this metric are:
239 Possible scales for this metric are:
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/fs/ceph/
Dmetric.c19 struct ceph_client_metric *m = &mdsc->metric; in ceph_mdsc_send_metrics()
45 cap->hit = cpu_to_le64(percpu_counter_sum(&mdsc->metric.i_caps_hit)); in ceph_mdsc_send_metrics()
46 cap->mis = cpu_to_le64(percpu_counter_sum(&mdsc->metric.i_caps_mis)); in ceph_mdsc_send_metrics()
117 mdsc->metric.session = s; in metric_get_session()
131 container_of(m, struct ceph_mds_client, metric); in metric_delayed_work()
DMakefile11 debugfs.o util.o metric.o
Dfile.c918 ceph_update_read_latency(&fsc->mdsc->metric, in ceph_sync_read()
1052 struct ceph_client_metric *metric = &ceph_sb_to_mdsc(inode->i_sb)->metric; in ceph_aio_complete_req() local
1063 ceph_update_write_latency(metric, req->r_start_latency, in ceph_aio_complete_req()
1066 ceph_update_read_latency(metric, req->r_start_latency, in ceph_aio_complete_req()
1198 struct ceph_client_metric *metric = &fsc->mdsc->metric; in ceph_direct_read_write() local
1316 ceph_update_write_latency(metric, req->r_start_latency, in ceph_direct_read_write()
1319 ceph_update_read_latency(metric, req->r_start_latency, in ceph_direct_read_write()
1493 ceph_update_write_latency(&fsc->mdsc->metric, req->r_start_latency, in ceph_sync_write()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
454 new_metric) >= mpath->metric)) { in hwmp_route_info_get()
493 mpath->metric = new_metric; in hwmp_route_info_get()
525 last_hop_metric) > mpath->metric))) in hwmp_route_info_get()
540 mpath->metric = last_hop_metric; in hwmp_route_info_get()
628 target_metric = mpath->metric; in hwmp_preq_frame_process()
697 const u8 *prep_elem, u32 metric) in hwmp_prep_frame_process() argument
745 ttl, lifetime, metric, 0, sdata); in hwmp_prep_frame_process()
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dvrf-xfrm-tests.sh98 ip ${ns} route add vrf ${vrf} unreachable default metric 8192
99 ip ${ns} -6 route add vrf ${vrf} unreachable default metric 8192
129 ip -netns ${ns} ro add unreachable default metric 8192
130 ip -netns ${ns} -6 ro add unreachable default metric 8192
Dtraceroute.sh82 ip netns exec ${ns} ip ro add unreachable default metric 8192
83 ip netns exec ${ns} ip -6 ro add unreachable default metric 8192
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
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_lwt_ip_encap.sh143 ip -netns ${NS1} route add table 1001 unreachable default metric 8192
144 ip -netns ${NS1} -6 route add table 1001 unreachable default metric 8192
150 ip -netns ${NS2} route add table 1001 unreachable default metric 8192
151 ip -netns ${NS2} -6 route add table 1001 unreachable default metric 8192
/kernel/linux/linux-5.10/Documentation/accounting/
Dpsi.rst91 Triggers can be set on more than one psi metric and more than one trigger
92 for the same psi metric can be specified. However for each trigger a separate
99 psi metric and deactivates upon exit from the stall state. While system is
/kernel/linux/linux-5.10/tools/testing/selftests/net/mptcp/
Dsimult_flows.sh77 ip -net "$ns1" route add default via 10.0.2.2 metric 101
78 ip -net "$ns1" route add default via dead:beef:2::2 metric 101

123