Home
last modified time | relevance | path

Searched full:mss (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/linux/include/dt-bindings/memory/
H A Dtegra234-mc.h180 /* MSS internal memqual MIU7 read clients */
182 /* MSS internal memqual MIU7 write clients */
184 /* MSS internal memqual MIU8 read clients */
186 /* MSS internal memqual MIU8 write clients */
188 /* MSS internal memqual MIU9 read clients */
190 /* MSS internal memqual MIU9 write clients */
192 /* MSS internal memqual MIU10 read clients */
194 /* MSS internal memqual MIU10 write clients */
196 /* MSS internal memqual MIU11 read clients */
198 /* MSS internal memqual MIU11 write clients */
[all …]
H A Dtegra194-mc.h147 /* MSS internal memqual MIU7 read clients */
149 /* MSS internal memqual MIU7 write clients */
207 /* AXI AP and DFD-AUX0/1 read clients Both share the same interface on the on MSS */
209 /* AXI AP and DFD-AUX0/1 write clients Both sahre the same interface on MSS */
261 /* MSS internal memqual MIU0 read clients */
263 /* MSS internal memqual MIU0 write clients */
265 /* MSS internal memqual MIU1 read clients */
267 /* MSS internal memqual MIU1 write clients */
269 /* MSS internal memqual MIU2 read clients */
271 /* MSS internal memqual MIU2 write clients */
[all …]
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_advmss_pmtu_ipv4.pkt3 // Test that IPv4 advertised MSS in SYN-ACK is derived from the configured
4 // interface MTU (1500 -> MSS 1460), not the ICMP-learned Path MTU.
13 // Connection 1: Learn PMTU exception (MTU 1200 -> MSS 1160)
20 +0 < S 0:0(0) win 65535 <mss 1460,sackOK,nop,nop,nop,wscale 8>
21 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 8>
32 // Local host retransmits using the learned MTU 1200 (MSS = 1200 - 40 = 1160)
49 +0 < S 0:0(0) win 65535 <mss 1460,sackOK,nop,nop,nop,wscale 8>
51 // Verify: SYN-ACK MUST advertise configured MSS 1460, NOT the learned PMTU MSS 1160
52 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 8>
56 // Verify: Outgoing transmit MSS is still constrained by the learned PMTU 1200
H A Dtcp_advmss_pmtu_ipv6.pkt3 // Test that IPv6 advertised MSS in SYN-ACK is derived from the configured
4 // interface MTU (1520 -> MSS 1460), not the ICMPv6-learned Path MTU.
13 // Connection 1: Learn PMTU exception (MTU 1280 -> MSS 1220)
20 +0 < S 0:0(0) win 65535 <mss 1460,sackOK,nop,nop,nop,wscale 8>
21 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 8>
32 // Local host retransmits using the learned MTU 1280 (MSS = 1280 - 40 - 20 = 1220)
49 +0 < S 0:0(0) win 65535 <mss 1460,sackOK,nop,nop,nop,wscale 8>
51 // Verify: SYN-ACK MUST advertise configured MSS 1460, NOT the learned PMTU MSS 1220
52 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 8>
56 // Verify: Outgoing transmit MSS is still constrained by the learned PMTU 1280
H A Dtcp_ooo-before-and-after-accept.pkt3 --mss=1000
16 +0 < S 0:0(0) win 65535 <mss 1000,nop,nop,sackOK,nop,wscale 7>
17 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 10>
41 +0 < S 0:0(0) win 65535 <mss 1000,nop,nop,sackOK,nop,wscale 7>
42 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 10>
H A Dtcp_slow_start_slow-start-after-idle.pkt3 // This test expects tso size to be at least initial cwnd * mss
14 +0 < S 0:0(0) win 65535 <mss 1000,sackOK,nop,nop,nop,wscale 7>
15 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,sackOK,nop,wscale 8>
34 // If slow start after idle works properly, we should send 5 MSS here (cwnd/2)
H A Dtcp_zerocopy_fastopen-client.pkt20 +0 > S 0:0(0) <mss 1460,sackOK,TS val 1000 ecr 0,nop,wscale 8,FO,nop,nop>
21 +.01 < S. 123:123(0) ack 1 win 14600 <mss 940,TS val 2000 ecr 1000,sackOK,nop,wscale 6, FO abcd1234,nop,nop>
41 +0 > S 0:500(500) <mss 1460,nop,nop,sackOK,nop,wscale 8,FO abcd1234,nop,nop>
42 +.05 < S. 5678:5678(0) ack 501 win 14600 <mss 1460,nop,nop,sackOK,nop,wscale 6>
H A Dtcp_rcv_zero_wnd_fin.pkt6 --mss=1000
17 +0 < S 0:0(0) win 32792 <mss 1000,nop,wscale 7>
18 +0 > S. 0:0(0) ack 1 <mss 1460,nop,wscale 0>
/linux/tools/testing/selftests/net/
H A Dudpgso.c65 int tlen; /* send() buffer size, may exceed mss */
67 int gso_len; /* mss after applying gso */
68 int r_num_mss; /* recv(): number of calls of full mss */
69 int r_len_last; /* recv(): size of last non-mss dgram, if any */
90 /* no GSO: send a single MSS */
95 /* no GSO: send a single MSS + 1B: fail */
100 /* send a single MSS: will fall back to no GSO */
106 /* datalen <= MSS < gso_len: will fall back to no GSO */
113 /* MSS < datalen < gso_len: fail */
119 /* send a single MSS + 1B */
[all …]
H A Dpsock_snd.sh15 readonly mss="$((${mtu} - ${iphlen} - ${udphlen}))"
16 readonly mss_exceeds="$((${mss} + 1))"
58 ./in_netns.sh ./psock_snd -l "${mss}"
66 # ./in_netns.sh ./psock_snd -V -l "${mss}"
72 ./in_netns.sh ./psock_snd -d -l "${mss}"
/linux/net/ipv4/
H A Dtcp_offload.c17 unsigned int seq, unsigned int mss) in tcp_gso_tstamp() argument
23 if (before(ts_seq, seq + mss)) { in tcp_gso_tstamp()
30 seq += mss; in tcp_gso_tstamp()
142 unsigned int mss; in tcp_gso_segment() local
163 mss = skb_shinfo(skb)->gso_size; in tcp_gso_segment()
164 if (unlikely(skb->len <= mss)) in tcp_gso_segment()
170 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); in tcp_gso_segment()
189 * the frame into an MSS multiple and possibly a remainder, both in tcp_gso_segment()
190 * cases return a GSO skb. So update the mss now. in tcp_gso_segment()
193 mss *= skb_shinfo(segs)->gso_segs; in tcp_gso_segment()
[all …]
H A Dtcp_output.c125 /* Calculate mss to advertise in SYN segment.
132 * large MSS.
133 * 4. We do not make 3, we advertise MSS, calculated from first
136 * 5. Value 65535 for MSS is valid in IPv6 and means "as large as possible,
143 int mss = tp->advmss; in tcp_advertise_mss() local
148 if (metric < mss) { in tcp_advertise_mss()
149 mss = metric; in tcp_advertise_mss()
150 tp->advmss = mss; in tcp_advertise_mss()
154 return (__u16)mss; in tcp_advertise_mss()
220 * be a multiple of mss if possible. We assume here that mss >= 1.
[all …]
/linux/tools/testing/selftests/net/netfilter/packetdrill/
H A Dconntrack_synack_old.pkt4 // 10.176.25.8.829 > 10.192.171.30.2049: Flags [S], seq 2375731741, win 29200, options [mss 1460,sa…
6 …76.25.8.829: Flags [S.], seq 145824453, ack 643160523, win 65535, options [mss 8952,nop,wscale 5,T…
8 // 10.192.171.30.2049 > 10.176.25.8.829: Flags [R.], seq 1, ack 1, win 65535, options [mss 8952,nop…
10 // 10.176.25.8.829 > 10.192.171.30.2049: Flags [S], seq 2375731741, win 29200, options [mss 1460,sa…
13 …6.25.8.829: Flags [S.], seq 162602410, ack 2375731742, win 65535, options [mss 8952,nop,wscale 5,T…
24 0.1 > S 0:0(0) win 65535 <mss 1460,sackOK,TS val 1 ecr 0,nop,wscale 8>
27 0.1 < S. 145824453:145824453(0) ack 643160523 win 240 <mss 1440,nop,nop,TS val 1 ecr 1,nop,wscale 0>
30 1.01 > S 0:0(0) win 65535 <mss 1460,sackOK,TS val 1015 ecr 0,nop,wscale 8>
34 +0 < S. 145758918:145758918(0) ack 1 win 250 <mss 1460,nop,nop,TS val 1 ecr 1,nop,wscale 0>
39 // actual packet: 3.010000 S 0:0(0) win 65535 <mss 1460,sackOK,TS val 1015 ecr 0,nop,wscale 8>
H A Dconntrack_synack_reuse.pkt15 +0 < S 0:0(0) win 32792 <mss 1000,nop,wscale 7, TS val 1 ecr 0,nop,nop>
16 +0 > S. 0:0(0) ack 1 <mss 1460,nop,nop,TS val 100 ecr 1,nop,wscale 8>
24 1.0 < S 2000:2000(0) win 32792 <mss 1000,nop,wscale 7, TS val 233 ecr 0,nop,nop>
31 1.5 < S 2000:2000(0) win 32792 <mss 1000,nop,wscale 0, TS val 233 ecr 0,nop,nop>
H A Dconntrack_syn_challenge_ack.pkt22 0.1 > S 0:0(0) win 65535 <mss 1460,sackOK,TS val 1 ecr 0,nop,wscale 8>
25 0.1 < . 145824453:145824453(0) ack 643160523 win 240 <mss 1460,nop,nop,TS val 1 ecr 1,nop,wscale 0>
32 +0.01 > S 0:0(0) win 65535 <mss 1460,sackOK,TS val 1 ecr 0,nop,wscale 8>
35 +0.1 < S. 0:0(0) ack 1 win 250 <mss 1460,nop,nop,TS val 1 ecr 1,nop,wscale 0>
/linux/net/netfilter/
H A Dxt_TCPMSS.c3 * This is a module which is used for setting the MSS option in TCP packets.
29 MODULE_DESCRIPTION("Xtables: TCP Maximum Segment Size (MSS) adjustment");
102 if (info->mss == XT_TCPMSS_CLAMP_PMTU) { in tcpmss_mangle_packet()
114 newmss = info->mss; in tcpmss_mangle_packet()
123 /* Never increase MSS, even when setting it, as in tcpmss_mangle_packet()
125 * on MSS being set correctly. in tcpmss_mangle_packet()
152 * MSS Option not found ?! add it.. in tcpmss_mangle_packet()
165 * IPv4: RFC 1122 states "If an MSS option is not received at in tcpmss_mangle_packet()
166 * connection setup, TCP MUST assume a default send MSS of 536". in tcpmss_mangle_packet()
168 * length IPv6 header of 60, ergo the default MSS value is 1220 in tcpmss_mangle_packet()
[all …]
/linux/drivers/pmdomain/qcom/
H A Drpmhpd.c168 static struct rpmhpd mss = { variable
169 .pd = { .name = "mss", },
170 .res_name = "mss.lvl",
244 [RPMHPD_MSS] = &mss,
263 [RPMHPD_MSS] = &mss,
351 [RPMHPD_MSS] = &mss,
372 [SDM670_MSS] = &mss,
390 [SDM845_MSS] = &mss,
403 [SDX55_MSS] = &mss,
416 [SDX65_MSS] = &mss,
[all …]
/linux/fs/proc/
H A Dtask_mmu.c917 static void smaps_page_accumulate(struct mem_size_stats *mss, in smaps_page_accumulate() argument
921 mss->pss += pss; in smaps_page_accumulate()
924 mss->pss_anon += pss; in smaps_page_accumulate()
926 mss->pss_shmem += pss; in smaps_page_accumulate()
928 mss->pss_file += pss; in smaps_page_accumulate()
931 mss->pss_locked += pss; in smaps_page_accumulate()
934 mss->pss_dirty += pss; in smaps_page_accumulate()
936 mss->private_dirty += size; in smaps_page_accumulate()
938 mss->shared_dirty += size; in smaps_page_accumulate()
941 mss->private_clean += size; in smaps_page_accumulate()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.c20 * | Hash_1 | MSS | ECN | SACK | WScale |
224 __u16 *mss; in tcp_parse_option() local
247 mss = next(ctx, 2); in tcp_parse_option()
248 if (*opsize == TCPOLEN_MSS && ctx->tcp->syn && mss) in tcp_parse_option()
249 ctx->attrs.mss = get_unaligned_be16(mss); in tcp_parse_option()
293 if ((ctx->ipv4 && ctx->attrs.mss != MSS_LOCAL_IPV4) || in tcp_validate_sysctl()
294 (ctx->ipv6 && ctx->attrs.mss != MSS_LOCAL_IPV6)) in tcp_validate_sysctl()
325 if (ctx->attrs.mss >= msstab4[mssind]) in tcp_prepare_cookie()
328 ctx->attrs.mss in tcp_prepare_cookie()
[all...]
/linux/net/batman-adv/
H A Dtp_meter.c119 * @min: minimum cwnd value (usually MSS)
143 * @mss: maximum segment size of transmission
146 * MSS every unique received ACK
148 * increased by MSS * MSS / CWND for every unique received ACK
150 static void batadv_tp_update_cwnd(struct batadv_tp_sender *tp_vars, u32 mss) in batadv_tp_update_cwnd() argument
156 tp_vars->cc.cwnd = batadv_tp_cwnd(tp_vars->cc.cwnd, mss, mss); in batadv_tp_update_cwnd()
160 /* prevent overflow in (mss * mss) << 3 */ in batadv_tp_update_cwnd()
161 mss = min_t(u32, mss, (1U << 14) - 1); in batadv_tp_update_cwnd()
165 ((mss * mss) << 3) / tp_vars->cc.cwnd); in batadv_tp_update_cwnd()
166 if (tp_vars->cc.dec_cwnd < (mss << 3)) in batadv_tp_update_cwnd()
[all …]
/linux/include/uapi/linux/netfilter/
H A Dnfnetlink_osf.h29 /* Wildcard MSS (kind of).
31 * of the MSS and window sizes.
58 __u16 ss, mss; member
93 /* Initial window size option state machine: multiple of mss, mtu or
/linux/drivers/scsi/snic/
H A Dwq_enet_desc.h38 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
44 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc()
57 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
63 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
/linux/drivers/scsi/fnic/
H A Dwq_enet_desc.h40 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
46 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc()
59 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
65 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
/linux/drivers/net/ethernet/cisco/enic/
H A Dwq_enet_desc.h41 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
47 desc->mss_loopback = cpu_to_le16((mss & WQ_ENET_MSS_MASK) << in wq_enet_desc_enc()
60 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
66 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
/linux/arch/riscv/boot/dts/microchip/
H A Dmpfs-icicle-kit.dts21 * Due to silicon errata, routing via MSS IOs doesn't work on ES devices.
22 * Instead, i2c1, appearing on B1/C1, which are normally MSS IOs, is routed
25 * be fabric IO, despite tooling etc saying that MSS IOs are used.

12345678910>>...12