diff options
author | 2024-10-01 12:10:24 +0200 | |
---|---|---|
committer | 2024-10-04 09:54:28 -0700 | |
commit | 1f3e7ff4f296af1f4350f457d5bd82bc825e645a (patch) | |
tree | cbc4b3eedcfb816765907442140c3e3d9b48a9c0 /net/socket.c | |
parent | Merge branch 'net-switch-to-scoped-device_for_each_child_node' (diff) | |
download | linux-rng-1f3e7ff4f296af1f4350f457d5bd82bc825e645a.tar.xz linux-rng-1f3e7ff4f296af1f4350f457d5bd82bc825e645a.zip |
net: airoha: read default PSE reserved pages value before updating
Store the default value for the number of PSE reserved pages in orig_val
at the beginning of airoha_fe_set_pse_oq_rsv routine, before updating it
with airoha_fe_set_pse_queue_rsv_pages().
Introduce airoha_fe_get_pse_all_rsv utility routine.
Introduced by commit 23020f049327 ("net: airoha: Introduce ethernet support
for EN7581 SoC")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241001-airoha-eth-pse-fix-v2-1-9a56cdffd074@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions