mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
nfp: flower: add goto_chain_index for ct entry
[ Upstream commit3e44d19934] 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:cefa98e806("nfp: flower: add hardware offload check for post ct entry") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
666334fdf4
commit
245332d4e7
2 changed files with 8 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue