diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2025-05-06 18:56:47 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-07 18:08:41 -0700 |
commit | 4a7843cc8a41b9612becccc07715ed017770eb89 (patch) | |
tree | e2f8f3a0d3eae083c9ec8b4303beef30f028374a /scripts/generate_rust_analyzer.py | |
parent | dc75a43c07b7b04606e547b1ae58d34ab658479a (diff) | |
download | linux-4a7843cc8a41b9612becccc07715ed017770eb89.tar.gz linux-4a7843cc8a41b9612becccc07715ed017770eb89.tar.bz2 linux-4a7843cc8a41b9612becccc07715ed017770eb89.zip |
net: airoha: Add missing field to ppe_mbox_data struct
The official Airoha EN7581 firmware requires adding max_packet field in
ppe_mbox_data struct while the unofficial one used to develop the Airoha
EN7581 flowtable support does not require this field.
This patch does not introduce any real backwards compatible issue since
EN7581 fw is not publicly available in linux-firmware or other
repositories (e.g. OpenWrt) yet and the official fw version will use this
new layout. For this reason this change needs to be backported.
Moreover, make explicit the padding added by the compiler introducing
the rsv array in init_info struct.
At the same time use u32 instead of int for init_info and set_info
struct definitions in ppe_mbox_data struct.
Fixes: 23290c7bc190d ("net: airoha: Introduce Airoha NPU support")
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250506-airoha-en7581-fix-ppe_mbox_data-v5-1-29cabed6864d@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions