diff options
author | 2022-08-15 12:45:28 +0300 | |
---|---|---|
committer | 2022-12-08 16:10:53 -0800 | |
commit | 38bf24c38d19dc4ba5ec684ac2afa2f8e256db1e (patch) | |
tree | 659b5a4ff22d1f8100605c1ed5eaa3eb126d8f49 /lib/parser.c | |
parent | net/mlx5: mlx5_ifc updates for MATCH_DEFINER general object (diff) | |
download | linux-rng-38bf24c38d19dc4ba5ec684ac2afa2f8e256db1e.tar.xz linux-rng-38bf24c38d19dc4ba5ec684ac2afa2f8e256db1e.zip |
net/mlx5: fs, add match on ranges API
Range is a new flow destination type which allows matching on
a range of values instead of matching on a specific value.
Range flow destination has the following fields:
- hit_ft: flow table to forward the traffic in case of hit
- miss_ft: flow table to forward the traffic in case of miss
- field: which packet characteristic to match on
- min: minimal value for the selected field
- max: maximal value for the selected field
Note:
- In order to match, the value in the packet should meet
the following criteria: min <= value < max
- Currently, the only supported field type is L2 packet length
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions