usb: dwc3: dwc3-qcom: Fix typo in the dwc3 vbus override API
[linux-2.6-microblaze.git] / Documentation / networking / ip-sysctl.rst
index 3feb5e5..b3fa522 100644 (file)
@@ -99,6 +99,35 @@ fib_multipath_hash_policy - INTEGER
        - 0 - Layer 3
        - 1 - Layer 4
        - 2 - Layer 3 or inner Layer 3 if present
+       - 3 - Custom multipath hash. Fields used for multipath hash calculation
+         are determined by fib_multipath_hash_fields sysctl
+
+fib_multipath_hash_fields - UNSIGNED INTEGER
+       When fib_multipath_hash_policy is set to 3 (custom multipath hash), the
+       fields used for multipath hash calculation are determined by this
+       sysctl.
+
+       This value is a bitmask which enables various fields for multipath hash
+       calculation.
+
+       Possible fields are:
+
+       ====== ============================
+       0x0001 Source IP address
+       0x0002 Destination IP address
+       0x0004 IP protocol
+       0x0008 Unused (Flow Label)
+       0x0010 Source port
+       0x0020 Destination port
+       0x0040 Inner source IP address
+       0x0080 Inner destination IP address
+       0x0100 Inner IP protocol
+       0x0200 Inner Flow Label
+       0x0400 Inner source port
+       0x0800 Inner destination port
+       ====== ============================
+
+       Default: 0x0007 (source IP, destination IP and IP protocol)
 
 fib_sync_mem - UNSIGNED INTEGER
        Amount of dirty memory from fib entries that can be backlogged before
@@ -732,6 +761,31 @@ tcp_syncookies - INTEGER
        network connections you can set this knob to 2 to enable
        unconditionally generation of syncookies.
 
+tcp_migrate_req - BOOLEAN
+       The incoming connection is tied to a specific listening socket when
+       the initial SYN packet is received during the three-way handshake.
+       When a listener is closed, in-flight request sockets during the
+       handshake and established sockets in the accept queue are aborted.
+
+       If the listener has SO_REUSEPORT enabled, other listeners on the
+       same port should have been able to accept such connections. This
+       option makes it possible to migrate such child sockets to another
+       listener after close() or shutdown().
+
+       The BPF_SK_REUSEPORT_SELECT_OR_MIGRATE type of eBPF program should
+       usually be used to define the policy to pick an alive listener.
+       Otherwise, the kernel will randomly pick an alive listener only if
+       this option is enabled.
+
+       Note that migration between listeners with different settings may
+       crash applications. Let's say migration happens from listener A to
+       B, and only B has TCP_SAVE_SYN enabled. B cannot read SYN data from
+       the requests migrated from A. To avoid such a situation, cancel
+       migration by returning SK_DROP in the type of eBPF program, or
+       disable this option.
+
+       Default: 0
+
 tcp_fastopen - INTEGER
        Enable TCP Fast Open (RFC7413) to send and accept data in the opening
        SYN packet.
@@ -1073,7 +1127,9 @@ ip_local_reserved_ports - list of comma separated ranges
 
        although this is redundant. However such a setting is useful
        if later the port range is changed to a value that will
-       include the reserved ports.
+       include the reserved ports. Also keep in mind, that overlapping
+       of these ranges may affect probability of selecting ephemeral
+       ports which are right after block of reserved ports.
 
        Default: Empty
 
@@ -1143,6 +1199,12 @@ icmp_echo_ignore_all - BOOLEAN
 
        Default: 0
 
+icmp_echo_enable_probe - BOOLEAN
+        If set to one, then the kernel will respond to RFC 8335 PROBE
+        requests sent to it.
+
+        Default: 0
+
 icmp_echo_ignore_broadcasts - BOOLEAN
        If set non-zero, then the kernel will ignore all ICMP ECHO and
        TIMESTAMP requests sent to it via broadcast/multicast.
@@ -1735,6 +1797,35 @@ fib_multipath_hash_policy - INTEGER
        - 0 - Layer 3 (source and destination addresses plus flow label)
        - 1 - Layer 4 (standard 5-tuple)
        - 2 - Layer 3 or inner Layer 3 if present
+       - 3 - Custom multipath hash. Fields used for multipath hash calculation
+         are determined by fib_multipath_hash_fields sysctl
+
+fib_multipath_hash_fields - UNSIGNED INTEGER
+       When fib_multipath_hash_policy is set to 3 (custom multipath hash), the
+       fields used for multipath hash calculation are determined by this
+       sysctl.
+
+       This value is a bitmask which enables various fields for multipath hash
+       calculation.
+
+       Possible fields are:
+
+       ====== ============================
+       0x0001 Source IP address
+       0x0002 Destination IP address
+       0x0004 IP protocol
+       0x0008 Flow Label
+       0x0010 Source port
+       0x0020 Destination port
+       0x0040 Inner source IP address
+       0x0080 Inner destination IP address
+       0x0100 Inner IP protocol
+       0x0200 Inner Flow Label
+       0x0400 Inner source port
+       0x0800 Inner destination port
+       ====== ============================
+
+       Default: 0x0007 (source IP, destination IP and IP protocol)
 
 anycast_src_echo_reply - BOOLEAN
        Controls the use of anycast addresses as source addresses for ICMPv6
@@ -2743,6 +2834,18 @@ encap_port - INTEGER
 
        Default: 0
 
+plpmtud_probe_interval - INTEGER
+        The time interval (in milliseconds) for the PLPMTUD probe timer,
+        which is configured to expire after this period to receive an
+        acknowledgment to a probe packet. This is also the time interval
+        between the probes for the current pmtu when the probe search
+        is done.
+
+        PLPMTUD will be disabled when 0 is set, and other values for it
+        must be >= 5000.
+
+       Default: 0
+
 
 ``/proc/sys/net/core/*``
 ========================