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 546A0A0547; Thu, 25 Aug 2022 17:37:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3076440223; Thu, 25 Aug 2022 17:37:26 +0200 (CEST) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by mails.dpdk.org (Postfix) with ESMTP id 5EC5440156 for ; Thu, 25 Aug 2022 17:37:25 +0200 (CEST) Received: by mail-lj1-f176.google.com with SMTP id s8so2358022ljj.5 for ; Thu, 25 Aug 2022 08:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=VRBSkA+BSVNMw6KukkMmYKE2IklGn/SDYiDFCl83j0Y=; b=Pak6nKiw8DnGCvIfn8ZkXQ4myUgxXDL9BvdfI8T0ZYY7DHFXQw3ozk62mnInaDc4b+ fD7rjDo4RG8NOjwZqK/Ukkf7dM4coKJwBhIsrLRk0OKImgz2o5sYiODCF+LhmVgYd+lf DQUQKSj4KAvL3tyxreN6YU9bhjp5PkB5G0rqYLLoiT4/m8mC0IcBO3uPQSo7nSpJBOSa fdrZe1Q7LUF2b+xaO+5edIdOEGkFlBdnVNU7qwPhPpHDIQsbZy1/TyZyoc1MuNiTue9D nZ8ijCGuXAcz+Z/3y0eUMkj/i28tHCve7CFALwt6ZuPk01/wFuYDZXvmdnPgy1QJ4M9B rqGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=VRBSkA+BSVNMw6KukkMmYKE2IklGn/SDYiDFCl83j0Y=; b=HUhTV9ZNv9PMGpBw/yKIxwZbl4135dW0E5yeKpPQZ3o1Uu28ZGf1mRu+tssTQ1+kqy nXxTTQxpuMZXuZkG4a+AFhgBEZ3Fxg5gOW6ELhRc3dwmnWMVDTgeyLK4PLGm0qGR1DQj e9xNAG8LkklilqvEQ5ULtbyOjo6VXIKvXtRvNT59w0S5X3RFQh/SrRVMtMhsswfS+A7j drbUStsSfHRmcxIupJNI47bOS9K48br9da335K2IGOFOdBKF0kgQRetbpl6jHinnYGW1 9gawCFPn6NxTm2xrZTKHI0CGyaPDpvWIFGYRfpYtogoi13zVtb0PLyU5lBGTyyjYuKMs wnmw== X-Gm-Message-State: ACgBeo2hyXm1TWBvo9MWlrS5COhMr01GTkkBvu/B9csgXZcj5fRIIhMf qHZXA2qSrYgXR5OgArLCoFnpt9G/Fhc= X-Google-Smtp-Source: AA6agR6+D5m0t/+s/HntGjaGud+Y2T/f3lW23uiEdYLRO6NoAp1Auy5q5AE2HJxjQDhy8kZPyXBnUA== X-Received: by 2002:a05:651c:1611:b0:261:e11c:c2ef with SMTP id f17-20020a05651c161100b00261e11cc2efmr1209293ljq.340.1661441844537; Thu, 25 Aug 2022 08:37:24 -0700 (PDT) Received: from sovereign.. (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id r2-20020ac25c02000000b0048a9e899693sm562909lfp.16.2022.08.25.08.37.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 08:37:24 -0700 (PDT) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Dmitry Kozlyuk Subject: [PATCH v2 0/4] eal: small rte_common.h fixes and cleanup Date: Thu, 25 Aug 2022 18:37:05 +0300 Message-Id: <20220825153709.33181-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20220821205009.1317044-1-dmitry.kozliuk@gmail.com> References: <20220821205009.1317044-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 v2: * Extend and tidy up the macro unit test (Morten). * Remove unneeded includes from rte_common.h (Morten, Bruce). Dmitry Kozlyuk (4): eal: fix pointer arithmetic with an expression argument eal: deduplicate roundup code eal: uninline rte_str_to_size eal: remove unneeded includes from a public header app/test-bbdev/test_bbdev_vector.c | 1 + .../cperf_test_vector_parsing.c | 1 + app/test-eventdev/parser.h | 1 + app/test-pmd/bpf_cmd.c | 2 + app/test-pmd/cmdline.c | 1 + app/test-pmd/cmdline_tm.c | 2 + app/test-pmd/config.c | 1 + app/test/test.h | 2 + app/test/test_common.c | 58 +++++++++++++------ drivers/bus/vdev/vdev_params.c | 1 + drivers/common/cnxk/cnxk_telemetry_nix.c | 1 + drivers/common/cnxk/cnxk_telemetry_npa.c | 1 + drivers/crypto/scheduler/scheduler_pmd.c | 2 + drivers/net/cnxk/cnxk_ethdev_sec_telemetry.c | 2 + drivers/net/i40e/i40e_ethdev.c | 1 + drivers/net/iavf/iavf_ethdev.c | 1 + drivers/net/ice/ice_ethdev.c | 1 + drivers/net/softnic/parser.h | 1 + lib/dmadev/rte_dmadev.c | 1 + lib/eal/common/eal_common_debug.c | 2 + lib/eal/common/eal_common_string_fns.c | 36 +++++++++++- lib/eal/include/generic/rte_rwlock.h | 2 + lib/eal/include/rte_common.h | 41 ++----------- lib/eal/linux/eal.c | 1 + lib/eal/linux/eal_vfio_mp_sync.c | 1 + lib/eal/unix/eal_unix_timer.c | 1 + lib/eal/version.map | 1 + lib/eal/windows/rte_thread.c | 2 + lib/ethdev/sff_telemetry.c | 1 + lib/eventdev/rte_event_eth_rx_adapter.c | 1 + lib/eventdev/rte_event_timer_adapter.c | 1 + lib/meter/rte_meter.c | 1 + lib/pci/rte_pci.c | 1 + lib/pipeline/rte_swx_ctl.c | 1 + lib/sched/rte_pie.c | 1 + lib/security/rte_security.c | 2 + lib/telemetry/telemetry_data.c | 3 + lib/telemetry/telemetry_legacy.c | 1 + 38 files changed, 126 insertions(+), 55 deletions(-) -- 2.33.1