]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: airoha: Make flow control source port mapping dependent on nbq parameter
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 6 Mar 2026 08:07:27 +0000 (09:07 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 10 Mar 2026 02:18:49 +0000 (19:18 -0700)
commitbf3471e6e6c02137dc0d26caa783ac1849f9aab8
tree5582d6a7b16829bcb0ecfa72e74b8d51288471d6
parent014c607f86abc903d7bf46e13373d89392e371fe
net: airoha: Make flow control source port mapping dependent on nbq parameter

Flow control source port mapping for USB serdes needs to be configured
according to the GDM port nbq parameter. This is a preliminary patch
since nbq parameter is specific for the given port serdes and needs to
be read from the DTS (in the current codebase is assigned statically).

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260306-airoha-fix-loopback-for-usb-serdes-v2-1-319de9c96826@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/airoha/airoha_eth.c
drivers/net/ethernet/airoha/airoha_regs.h