Merge branch 'flow_offload-tc-police-parameters'
authorDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2022 11:12:39 +0000 (11:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2022 11:12:39 +0000 (11:12 +0000)
commitc4eb058ead1765662e77cf797f5035fbae1ffc24
tree6e766f71cb5507c5bb725442a6f858daa5730a0f
parentb42a738e409b62f38a15ce7530e8290b00f823a4
parentd97b4b105ce71f9f907f1511986cc1d224126772
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 <davem@davemloft.net>