Skip to content
Commit 9f1a948f authored by Ziyang Chen's avatar Ziyang Chen Committed by Jakub Kicinski
Browse files

nfp: flower: add validation of for police actions which are independent of flows

Validation of police actions was added to offload drivers in
commit d97b4b10

 ("flow_offload: reject offload for all drivers with
invalid police parameters")

This patch extends that validation in the nfp driver to include
police actions which are created independently of flows.

Signed-off-by: default avatarZiyang Chen <ziyang.chen@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>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 4fa37e49
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