Home
last modified time | relevance | path

Searched refs:_delta (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dmeter.c54 s64 _cir, _delta, delta = S64_MAX; in mlx5e_flow_meter_cir_calc() local
66 _delta = cir - _cir; in mlx5e_flow_meter_cir_calc()
67 if (_delta < delta) { in mlx5e_flow_meter_cir_calc()
70 if (!_delta) in mlx5e_flow_meter_cir_calc()
72 delta = _delta; in mlx5e_flow_meter_cir_calc()
84 s64 _cbs, _delta, delta = S64_MAX; in mlx5e_flow_meter_cbs_calc() local
93 _delta = cbs - _cbs; in mlx5e_flow_meter_cbs_calc()
94 if (_delta < delta) { in mlx5e_flow_meter_cbs_calc()
97 if (!_delta) in mlx5e_flow_meter_cbs_calc()
99 delta = _delta; in mlx5e_flow_meter_cbs_calc()