mbox

[RFT,0/2] pie: floating point fixes

Message ID 20220524184623.480646-1-stephen@networkplumber.org (mailing list archive)
Headers

Message

Stephen Hemminger May 24, 2022, 6:46 p.m. UTC
  A couple of small untested changes to address some
issues found while reviewing usage of random in DPDK.

The PIE code should get rexamined in later release.
It should not be exposing internal algorithm, that makes
it brittle for ABI.

Also, no code in DPDK should ever be doing floating point
math in the data path!

Stephen Hemminger (2):
  rte_pie: remove unnecessary floating point
  rte_pie: fix incorrect floating point math

 lib/sched/rte_pie.h | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)