--- zzzz-none-000/linux-4.4.271/net/Kconfig 2021-06-03 06:22:09.000000000 +0000 +++ dakota-7530ac-750/linux-4.4.271/net/Kconfig 2023-01-11 09:25:44.000000000 +0000 @@ -25,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 @@ -50,11 +56,32 @@ 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 @@ -86,6 +113,9 @@ endif # if INET +config SOCK_DIAG + bool + config NETWORK_SECMARK bool "Security Marking" help @@ -106,6 +136,7 @@ If you are unsure how to answer this question, answer N. + menuconfig NETFILTER bool "Network packet filtering framework (Netfilter)" ---help--- @@ -233,6 +264,8 @@ source "net/hsr/Kconfig" source "net/switchdev/Kconfig" source "net/l3mdev/Kconfig" +source "net/rmnet_data/Kconfig" +source "net/qrtr/Kconfig" config RPS bool @@ -297,6 +330,45 @@ 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 @@ -383,6 +455,19 @@ 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 + config DST_CACHE bool default n