From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 59A09A0543; Tue, 24 May 2022 20:46:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F9C4400EF; Tue, 24 May 2022 20:46:30 +0200 (CEST) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id AF342400D6 for ; Tue, 24 May 2022 20:46:28 +0200 (CEST) Received: by mail-pl1-f175.google.com with SMTP id w3so9971874plp.13 for ; Tue, 24 May 2022 11:46:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TyXBhf+oSy7wiFm8LNuACZFNW57x3uXsVrgHQAG87wg=; b=7dg4URC0owBGEOeL9h/blyUflIfXRkwKfB0z0+D0+AkVL35SoznV9urcXS0iqmaucZ AVIxI93rGkJTLmyXnxonbm5RgGccl3uPkDit9MM097LQ3uQ8jZbFikNLKUbOf+s4HeQT X5h5PeJAD7NS5rYzsMEAFtgbk4KRrY5tpWU18JwOIgCBmCzn7TsHCPJWDsFRvOn7fFi4 ejaHLyEr8JRR8lxa67ucVkeDqcLSVcVc1ko6myBWkyOLGx281Kz+/5Fj/dh9SWJPA3OT /5FbtnNpUjFCmi/3bJtI1k09ViRIArwBYv2IMc/lnhRP9wjFQezRh5J08zjcOzdReYDe aOeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TyXBhf+oSy7wiFm8LNuACZFNW57x3uXsVrgHQAG87wg=; b=dEiN0waX2iRR1gqBpFHOXQmd34tbA21PLJYevjMi0WEwIgsty3eZM8hiqvoGhdz899 Fi3EUr8aBSaLgWotI0ciyBkISW6eYy6HAz0cpdpbTpWftRioju/73yKimRzGZmNd1vR9 eVMliDd0IhuldUEPoFR1dRFSbo2CLaJAFUe/+W4AyxfXOvTOZudFP3X51i81I+wMB9T2 d92b73jgo5wIk7wUvXqZkkHjhBnCjZYhblwUsEv4efzkRLur3y3cV4ForFIvOzQUgu47 l4H2DidGL5XqGPgvK1UMBhF0YHbZerq85kqqOI1IPcA1Ajb/Z3IjvOXyFrcoYs8loCHL cYNQ== X-Gm-Message-State: AOAM533fxfAY9AYdgbmvdcg0uUZKqpHw5kuDJqm1N/j5rgo6C7GE1xMC VwKqqO4tHAPlkti1Bh1iav8hMaEjHO73Ag== X-Google-Smtp-Source: ABdhPJwdKyroDosK4DU6rNIF8THatB8A3WAqFn8jkVfVBdWvcGQQvBtCnVfQwyzaH99GX/Xy1DrZzQ== X-Received: by 2002:a17:902:e94e:b0:158:91e6:501 with SMTP id b14-20020a170902e94e00b0015891e60501mr28700549pll.29.1653417987252; Tue, 24 May 2022 11:46:27 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id c21-20020a17090ab29500b001cd4989ff42sm63443pjr.9.2022.05.24.11.46.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 May 2022 11:46:26 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [RFT 0/2] pie: floating point fixes Date: Tue, 24 May 2022 11:46:20 -0700 Message-Id: <20220524184623.480646-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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(-) -- 2.35.1