diff options
author | Wentao Jia <wentao.jia@corigine.com> | 2023-03-14 08:36:08 +0200 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2024-03-15 10:48:19 -0400 |
commit | 4e2f0cae0bfe60d99e733cddf98de017a482975f (patch) | |
tree | 35c40f2da18a9a5bc8aa3471dd904e565f980f42 /fs/proc/array.c | |
parent | 66d663da8654099591a3aa78cf92d48410e930f7 (diff) |
nfp: flower: add goto_chain_index for ct entry
[ Upstream commit 3e44d19934b92398785b3ffc2353b9eba264140e ]
The chain_index has different means in pre ct entry and post ct entry.
In pre ct entry, it means chain index, but in post ct entry, it means
goto chain index, it is confused.
chain_index and goto_chain_index may be present in one flow rule, It
cannot be distinguished by one field chain_index, both chain_index
and goto_chain_index are required in the follow-up patch to support
multiple ct zones
Another field goto_chain_index is added to record the goto chain index.
If no goto action in post ct entry, goto_chain_index is 0.
Signed-off-by: Wentao Jia <wentao.jia@corigine.com>
Acked-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: cefa98e806fd ("nfp: flower: add hardware offload check for post ct entry")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions