kernel/5.4: add IMQ support

This commit is contained in:
CN_SZTL 2020-03-01 20:59:57 +08:00
parent e35b881882
commit b0115b00b7
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
4 changed files with 1708 additions and 5 deletions

View File

@ -720,7 +720,7 @@ $(eval $(call KernelPackage,i40e))
define KernelPackage/i40evf
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Intel(R) Ethernet Adaptive Virtual Function support
DEPENDS:=@PCI_SUPPORT +kmod-i40e
DEPENDS:=@!LINUX_5_4 @PCI_SUPPORT +kmod-i40e
KCONFIG:=CONFIG_I40EVF
FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/i40evf/i40evf.ko
AUTOLOAD:=$(call AutoProbe,i40evf)

View File

@ -512,7 +512,7 @@ define KernelPackage/ipt-bandwidth
KCONFIG:=$(KCONFIG_IPT_BANDWIDTH)
FILES:=$(LINUX_DIR)/net/ipv4/netfilter/*bandwidth*.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,$(notdir $(IPT_BANDWIDTH-m)))
DEPENDS:= kmod-ipt-core
DEPENDS:=@!LINUX_5_4 kmod-ipt-core
endef
$(eval $(call KernelPackage,ipt-bandwidth))
@ -524,7 +524,7 @@ define KernelPackage/ipt-timerange
KCONFIG:=$(KCONFIG_IPT_TIMERANGE)
FILES:=$(LINUX_DIR)/net/ipv4/netfilter/*timerange*.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,$(notdir $(IPT_TIMERANGE-m)))
DEPENDS:= kmod-ipt-core
DEPENDS:=@!LINUX_5_4 kmod-ipt-core
endef
$(eval $(call KernelPackage,ipt-timerange))
@ -536,7 +536,7 @@ define KernelPackage/ipt-webmon
KCONFIG:=$(KCONFIG_IPT_WEBMON)
FILES:=$(LINUX_DIR)/net/ipv4/netfilter/*webmon*.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,$(notdir $(IPT_WEBMON-m)))
DEPENDS:= kmod-ipt-core
DEPENDS:=@!LINUX_5_4 kmod-ipt-core
endef
$(eval $(call KernelPackage,ipt-webmon))
@ -548,7 +548,7 @@ define KernelPackage/ipt-weburl
KCONFIG:=$(KCONFIG_IPT_WEBURL)
FILES:=$(LINUX_DIR)/net/ipv4/netfilter/*weburl*.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,$(notdir $(IPT_WEBURL-m)))
DEPENDS:= kmod-ipt-core
DEPENDS:=@!LINUX_5_4 kmod-ipt-core
endef
$(eval $(call KernelPackage,ipt-weburl))

View File

@ -6390,3 +6390,8 @@ CONFIG_ZONE_DMA=y
# CONFIG_ZRAM_MEMORY_TRACKING is not set
# CONFIG_ZSMALLOC is not set
# CONFIG_ZX_TDM is not set
CONFIG_IMQ_NUM_DEVS=2
# CONFIG_IMQ_BEHAVIOR_AA is not set
# CONFIG_IMQ_BEHAVIOR_AB is not set
CONFIG_IMQ_BEHAVIOR_BA=y
# CONFIG_IMQ_BEHAVIOR_BB is not set

File diff suppressed because it is too large Load Diff