Skip to content
Commit ebe5555c authored by Tianyu Yuan's avatar Tianyu Yuan Committed by Jakub Kicinski
Browse files

nfp: flower: fix ingress police using matchall filter

Referenced commit introduced nfp_policer_validate in the progress
installing rate limiter. This validate check the action id and will
reject police with CONTINUE, which is required to support ingress
police offload.

Fix this issue by allowing FLOW_ACTION_CONTINUE as notexceed action
id in nfp_policer_validate

Fixes: d97b4b10

 ("flow_offload: reject offload for all drivers with invalid police parameters")
Signed-off-by: default avatarTianyu Yuan <tianyu.yuan@corigine.com>
Reviewed-by: default avatarBaowen Zheng <baowen.zheng@corigine.com>
Reviewed-by: default avatarLouis Peens <louis.peens@corigine.com>
Signed-off-by: default avatarSimon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20220825080845.507534-1-simon.horman@corigine.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent a87406f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment