Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e71bc77d authored by Jinesh K. Jayakumar's avatar Jinesh K. Jayakumar
Browse files

msm: ipa: Support for AQC IPA offload driver



Add AQC IPA ethernet offload driver config and build the
driver if source is present.

CRs-Fixed: 2304918
Change-Id: I6242bde3a828d56f04776c2f73007263f185e90c
Signed-off-by: default avatarJinesh K. Jayakumar <jineshk@codeaurora.org>
parent 87546129
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -166,6 +166,8 @@ config IPA_ETH_NOAUTO
	  to enable offloading. This feature is meant only for debugging.
	  If unsure, say N.

source "drivers/platform/msm/ipa/ipa_v3/ethernet/aquantia/Kconfig"

config RMNET_IPA3
	tristate "IPA3 RMNET WWAN Network Device"
	depends on IPA3 && QCOM_QMI_HELPERS
+4 −0
Original line number Diff line number Diff line
@@ -10,3 +10,7 @@ ipa-eth-y := \
	ipa_eth_pci.o \
	ipa_eth_pm.o \
	ipa_eth_uc.o

ifneq ($(wildcard $(srctree)/$(src)/aquantia/Makefile),)
obj-$(CONFIG_AQC_IPA) += aquantia/
endif
+33 −0
Original line number Diff line number Diff line

config AQC_IPA
	tristate "Aquantia IPA Ethernet Offload Driver"
	depends on IPA_ETH
	help
	  This driver supports offloading to IPA, data that is
	  tethered over Aquantia ethernet interfaces. The driver
	  require a compatible Aquantia network driver to be
	  registered with IPA Offload Sub-System.
	  If unsure, say N.

choice
	prompt "Default Rx Interrupt Proxy Method"
	default AQC_IPA_PROXY_HOST

config AQC_IPA_PROXY_UC
	bool "via IPA uC"
	help
	  IPA uC acts as a proxy for AQC Rx interrupt, receiving the
	  MSI and forwarding the indication to an IPA GSI doorbell
	  either with a monotonically increasing counter or the Rx
	  ring descriptor address at AQC tail pointer. IPA uC need to
	  have support for AQC protocol in its firmware.

config AQC_IPA_PROXY_HOST
	bool "via Host/Linux"
	help
	  Host/Linux acts as proxy for AQC Rx interrupt, receiving the
	  MSI and forwarding the indication to an IPA GSI doorbell  with
	  the Rx ring descriptor address at AQC tail pointer. A host SPI
	  need to be available and configured to receive the MSI.

endchoice