• Y
    net/mlx5: fs, add match on ranges API · 38bf24c3
    Yevgeny Kliteynik 提交于
    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: NYevgeny Kliteynik <kliteyn@nvidia.com>
    Reviewed-by: NAlex Vesker <valex@nvidia.com>
    Reviewed-by: NMark Bloch <mbloch@nvidia.com>
    Signed-off-by: NSaeed Mahameed <saeedm@nvidia.com>
    38bf24c3
fs.h 9.3 KB