mirror of
https://github.com/qosmio/nss-packages.git
synced 2025-12-18 09:11:43 +00:00
qca-nss-drv: Include options to ignore QVPN,LSO_RX,MAPT,CAPWAP,UDP_ST
NSS drivers were being built unconditionally for QVPN, LSO_RX, MAPT, CAPWAP, and UDP_ST when it was not required. Include options to disable them manually, as well as expose them to be built should any client in 'qca-nss-clients' require them.
This commit is contained in:
parent
8b57fec8d7
commit
0a50fb78b3
@ -7,6 +7,10 @@ config NSS_DRV_BRIDGE_ENABLE
|
|||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
prompt "Enable BRIDGE"
|
prompt "Enable BRIDGE"
|
||||||
|
config NSS_DRV_CAPWAP_ENABLE
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
prompt "Enable CAPWAP"
|
||||||
config NSS_DRV_C2C_ENABLE
|
config NSS_DRV_C2C_ENABLE
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
@ -90,6 +94,10 @@ config NSS_DRV_PORTID_ENABLE
|
|||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
prompt "Enable PORTID"
|
prompt "Enable PORTID"
|
||||||
|
config CONFIG_NSS_DRV_LSO_RX_ENABLE
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
prompt "Enable LSO RX"
|
||||||
config NSS_DRV_PPE_ENABLE
|
config NSS_DRV_PPE_ENABLE
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
@ -113,11 +121,7 @@ config NSS_DRV_QRFS_ENABLE
|
|||||||
config NSS_DRV_QVPN_ENABLE
|
config NSS_DRV_QVPN_ENABLE
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
prompt "Enable QVPN"
|
prompt "Enable OpenVpn (QVPN)"
|
||||||
config NSS_DRV_OVPN_ENABLE
|
|
||||||
bool
|
|
||||||
default n
|
|
||||||
prompt "Enable OVPN"
|
|
||||||
config NSS_DRV_RMNET_ENABLE
|
config NSS_DRV_RMNET_ENABLE
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=qca-nss-drv
|
PKG_NAME:=qca-nss-drv
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/nss-drv.git
|
PKG_SOURCE_URL:=https://git.codelinaro.org/clo/qsdk/oss/lklm/nss-drv.git
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
@ -14,6 +14,7 @@ PKG_FLAGS:=nonshared
|
|||||||
|
|
||||||
PKG_CONFIG_DEPENDS:= \
|
PKG_CONFIG_DEPENDS:= \
|
||||||
CONFIG_NSS_DRV_BRIDGE_ENABLE \
|
CONFIG_NSS_DRV_BRIDGE_ENABLE \
|
||||||
|
CONFIG_NSS_DRV_CAPWAP_ENABLE \
|
||||||
CONFIG_NSS_DRV_C2C_ENABLE \
|
CONFIG_NSS_DRV_C2C_ENABLE \
|
||||||
CONFIG_NSS_DRV_CLMAP_ENABLE \
|
CONFIG_NSS_DRV_CLMAP_ENABLE \
|
||||||
CONFIG_NSS_DRV_CRYPTO_ENABLE \
|
CONFIG_NSS_DRV_CRYPTO_ENABLE \
|
||||||
@ -28,6 +29,7 @@ PKG_CONFIG_DEPENDS:= \
|
|||||||
CONFIG_NSS_DRV_IPV4_REASM_ENABLE \
|
CONFIG_NSS_DRV_IPV4_REASM_ENABLE \
|
||||||
CONFIG_NSS_DRV_IPV6_ENABLE \
|
CONFIG_NSS_DRV_IPV6_ENABLE \
|
||||||
CONFIG_NSS_DRV_IPV6_REASM_ENABLE \
|
CONFIG_NSS_DRV_IPV6_REASM_ENABLE \
|
||||||
|
CONFIG_NSS_DRV_LSO_RX_ENABLE \
|
||||||
CONFIG_NSS_DRV_L2TP_ENABLE \
|
CONFIG_NSS_DRV_L2TP_ENABLE \
|
||||||
CONFIG_NSS_DRV_LAG_ENABLE \
|
CONFIG_NSS_DRV_LAG_ENABLE \
|
||||||
CONFIG_NSS_DRV_MAPT_ENABLE \
|
CONFIG_NSS_DRV_MAPT_ENABLE \
|
||||||
@ -41,7 +43,6 @@ PKG_CONFIG_DEPENDS:= \
|
|||||||
CONFIG_NSS_DRV_PVXLAN_ENABLE \
|
CONFIG_NSS_DRV_PVXLAN_ENABLE \
|
||||||
CONFIG_NSS_DRV_QRFS_ENABLE \
|
CONFIG_NSS_DRV_QRFS_ENABLE \
|
||||||
CONFIG_NSS_DRV_QVPN_ENABLE \
|
CONFIG_NSS_DRV_QVPN_ENABLE \
|
||||||
CONFIG_NSS_DRV_OVPN_ENABLE \
|
|
||||||
CONFIG_NSS_DRV_RMNET_ENABLE \
|
CONFIG_NSS_DRV_RMNET_ENABLE \
|
||||||
CONFIG_NSS_DRV_SHAPER_ENABLE \
|
CONFIG_NSS_DRV_SHAPER_ENABLE \
|
||||||
CONFIG_NSS_DRV_SJACK_ENABLE \
|
CONFIG_NSS_DRV_SJACK_ENABLE \
|
||||||
@ -183,7 +184,7 @@ ifndef CONFIG_NSS_DRV_LAG_ENABLE
|
|||||||
endif
|
endif
|
||||||
ifndef CONFIG_NSS_DRV_MAPT_ENABLE
|
ifndef CONFIG_NSS_DRV_MAPT_ENABLE
|
||||||
ifndef CONFIG_PACKAGE_kmod-nat46
|
ifndef CONFIG_PACKAGE_kmod-nat46
|
||||||
DRV_MAKE_OPTS += CONFIG_NSS_DRV_MAPT_ENABLE=n
|
DRV_MAKE_OPTS += NSS_DRV_MAPT_ENABLE=n
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifndef CONFIG_NSS_DRV_MATCH_ENABLE
|
ifndef CONFIG_NSS_DRV_MATCH_ENABLE
|
||||||
@ -270,7 +271,15 @@ endif
|
|||||||
ifndef CONFIG_NSS_DRV_WIFI_MESH_ENABLE
|
ifndef CONFIG_NSS_DRV_WIFI_MESH_ENABLE
|
||||||
DRV_MAKE_OPTS += NSS_DRV_WIFI_MESH_ENABLE=n
|
DRV_MAKE_OPTS += NSS_DRV_WIFI_MESH_ENABLE=n
|
||||||
endif
|
endif
|
||||||
|
ifndef NSS_DRV_UDP_ST_ENABLE
|
||||||
|
DRV_MAKE_OPTS += NSS_DRV_UDP_ST_ENABLE=n
|
||||||
|
endif
|
||||||
|
ifndef CONFIG_NSS_DRV_CAPWAP_ENABLE
|
||||||
|
DRV_MAKE_OPTS += NSS_DRV_CAPWAP_ENABLE=n
|
||||||
|
endif
|
||||||
|
ifndef CONFIG_NSS_DRV_LSO_RX_ENABLE
|
||||||
|
DRV_MAKE_OPTS += NSS_DRV_LSO_RX_ENABLE=n
|
||||||
|
endif
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(LN) arch/nss_$(SOC).h $(PKG_BUILD_DIR)/exports/nss_arch.h
|
$(LN) arch/nss_$(SOC).h $(PKG_BUILD_DIR)/exports/nss_arch.h
|
||||||
endef
|
endef
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user