/Linux-v5.15/tools/testing/selftests/net/forwarding/ |
D | fib_offload_lib.sh | 67 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 …]
|
D | lib.sh | 527 ip -4 route add table $tb_id unreachable default metric 4278198272 528 ip -6 route add table $tb_id unreachable default metric 4278198272 539 ip -6 route del table $tb_id unreachable default metric 4278198272 540 ip -4 route del table $tb_id unreachable default metric 4278198272
|
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/ |
D | fib_offload.sh | 79 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.15/tools/perf/util/ |
D | metricgroup.c | 119 struct metric { struct 312 struct metric *m; in metricgroup__setup_events() 425 static bool match_pe_metric(struct pmu_event *pe, const char *metric) in match_pe_metric() argument 427 return match_metric(pe->metric_group, metric) || in match_pe_metric() 428 match_metric(pe->metric_name, metric); in match_pe_metric() 775 const char *metric; member 786 struct metric **mp, in __add_metric() 791 struct metric *m; in __add_metric() 879 struct metric *old = list_entry(pos, struct metric, nd); in __add_metric() 903 struct pmu_event *metricgroup__find_metric(const char *metric, in metricgroup__find_metric() argument [all …]
|
D | metricgroup.h | 46 struct pmu_event *metricgroup__find_metric(const char *metric, 57 bool metricgroup__has_metric(const char *metric);
|
/Linux-v5.15/include/net/ |
D | dst.h | 150 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() 205 static inline unsigned long dst_metric_rtt(const struct dst_entry *dst, int metric) in dst_metric_rtt() argument [all …]
|
D | ip6_fib.h | 537 void fib6_metric_set(struct fib6_info *f6i, int metric, u32 val); 538 static inline bool fib6_metric_locked(struct fib6_info *f6i, int metric) in fib6_metric_locked() argument 540 return !!(f6i->fib6_metrics->metrics[RTAX_LOCK - 1] & (1 << metric)); in fib6_metric_locked()
|
/Linux-v5.15/tools/perf/Documentation/ |
D | topdown.txt | 51 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 135 #define RDPMC_METRIC (1 << 29) /* return metric counters */ 169 The binary ratios in the metric value can be converted to float ratios: 173 /* L1 Topdown metric events */ 180 * L2 Topdown metric events. 190 The ratios in the metric accumulate for the time when the counter 221 Later the individual ratios of L1 metric events for the measurement period can [all …]
|
D | perf-stat.txt | 98 allows multiple perf-stat sessions that are counting the same metric (cycles, 276 If the metric exists, it is calculated by the counts generated in this interval and the metric is p… 291 --metric-only:: 335 --metric-no-group:: 336 By default, events to compute a metric are placed in weak groups. The 338 --metric-no-group option places events outside of groups and may 344 --metric-no-merge:: 345 By default metric events in different weak groups can be shared if one 410 This enables --metric-only, unless overridden with --no-metric-only. 467 Users who wants to get the actual value can apply --no-metric-only. [all …]
|
/Linux-v5.15/tools/perf/tests/ |
D | pmu-events.c | 766 struct metric { struct 777 struct metric *metric, *tmp; in resolve_metric_simple() local 803 metric = malloc(sizeof(*metric)); in resolve_metric_simple() 804 if (!metric) { in resolve_metric_simple() 809 ref = &metric->metric_ref; in resolve_metric_simple() 812 list_add_tail(&metric->list, compound_list); in resolve_metric_simple() 824 list_for_each_entry_safe(metric, tmp, compound_list, list) in resolve_metric_simple() 825 free(metric); in resolve_metric_simple() 848 struct metric *metric, *tmp; in test_parsing() local 888 list_for_each_entry_safe(metric, tmp, &compound_list, list) { in test_parsing() [all …]
|
/Linux-v5.15/Documentation/networking/ |
D | vrf.rst | 85 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]. 320 unreachable default metric 4278198272 331 local 2002:1:: dev lo proto none metric 0 pref medium 332 local 2002:1::2 dev lo proto none metric 0 pref medium 333 2002:1::/120 dev eth1 proto kernel metric 256 pref medium 334 local 2002:2:: dev lo proto none metric 0 pref medium 335 local 2002:2::2 dev lo proto none metric 0 pref medium 336 2002:2::/120 dev eth2 proto kernel metric 256 pref medium [all …]
|
/Linux-v5.15/Documentation/userspace-api/media/dvb/ |
D | frontend-stat-properties.rst | 20 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:
|
/Linux-v5.15/samples/bpf/ |
D | xdp_router_ipv4_user.c | 132 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()
|
/Linux-v5.15/drivers/net/wireless/ti/wlcore/ |
D | event.c | 114 s8 metric = metric_arr[0]; in wlcore_event_rssi_trigger() local 116 wl1271_debug(DEBUG_EVENT, "RSSI trigger metric: %d", metric); in wlcore_event_rssi_trigger() 120 if (metric <= wlvif->rssi_thold) in wlcore_event_rssi_trigger() 127 ieee80211_cqm_rssi_notify(vif, event, metric, in wlcore_event_rssi_trigger()
|
/Linux-v5.15/fs/ceph/ |
D | Makefile | 11 debugfs.o util.o metric.o
|
D | metric.c | 25 struct ceph_client_metric *m = &mdsc->metric; in ceph_mdsc_send_metrics() 189 mdsc->metric.session = s; in metric_get_session() 203 container_of(m, struct ceph_mds_client, metric); in metric_delayed_work()
|
D | file.c | 903 ceph_update_read_metrics(&fsc->mdsc->metric, in ceph_sync_read() 1037 struct ceph_client_metric *metric = &ceph_sb_to_mdsc(inode->i_sb)->metric; in ceph_aio_complete_req() local 1089 ceph_update_write_metrics(metric, req->r_start_latency, in ceph_aio_complete_req() 1092 ceph_update_read_metrics(metric, req->r_start_latency, in ceph_aio_complete_req() 1182 struct ceph_client_metric *metric = &fsc->mdsc->metric; in ceph_direct_read_write() local 1300 ceph_update_write_metrics(metric, req->r_start_latency, in ceph_direct_read_write() 1303 ceph_update_read_metrics(metric, req->r_start_latency, in ceph_direct_read_write() 1477 ceph_update_write_metrics(&fsc->mdsc->metric, req->r_start_latency, in ceph_sync_write()
|
/Linux-v5.15/net/mac80211/ |
D | mesh_hwmp.c | 105 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()
|
/Linux-v5.15/tools/testing/selftests/net/ |
D | vrf-xfrm-tests.sh | 98 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
|
D | traceroute.sh | 82 ip netns exec ${ns} ip ro add unreachable default metric 8192 83 ip netns exec ${ns} ip -6 ro add unreachable default metric 8192
|
D | fib-onlink-tests.sh | 185 ip ro add table ${VRF_TABLE} unreachable default metric 8192 186 ip -6 ro add table ${VRF_TABLE} unreachable default metric 8192
|
D | srv6_end_dt46_l3vpn_test.sh | 371 ip -netns ${rtsrc_name} -6 route add unreachable default metric 4278198272 \ 374 ip -netns ${rtsrc_name} -4 route add unreachable default metric 4278198272 \
|
/Linux-v5.15/Documentation/accounting/ |
D | psi.rst | 91 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 98 psi metric and deactivates upon exit from the stall state. While system is
|
/Linux-v5.15/tools/testing/selftests/bpf/ |
D | test_lwt_ip_encap.sh | 143 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
|
/Linux-v5.15/tools/testing/selftests/net/mptcp/ |
D | simult_flows.sh | 80 ip -net "$ns1" route add default via 10.0.2.2 metric 101 81 ip -net "$ns1" route add default via dead:beef:2::2 metric 101
|