Home
last modified time | relevance | path

Searched full:ecn (Results 1 – 25 of 147) sorted by relevance

123456

/linux/tools/perf/arch/arm64/util/
H A Darm64_exception_types.h79 #define ECN(x) { ESR_ELx_EC_##x, #x } macro
82 ECN(UNKNOWN), ECN(WFx), ECN(CP15_32), ECN(CP15_64), ECN(CP14_MR), \
83 ECN(CP14_LS), ECN(FP_ASIMD), ECN(CP10_ID), ECN(PA
[all...]
/linux/arch/arm64/include/asm/
H A Dkvm_arm.h346 #define ECN(x) { ESR_ELx_EC_##x, #x } macro
349 ECN(UNKNOWN), ECN(WFx), ECN(CP15_32), ECN(CP15_64), ECN(CP14_MR), \
350 ECN(CP14_LS), ECN(FP_ASIMD), ECN(CP10_ID), ECN(PA
[all...]
/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
H A Dred.json46 "name": "Create RED with ECN flag",
56 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red ecn limit 1M avpkt 1500 min 100K max 300K",
59 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn $",
67 "name": "Create RED with flags ECN, adaptive",
77 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red ecn adaptive limit 1M avpkt 1500 min 100K max 300K",
80 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn adaptive $",
88 "name": "Create RED with flags ECN, harddrop",
98 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root red ecn harddrop limit 1M avpkt 1500 min 100K max 300K",
101 "matchPattern": "qdisc red 1: root .* limit 1Mb min 100Kb max 300Kb ecn harddrop $",
109 "name": "Create RED with flags ECN, nodro
[all...]
H A Dgred.json67 "name": "Create GRED with ecn setting",
77 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root gred setup vqs 10 default 2 ecn",
80 "matchPattern": "qdisc gred 1: root refcnt [0-9]+ vqs 10 default 2.*ecn",
/linux/tools/testing/selftests/net/forwarding/
H A Dpedit_dsfield.sh131 # TOS 125: DSCP 31, ECN 1. Used for testing that the relevant part is
210 local ecn
212 for ecn in 0 1 2 3; do
214 "ip dsfield set $ecn retain 0x03" \
215 ip "ip_tos $((124 | $ecn))" \
236 do_test_pedit_dsfield_common "$locus" "set DSCP + set ECN" \
290 local ecn
292 for ecn in 0 1 2 3; do
294 "ip6 traffic_class set $ecn retain 0x3" \
295 ipv6 "ip_tos $((124 | $ecn))" \
[all...]
H A Dsch_red.sh245 # limit is misconfigured, we would see this traffic being ECN marked.
267 local name=ECN
288 local name="ECN nodrop"
312 # Use ECN-capable TCP to verify there's no marking even though the queue
380 local name=ECN
404 log_test "ECN marked packets mirrored"
424 install_qdisc ecn
431 install_qdisc ecn nodrop
452 install_qdisc ecn qevent mark block 10
/linux/net/6lowpan/
H A Diphc.c503 /* get the ecn values from iphc tf format and set it to ipv6hdr */
506 /* get the two higher bits which is ecn */ in lowpan_iphc_tf_set_ecn()
507 u8 ecn = tf[0] & 0xc0; in lowpan_iphc_tf_set_ecn() local
509 /* ECN takes 0x30 in hdr->flow_lbl[0] */ in lowpan_iphc_tf_set_ecn()
510 hdr->flow_lbl[0] |= (ecn >> 2); in lowpan_iphc_tf_set_ecn()
516 /* DSCP is at place after ECN */ in lowpan_iphc_tf_set_dscp()
535 * higher nibbles are part of DSCP + ECN. in lowpan_iphc_tf_set_lbl()
553 /* ECN + DSCP + 4-bit Pad + Flow Label (4 bytes) */ in lowpan_iphc_tf_decompress()
560 * |ECN| DSCP | rsv | Flow Label | in lowpan_iphc_tf_decompress()
568 /* ECN in lowpan_iphc_tf_decompress()
993 u8 dscp, ecn; lowpan_iphc_get_tc() local
[all...]
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.h29 /* mark if ECN capable, otherwise drop */
31 /* mark if ECN capable, otherwise goto QM */
93 * @overlimits: number of ECN marked TXed packets (accumulative)
107 * @ecn_marked: number of ECN marked TXed packets
145 * @red.band.ecn: ECN marking is enabled (rather than drop)
146 * @red.band.threshold: ECN marking threshold
176 bool ecn; member
/linux/include/net/
H A Dpie.h24 * @ecn: is ECN marking of packets enabled
34 u8 ecn; member
68 * @ecn_mark: packets marked with ECN
96 params->ecn = false; in pie_params_init()
H A Dinet_ecn.h40 * The full-functionality option for ECN encapsulation is to copy the
41 * ECN codepoint of the inside header to the outside header on
43 * ECN codepoint of the outside header to ECT(0) if the ECN codepoint of
79 u32 ecn = (iph->tos + 1) & INET_ECN_MASK; in IP_ECN_set_ce() local
89 if (!(ecn & 2)) in IP_ECN_set_ce()
90 return !ecn; in IP_ECN_set_ce()
98 (__force u16)htons(ecn)); in IP_ECN_set_ce()
230 * tunnel egress MUST set the outgoing ECN field to the codepoint at the
H A Dcodel.h99 * @ce_threshold: threshold for marking packets with ECN CE
102 * @ecn: is Explicit Congestion Notification enabled
104 * in the diffserv/ECN byte of the IP header
112 bool ecn; member
148 * @ecn_mark: number of packets we ECN marked instead of dropping
H A Dinet_dscp.h29 * A dscp_t variable stores a DS field with the CU (ECN) bits cleared.
30 * Using dscp_t allows to strictly separate DSCP and ECN bits, thus avoiding
31 * bugs where ECN bits are erroneously taken into account during FIB lookups
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_red_ets.sh82 install_qdisc ecn
91 install_qdisc ecn
100 install_qdisc ecn nodrop
154 install_qdisc ecn qevent mark block 10
H A Dsch_red_root.sh34 install_qdisc ecn
42 install_qdisc ecn
50 install_qdisc ecn nodrop
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_ecn_ecn-uses-ect0.pkt2 // Test ECN: verify that Linux TCP ECN sending code uses ECT0 (not ECT1).
11 // ECN handshake: send EW flags in SYN packet, E flag in SYN-ACK response
/linux/net/ipv4/netfilter/
H A DKconfig155 tristate '"ecn" match support'
277 tristate "ECN target support"
281 This option adds a `ECN' target, which can be used in the iptables mangle
284 You can use this target to remove the ECN bits from the IPv4 header of
286 existing ECN blackholes on the internet, but don't want to disable
287 ECN support in general.
H A Dipt_ECN.c2 /* iptables module for the IPv4 and TCP ECN bits, Version 1.5
21 MODULE_DESCRIPTION("Xtables: Explicit Congestion Notification (ECN) flag modification");
113 .name = "ECN",
/linux/Documentation/networking/
H A Ddctcp.rst8 center networks and leverages Explicit Congestion Notification (ECN) in
16 All switches in the data center network running DCTCP must support ECN
18 thresholds. The default ECN marking threshold heuristic for DCTCP on
/linux/net/ipv4/
H A Dip_fragment.c64 u8 ecn; /* RFC3168 support */ member
91 qp->ecn = 0; in ip4_frag_init()
261 qp->ecn = 0; in ip_frag_reinit()
276 u8 ecn; in ip_frag_queue() local
291 ecn = ip4_frag_ecn(ip_hdr(skb)->tos); in ip_frag_queue()
352 qp->ecn |= ecn; in ip_frag_queue()
412 u8 ecn; in ip_frag_reasm() local
416 ecn = ip_frag_ecn_table[qp->ecn]; in ip_frag_reasm()
[all...]
/linux/net/netfilter/
H A Dxt_ecn.c3 * Xtables module for matching the value of the IPv4/IPv6 and TCP ECN bits
22 MODULE_DESCRIPTION("Xtables: Explicit Congestion Notification (ECN) flag match");
148 .name = "ecn",
156 .name = "ecn",
/linux/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c178 u8 ecn; in nf_ct_frag6_queue() local
196 ecn = ip6_frag_ecn(ipv6_hdr(skb)); in nf_ct_frag6_queue()
274 fq->ecn |= ecn; in nf_ct_frag6_queue()
325 u8 ecn; in nf_ct_frag6_reasm() local
329 ecn = ip_frag_ecn_table[fq->ecn]; in nf_ct_frag6_reasm()
330 if (unlikely(ecn == 0xff)) in nf_ct_frag6_reasm()
361 ipv6_change_dsfield(ipv6_hdr(skb), 0xff, ecn); in nf_ct_frag6_reasm()
/linux/samples/bpf/
H A Dhbm_out_kern.c28 * a) If the packet is ECN enabled and it is a TCP packet, then the packet
29 * is ECN marked.
128 if (pkti.ecn) in _hbm_out_cg()
134 if (pkti.ecn || pkti.is_tcp) { in _hbm_out_cg()
H A Dhbm_kern.h79 short ecn; member
121 pkti->ecn = (ip6h->flow_lbl[0] >> 4) & INET_ECN_MASK; in hbm_get_pkt_info()
125 pkti->ecn = iph.tos & INET_ECN_MASK; in hbm_get_pkt_info()
129 pkti->ecn = 0; in hbm_get_pkt_info()
/linux/tools/testing/selftests/net/
H A Dcmsg_ip.sh79 local -r ECN=0x3
118 # Match prohibit rule: IPv4 masks ECN: expect failure
120 $NSEXE ./cmsg_sender $IPVER -p $p $m "$((TOS | ECN))" -s $TGT 1234
121 check_result $? 1 "$MATCH $prot $ovr - rejection (ECN)"
/linux/include/linux/
H A Dpci-tph.h13 * According to the ECN for PCI Firmware Spec, Steering Tag can be different
16 * tph_mem_type. ECN link: https://members.pcisig.com/wg/PCI-SIG/document/15470.

123456