diff options
| author | Kiran Kumar K <kirankumark@marvell.com> | 2026-06-08 15:24:55 +0530 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-06-11 12:59:34 +0200 |
| commit | 7360b96099806396f4ce15233f6dddcb69248d34 (patch) | |
| tree | 0d26fe1f8292949f5da3727d3500f37b5f22046f /include/uapi/linux | |
| parent | 64ced6c0882756db52cbedf50bc66338de4a4045 (diff) | |
octeontx2-af: fix IP fragment flag corruption on custom KPU profile load
npc_cn20k_apply_custom_kpu() overwrites KPU profile entries with custom
firmware values and then calls npc_cn20k_update_action_entries_n_flags()
over all entries. Since the same function already ran during default
profile initialisation, entries not overridden by the custom firmware
get their flags translated twice, corrupting the CN20K-specific values.
Fix this by extracting the per-entry translation into a helper
npc_cn20k_translate_action_flags() and calling it as each custom entry
is loaded, removing the redundant batch call at the end.
Fixes: ef992a0f12e8 ("octeontx2-af: npc: cn20k: MKEX profile support")
Cc: Suman Ghosh <sumang@marvell.com>
Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
Signed-off-by: Nitin Shetty J <nshettyj@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260608095455.1499203-1-nshettyj@marvell.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
