--- zzzz-none-000/linux-3.10.107/net/Kconfig 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/net/Kconfig 2021-02-04 17:41:59.000000000 +0000 @@ -5,6 +5,8 @@ menuconfig NET bool "Networking support" select NLATTR + select GENERIC_NET_UTILS + select BPF ---help--- Unless you really know what you are doing, you should say Y here. The reason is that some programs need kernel networking support even @@ -23,6 +25,12 @@ if NET +config ETHERNET_PACKET_MANGLE + bool + help + This option can be selected by phy drivers that need to mangle + packets going in or out of an ethernet device. + config WANT_COMPAT_NETLINK_MESSAGES bool help @@ -43,13 +51,37 @@ Newly written code should NEVER need this option but do compat-independent messages instead! +config NET_INGRESS + bool + menu "Networking options" +source "net/avm_pa/Kconfig" source "net/packet/Kconfig" source "net/unix/Kconfig" source "net/xfrm/Kconfig" source "net/iucv/Kconfig" +config NET_DEBUG_SKBUFF_LEAK + bool "SKB leak debugging" + default n + help + Track last user of the SKBs, by looking into /proc/skbuff_last_user + +config AVM_RECV_HOOKS + bool "Module hooks in for received packets (AVM)" + depends on AVM_ENHANCED + +config AVM_NET_SKB_INPUT_DEV + bool "Store input device in skb" + depends on AVM_ENHANCED + default y + ---help--- + AVM extension + + Stores the lowest-level input device in skb, because iif gets overwritten as + the skb travels through the networking stack + config INET bool "TCP/IP networking" select CRYPTO @@ -81,6 +113,9 @@ endif # if INET +config SOCK_DIAG + bool + config NETWORK_SECMARK bool "Security Marking" help @@ -88,8 +123,12 @@ to nfmark, but designated for security purposes. If you are unsure how to answer this question, answer N. +config NET_PTP_CLASSIFY + def_bool n + config NETWORK_PHY_TIMESTAMPING bool "Timestamping in PHY devices" + select NET_PTP_CLASSIFY help This allows timestamping of network packets by PHYs with hardware timestamping capabilities. This option adds some @@ -97,6 +136,17 @@ If you are unsure how to answer this question, answer N. +config AVM_GENERIC_CONNTRACK + bool "Generic connection tracking interface (AVM)" + depends on AVM_ENHANCED + default y + help + This allows the use of a connection tracking with + a generic interface to access the connection tracking + entries. Do not use together with NETFILTER connection + tracking. + + menuconfig NETFILTER bool "Network packet filtering framework (Netfilter)" ---help--- @@ -171,10 +221,11 @@ If unsure, say Y. config BRIDGE_NETFILTER - bool "Bridged IP/ARP packets filtering" - depends on BRIDGE && NETFILTER && INET + tristate "Bridged IP/ARP packets filtering" + depends on BRIDGE + depends on NETFILTER && INET depends on NETFILTER_ADVANCED - default y + default m ---help--- Enabling this option will let arptables resp. iptables see bridged ARP resp. IP traffic. If you want a bridging firewall, you probably @@ -209,6 +260,7 @@ source "net/x25/Kconfig" source "net/lapb/Kconfig" source "net/phonet/Kconfig" +source "net/6lowpan/Kconfig" source "net/ieee802154/Kconfig" source "net/mac802154/Kconfig" source "net/sched/Kconfig" @@ -218,32 +270,49 @@ source "net/openvswitch/Kconfig" source "net/vmw_vsock/Kconfig" source "net/netlink/Kconfig" +source "net/mpls/Kconfig" +source "net/hsr/Kconfig" +source "net/switchdev/Kconfig" +source "net/l3mdev/Kconfig" +source "net/rmnet_data/Kconfig" +source "net/qrtr/Kconfig" config RPS - boolean - depends on SMP && SYSFS && USE_GENERIC_SMP_HELPERS + bool + depends on SMP && SYSFS default y config RFS_ACCEL - boolean - depends on RPS && GENERIC_HARDIRQS + bool + depends on RPS select CPU_RMAP default y config XPS - boolean - depends on SMP && USE_GENERIC_SMP_HELPERS + bool + depends on SMP default y -config NETPRIO_CGROUP - tristate "Network priority cgroup" +config CGROUP_NET_PRIO + bool "Network priority cgroup" depends on CGROUPS ---help--- Cgroup subsystem for use in assigning processes to network priorities on - a per-interface basis + a per-interface basis. + +config CGROUP_NET_CLASSID + bool "Network classid cgroup" + depends on CGROUPS + ---help--- + Cgroup subsystem for use as general purpose socket classid marker that is + being used in cls_cgroup and for netfilter matching. + +config NET_RX_BUSY_POLL + bool + default y config BQL - boolean + bool depends on SYSFS select DQL default y @@ -259,11 +328,62 @@ packet sniffing (libpcap/tcpdump). Note : Admin should enable this feature changing /proc/sys/net/core/bpf_jit_enable +config NET_FLOW_LIMIT + bool + depends on RPS + default y + ---help--- + The network stack has to drop packets when a receive processing CPU's + backlog reaches netdev_max_backlog. If a few out of many active flows + generate the vast majority of load, drop their traffic earlier to + maintain capacity for the other flows. This feature provides servers + with many clients some protection against DoS by a single (spoofed) + flow that greatly exceeds average workload. + +config SKB_RECYCLER + bool "Generic skb recycling" + default y + ---help--- + SKB_RECYCLER is used to implement RX-to-RX skb recycling. + This config enables the recycling scheme for bridging and + routing workloads. It can reduce skbuff freeing or + reallocation overhead. + +config SKB_RECYCLER_MULTI_CPU + bool "Cross-CPU recycling for CPU-locked workloads" + depends on SMP && SKB_RECYCLER + default n + +config SKB_RECYCLER_PREALLOC + bool "Enable preallocation of SKBs" + depends on SKB_RECYCLER + default n + ---help--- + Preallocates SKBs in recycling lists and the number of + SKBs are configured through CONFIG_SKB_RECYCLE_MAX_PREALLOC_SKBS. + This needs SKB_RECYCLER to be enabled. + The number of preallocated SKBs can be passed using + SKB_RECYCLE_MAX_PREALLOC_SKBS. + +config SKB_RECYCLE_MAX_PREALLOC_SKBS + int "Number of SKBs to be preallocated" + depends on SKB_RECYCLER_PREALLOC + default 16384 + ---help--- + Number of SKBs each of 4K size to be preallocated for recycling + +config ALLOC_SKB_PAGE_FRAG_DISABLE + bool "Disable page fragment based skbuff payload allocations" + depends on !SKB_RECYCLER + default n + ---help--- + Disable page fragment based allocations for skbuff payloads. + menu "Network testing" config NET_PKTGEN tristate "Packet Generator (USE WITH CAUTION)" - depends on PROC_FS + depends on INET && PROC_FS ---help--- This module will inject preconfigured packets, at a configurable rate, out of a given interface. It is used for network interface @@ -337,6 +457,26 @@ source "net/ceph/Kconfig" source "net/nfc/Kconfig" +config LWTUNNEL + bool "Network light weight tunnels" + ---help--- + This feature provides an infrastructure to support light weight + tunnels like mpls. There is no netdevice associated with a light + weight tunnel endpoint. Tunnel encapsulation parameters are stored + with light weight tunnel state associated with fib routes. + +source "drivers/soc/qcom/ipc_router/Kconfig" + +config AVM_SK_TC_INDEX + bool "Store tc_index in struct sock" + depends on AVM_ENHANCED + default y + ---help--- + This allows applications to store a tc_index in the socket via SIOCSET_TC_INDEX. + SKBs arriving on this socket will inherit this. + We need this to automatically give voice traffic better priority. + + Say y endif # if NET