]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b83ece43ff926d39385111afb7da70d6ec3da7a
tree6e766f71cb5507c5bb725442a6f858daa5730a0f
parent518c4e55fd86c70ad42761e3b9046e54c9254bc6
parentcc33b6c8b6f55ea86d64cf83e95171bef9282172
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>