aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parser.c
diff options
context:
space:
mode:
authorOz Shlomo <ozsh@nvidia.com>2022-08-24 12:45:43 +0000
committerSaeed Mahameed <saeedm@nvidia.com>2022-12-08 16:10:55 -0800
commitd56713250a59aba48428345f80e1bff9dde897e1 (patch)
treea2d9f42708884e87ec29d103bf92c6a17e680af3 /lib/parser.c
parentnet/mlx5e: meter, refactor to allow multiple post meter tables (diff)
downloadlinux-rng-d56713250a59aba48428345f80e1bff9dde897e1.tar.xz
linux-rng-d56713250a59aba48428345f80e1bff9dde897e1.zip
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 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions