summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_rx.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 /drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
parentfd6fa761466cef5279a399ca6f21d8f84d5b2332 (diff)
downloadlinux-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/en_rx.c')
0 files changed, 0 insertions, 0 deletions