]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: airoha: npu: Add wlan_{send,get}_msg NPU callbacks
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 11 Aug 2025 15:31:38 +0000 (17:31 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Aug 2025 01:58:32 +0000 (18:58 -0700)
commitf97fc66185b2004ad5f393f78b3e645009ddd1d0
tree16003009f6b0da3362463ecbe6a536181582f44b
parent564923b02c1d2fe02ee789f9849ff79979b63b9f
net: airoha: npu: Add wlan_{send,get}_msg NPU callbacks

Introduce wlan_send_msg() and wlan_get_msg() NPU wlan callbacks used
by the wlan driver (MT76) to initialize NPU module registers in order to
offload wireless-wired traffic.
This is a preliminary patch to enable wlan flowtable offload for EN7581
SoC with MT76 driver.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250811-airoha-en7581-wlan-offlaod-v7-3-58823603bb4e@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/airoha/airoha_npu.c
drivers/net/ethernet/airoha/airoha_npu.h