Merge "arch: arm64: defconfig: Enable veth_ipa"

This commit is contained in:
qctecmdr 2021-04-21 00:27:26 -07:00 • committed by Gerrit - the friendly Code Review server
commit 12ed74565b
5 changed files with 10 additions and 1 deletions

View file

@ -36,6 +36,7 @@ CONFIG_BLK_DEV_LOOP_MIN_COUNT=16
CONFIG_CRYPTO_SHA1_ARM64_CE=y
CONFIG_EXFAT_FS=y
CONFIG_MSM_BT_POWER=y
CONFIG_VETH_IPA=y
# CONFIG_QCOM_RTIC is not set
CONFIG_QCOM_SCM_QCPE=y
CONFIG_VETH=y

View file

@ -98,6 +98,7 @@ config IPA_WDI_UNIFIED_API
config VETH_IPA
tristate "VETH_IPA Network Interface Driver Support"
depends on MSM_HAB
help
Enables EMAC Ethernet Front end driver.
Register net device and configure VETH0 iface. This driver will

View file

@ -1,3 +1,4 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_VETH_IPA) += veth_emac_mgt.o veth_ipa.o
veth_ipa_drv-y += veth_emac_mgt.o veth_ipa.o
obj-$(CONFIG_VETH_IPA) += veth_ipa_drv.o

View file

@ -32,6 +32,8 @@
#define NO_FLAGS 0x0
MODULE_LICENSE("GPL v2");
/** veth_alloc_emac_export_mem() - Called when allocating the
* exported memory to the BE driver.
* @veth_emac_mem: Consists of all the export memory and
@ -889,3 +891,4 @@ int veth_emac_open_notify(struct veth_emac_export_mem *veth_emac_mem,
}
return 0;
}

View file

@ -54,6 +54,8 @@
#define PAGE_SIZE_1 4096
MODULE_LICENSE("GPL v2");
static int veth_ipa_open(struct net_device *net);
static void veth_ipa_packet_receive_notify
(void *priv, enum ipa_dp_evt_type evt, unsigned long data);
@ -306,6 +308,7 @@ int veth_ipa_offload_disconnect(struct veth_ipa_dev *pdata)
return 0;
}
/**
* veth_set_ul_dl_smmu_ipa_params() - This will set the UL
* params in ipa_ntn_setup_info structure to be used in the IPA