From patchwork Thu Feb 9 17:11:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 123603 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 604B541C54; Thu, 9 Feb 2023 18:11:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E084F410EA; Thu, 9 Feb 2023 18:11:46 +0100 (CET) Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by mails.dpdk.org (Postfix) with ESMTP id F1EC340EDC for ; Thu, 9 Feb 2023 18:11:45 +0100 (CET) Received: by mail-pj1-f45.google.com with SMTP id a8-20020a17090a6d8800b002336b48f653so895704pjk.3 for ; Thu, 09 Feb 2023 09:11:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=e0NmVC3t6kfn9kkaPAD8qqLfq25r7BzSF1CbRyREvOQ=; b=fmvUZBbHGrAbSL9rtDvRTmd0944NhcCCWaZwqvKfPnbIuxhUebUm4v27GaMFJokMhT NeKhuy+MoVqdIVzQX6hDYztZ2nSLeSIgqmqOmcniwAd5CLleK0i3f3nuQN+4z2LFV4kP VHjt7XF52DS3JNG4i3B+KtDBBNcLGfxmvc+YMK0QsNb1s/BV2mOl1azZaqHupbSQxhmc IVqfXxFHO9uUEPDoZJeRTKaMr9X9+B36SmcuSQjkScqnwLdKX+3Unmo40Nai1sPCTGcs m3xUj/ZpoKHEydGnOb3WBWkPX4ZjkgWp6emW7m1to15tA6nnk9riGgAxyuDejQqVmjxx atIA== 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 :subject:date:message-id:reply-to; bh=e0NmVC3t6kfn9kkaPAD8qqLfq25r7BzSF1CbRyREvOQ=; b=ByuptwT86nm04KapdNnFzgsLJusv+k6czEFowXqmWRAjMWU9kqMJNXs9Jvd4L39v4i fm27JkNHtxUyZof3FUurEgsCantXY+d3ZTAPRPGJz94J4fdqt81rsUsE8RpbS5VDaPWR lQji72GyrJkFA7hZrzwDnGfHmHmI6DL0wYdHNhm837Nyi8Scknd2lnKI7Gg3P3S6Qgay aRi/tobCtzVRsQkyy20xtaw4iuVb84CIldXjw1yElYzpIbPdOuq1p+ifiNfyTP66hPd0 SjHKnnwOFjl80QMgf0LUHGUkHYLJg1jp5qJDIF/hFlAcc/nA421wlAA4jSvjGkfBtGrD F9ug== X-Gm-Message-State: AO0yUKXuxI6fNa1y+quElyIfD1oudlACU1hiUfpARywoxA4lL93do1sN IY8PRO5aHgfmacMp/YJAIJwCnndiDdU/u99zYjU= X-Google-Smtp-Source: AK7set9UnrRCd9UJXYjIvAkjqeb3+WcvwCGFksupWfFdQScEUIrdzvnwWKyTpAJynVLD2S8CRbY1Gg== X-Received: by 2002:a17:902:e751:b0:198:e8f3:6a48 with SMTP id p17-20020a170902e75100b00198e8f36a48mr14861231plf.9.1675962704664; Thu, 09 Feb 2023 09:11:44 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id l5-20020a170902d34500b00188fc6766d6sm1732649plk.219.2023.02.09.09.11.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 09:11:44 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 0/5] Replace use of RTE_LOGTYPE_USER1 in libraries. Date: Thu, 9 Feb 2023 09:11:37 -0800 Message-Id: <20230209171142.94938-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <[200~https://inbox.dpdk.org/dev/20230208044825.1682620-1-stephen@networkplumber.org> References: <[200~https://inbox.dpdk.org/dev/20230208044825.1682620-1-stephen@networkplumber.org> MIME-Version: 1.0 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 This is split out of other rte_log patchset. The DPDK libraries and drivers should not be using the USER1 logtype. v2 - fix some compile warnings Stephen Hemminger (5): ip_frag: use a dynamic logtype reorder: use a dynamic logtype latencystats: use dynamic logtype vhost: use logtype instead of RTE_LOGTYPE_USER1 ipsec: fix usage of RTE_LOGTYPE_USER1 drivers/crypto/ipsec_mb/ipsec_mb_ops.c | 3 +- lib/ip_frag/ip_frag_common.h | 16 ++- lib/ip_frag/ip_frag_internal.c | 174 ++++++++++++------------- lib/ip_frag/rte_ip_frag_common.c | 13 +- lib/ip_frag/rte_ipv4_reassembly.c | 14 +- lib/ip_frag/rte_ipv6_reassembly.c | 59 ++++----- lib/latencystats/rte_latencystats.c | 55 ++++---- lib/reorder/rte_reorder.c | 35 ++--- lib/vhost/fd_man.c | 16 ++- lib/vhost/vhost_crypto.c | 25 ++-- 10 files changed, 207 insertions(+), 203 deletions(-)