diff options
| author | 2022-12-03 14:13:31 -0800 | |
|---|---|---|
| committer | 2022-12-08 13:04:26 -0800 | |
| commit | 3fcb94e393576aa64315964b42eeb1db580957d3 (patch) | |
| tree | 13e1c3d420518fcbed32640dcfc68bfbb964ed64 /net/core/sock.c | |
| parent | net/mlx5e: TC, initialize branching action with target attr (diff) | |
| download | wireguard-linux-3fcb94e393576aa64315964b42eeb1db580957d3.tar.xz wireguard-linux-3fcb94e393576aa64315964b42eeb1db580957d3.zip | |
net/mlx5e: TC, rename post_meter actions
Currently post meter supports only the pipe/drop conform-exceed policy.
This assumption is reflected in several variable names.
Rename the following variables as a pre-step for using the generalized
branching action platform.
Rename fwd_green_rule/drop_red_rule to green_rule/red_rule respectively.
Repurpose red_counter/green_counter to act_counter/drop_counter to allow
police conform-exceed configurations that do not drop.
Signed-off-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Link: https://lore.kernel.org/r/20221203221337.29267-10-saeed@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions
