diff options
author | Oz Shlomo <ozsh@nvidia.com> | 2022-08-24 12:45:43 +0000 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-12-08 16:10:55 -0800 |
commit | d56713250a59aba48428345f80e1bff9dde897e1 (patch) | |
tree | a2d9f42708884e87ec29d103bf92c6a17e680af3 /drivers/net/ethernet/mellanox/mlx5/core/devlink.c | |
parent | fd6fa761466cef5279a399ca6f21d8f84d5b2332 (diff) | |
download | linux-d56713250a59aba48428345f80e1bff9dde897e1.tar.bz2 |
net/mlx5e: meter, add mtu post meter tables
TC police action may configure the maximum packet size to be handled by
the policer, in addition to byte/packet rate.
MTU check is realized in hardware using the range destination, specifying
a hit ft, if packet len is in the range, or miss ft otherwise.
Instantiate mtu green/red flow tables with a single match-all rule.
Add the green/red actions to the hit/miss table accordingly.
Signed-off-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/devlink.c')
0 files changed, 0 insertions, 0 deletions