usb: dwc_otg: support to the latest usb gadget driver.
[firefly-linux-kernel-4.4.55.git] / net / Kconfig
index 2ddc9046868e7a19d06841054696773242099ccf..043fe1dc08607508008a0ef416101fb6db0e526b 100644 (file)
@@ -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
@@ -43,6 +45,9 @@ config COMPAT_NETLINK_MESSAGES
          Newly written code should NEVER need this option but do
          compat-independent messages instead!
 
+config NET_INGRESS
+       bool
+
 menu "Networking options"
 
 source "net/packet/Kconfig"
@@ -81,6 +86,20 @@ source "net/netlabel/Kconfig"
 
 endif # if INET
 
+config ANDROID_PARANOID_NETWORK
+       bool "Only allow certain groups to create sockets"
+       default y
+       help
+               none
+
+config NET_ACTIVITY_STATS
+       bool "Network activity statistics tracking"
+       default y
+       help
+        Network activity statistics are useful for tracking wireless
+        modem activity on 2G, 3G, 4G wireless networks. Counts number of
+        transmissions and groups them in specified time buckets.
+
 config NETWORK_SECMARK
        bool "Security Marking"
        help
@@ -88,8 +107,12 @@ config NETWORK_SECMARK
          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
@@ -171,10 +194,11 @@ config NETFILTER_ADVANCED
          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 +233,7 @@ source "drivers/net/appletalk/Kconfig"
 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 +243,47 @@ source "net/batman-adv/Kconfig"
 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"
 
 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 +299,23 @@ config BPF_JIT
          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.
+
 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 +389,13 @@ source "net/caif/Kconfig"
 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.
 
 endif   # if NET