From: David S. Miller Date: Mon, 28 Feb 2022 11:12:39 +0000 (+0000) Subject: Merge branch 'flow_offload-tc-police-parameters' X-Git-Tag: v5.18-rc1~136^2~244 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=c4eb058ead1765662e77cf797f5035fbae1ffc24;p=linux-block.git Merge branch 'flow_offload-tc-police-parameters' Jianbo Liu says: ==================== flow_offload: add tc police parameters As a preparation for more advanced police offload in mlx5 (e.g., jumping to another chain when bandwidth is not exceeded), extend the flow offload API with more tc-police parameters. Adjust existing drivers to reject unsupported configurations. Changes since v2: * Rename index to extval in exceed and notexceed acts. * Add policer validate functions for all drivers. Changes since v1: * Add one more strict validation for the control of drop/ok. ==================== Signed-off-by: David S. Miller --- c4eb058ead1765662e77cf797f5035fbae1ffc24