kernel: 5.10: packet mangling code only for ar8216 driver
authorMathias Kresin <dev@kresin.me>
Sat, 23 Oct 2021 19:14:03 +0000 (21:14 +0200)
committerMathias Kresin <dev@kresin.me>
Tue, 2 Nov 2021 21:36:41 +0000 (22:36 +0100)
Only the ar8216 switch driver uses the packet mangling code.

Update the kernel configs accordingly.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ath79/config-5.10
target/linux/generic/hack-5.10/700-swconfig_switch_drivers.patch
target/linux/ipq806x/config-5.10
target/linux/lantiq/config-5.10
target/linux/lantiq/xway/config-5.10
target/linux/lantiq/xway_legacy/config-5.10
target/linux/mpc85xx/config-5.10
target/linux/ramips/mt7620/config-5.10
target/linux/ramips/rt3883/config-5.10

index c95c073563043dd9f0b8fc255acc39e78e044312..786d70decf4938a3b354b33f8c77671effae646c 100644 (file)
@@ -43,6 +43,7 @@ CONFIG_CSRC_R4K=y
 CONFIG_DMA_NONCOHERENT=y
 CONFIG_DTC=y
 CONFIG_EARLY_PRINTK=y
+CONFIG_ETHERNET_PACKET_MANGLE=y
 CONFIG_FIXED_PHY=y
 CONFIG_FW_LOADER_PAGED_BUF=y
 CONFIG_GENERIC_ATOMIC64=y
index 560937a7c16ec86eb8db7a822d8045b6e9984886..b90e1fc441b3ce1c23a3005de84312bbd3359441 100644 (file)
@@ -38,6 +38,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 +config AR8216_PHY
 +      tristate "Driver for Atheros AR8216 switches"
 +      select SWCONFIG
++      select ETHERNET_PACKET_MANGLE
 +
 +config AR8216_PHY_LEDS
 +      bool "Atheros AR8216 switch LED support"
@@ -52,7 +53,6 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 +config PSB6970_PHY
 +      tristate "Lantiq XWAY Tantos (PSB6970) Ethernet switch"
 +      select SWCONFIG
-+      select ETHERNET_PACKET_MANGLE
 +
 +config RTL8306_PHY
 +      tristate "Driver for Realtek RTL8306S switches"
index 77d1bbda42526913513d0a504c90211dec20dd04..f2880b5d66a67d0ff614f49277e73d2185f8942a 100644 (file)
@@ -144,6 +144,7 @@ CONFIG_DWMAC_IPQ806X=y
 CONFIG_DYNAMIC_DEBUG=y
 CONFIG_EDAC_ATOMIC_SCRUB=y
 CONFIG_EDAC_SUPPORT=y
+CONFIG_ETHERNET_PACKET_MANGLE=y
 CONFIG_FIXED_PHY=y
 CONFIG_FIX_EARLYCON_MEM=y
 CONFIG_FW_LOADER_PAGED_BUF=y
index 70f240d77956fc216556ba1b85ffb560d4817d1c..674ad3b078d986c20960b9c28d9120a88712ea0f 100644 (file)
@@ -48,7 +48,6 @@ CONFIG_DTC=y
 # CONFIG_DT_EASY50712 is not set
 CONFIG_EARLY_PRINTK=y
 CONFIG_EFI_EARLYCON=y
-CONFIG_ETHERNET_PACKET_MANGLE=y
 CONFIG_FIXED_PHY=y
 CONFIG_FONT_8x16=y
 CONFIG_FONT_AUTOSELECT=y
index cfbf08ab9faee14127312f5164e21c42649e20d3..20e7ac3479aa36547cbbcdc1f926e8d91cc0764b 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_CRC16=y
 CONFIG_CRYPTO_ACOMP2=y
 CONFIG_CRYPTO_HASH_INFO=y
 CONFIG_CRYPTO_LZO=y
+CONFIG_ETHERNET_PACKET_MANGLE=y
 CONFIG_GENERIC_ALLOCATOR=y
 CONFIG_HW_RANDOM=y
 CONFIG_INPUT=y
index c24dd77dc022be1565d6e333abb19d043b052c37..611663535b85e8a8f7d6d37dc9adaa86840278b7 100644 (file)
@@ -6,6 +6,7 @@ CONFIG_CRC16=y
 CONFIG_CRYPTO_ACOMP2=y
 CONFIG_CRYPTO_DEFLATE=y
 CONFIG_CRYPTO_LZO=y
+CONFIG_ETHERNET_PACKET_MANGLE=y
 CONFIG_GENERIC_ALLOCATOR=y
 # CONFIG_GPIO_SYSFS is not set
 CONFIG_INPUT=y
index e68ed34646c2b13a5c6fd18cee4868df816d97ba..54ee3f355ccda765253e645ad8f53501a2565aa0 100644 (file)
@@ -68,6 +68,7 @@ CONFIG_EARLY_PRINTK=y
 CONFIG_EDAC_ATOMIC_SCRUB=y
 CONFIG_EDAC_SUPPORT=y
 CONFIG_ENABLE_MUST_CHECK=y
+CONFIG_ETHERNET_PACKET_MANGLE=y
 CONFIG_FIXED_PHY=y
 CONFIG_FSL_BOOKE=y
 CONFIG_FSL_EMB_PERFMON=y
index f91d01bbd8a3fedc711accdfdaacecffa031f312..c00313328a63b8e8745e5a5beecc6257fe6b9f17 100644 (file)
@@ -41,6 +41,7 @@ CONFIG_DTB_RT_NONE=y
 # CONFIG_DTB_VOCORE2 is not set
 CONFIG_DTC=y
 CONFIG_EARLY_PRINTK=y
+CONFIG_ETHERNET_PACKET_MANGLE=y
 CONFIG_FIXED_PHY=y
 CONFIG_FW_LOADER_PAGED_BUF=y
 CONFIG_GENERIC_ATOMIC64=y
index 664d93f45401001f9f61a6afa3d6d3c7d1d6609a..f705fb351a3b791690c5a18659fb8a2150d9346c 100644 (file)
@@ -35,6 +35,7 @@ CONFIG_DMA_NONCOHERENT=y
 CONFIG_DTB_RT_NONE=y
 CONFIG_DTC=y
 CONFIG_EARLY_PRINTK=y
+CONFIG_ETHERNET_PACKET_MANGLE=y
 CONFIG_FIXED_PHY=y
 CONFIG_FW_LOADER_PAGED_BUF=y
 CONFIG_GENERIC_ATOMIC64=y