From patchwork Fri Feb 10 17:15: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: 123690 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 4C49741C50; Fri, 10 Feb 2023 18:15:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CEE8942686; Fri, 10 Feb 2023 18:15:47 +0100 (CET) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id 1E959410D3 for ; Fri, 10 Feb 2023 18:15:46 +0100 (CET) Received: by mail-pj1-f41.google.com with SMTP id pj3so5845398pjb.1 for ; Fri, 10 Feb 2023 09:15: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=vf+yRd/VLLY7EmlgdVuz0ZaWmMP47KRvKi9SVxhpinQ=; b=CxGGI1tKcUwbV7h5fsqrNuUVv7bSNWPpa+5zRif43JdjGNUkbWNhNQAM4p47qdnr96 1QQ+ldqYTFdLZvYYJVwfP/itF9qKeAjsXWtFHY6HZOgYrfsjhnl6krT0UnL9nFSUykvk bl0ddD3lCQOhjz/baCl20qFKz1dGI/xdlLsA8UHfNSyX/KdDj8dx9Fradk4MmJxOqm/v h4wQQsvAM8iviDwq9ISxACtap0qM7bKP8Fg0sYWwWx3dI8WuQ6wmYtqukh7vTmutkUmO HCliEBd+wNrd+Jz9mtNmqbXiehG6gUdUpc7acdaEU69+eS9ikci3ZVBWVgbr8WPmZk+6 rAPg== 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=vf+yRd/VLLY7EmlgdVuz0ZaWmMP47KRvKi9SVxhpinQ=; b=riOr1oTDq5yP0gs7IfTVkKyQaChdoZnVwrg5tz6bvgiiSnTILALmmx1kx05yRibiZJ 6JSs03yIpUiclw1bP1bkgIpxvRDrdqSqX8NL16HKjiexZVj1ZK1ntUqwUPOBg/M1Y2Wt MloX3ef9wwATD7eUP4r8QxZdU5iTKYx20qo0yKIeAHiacuDGZlEeNxaG6RW5v0rdzS1h 8cJwX6mPcqOF0AJjEo44EUiWBnNSkDw2V/mCFufY8e4yuHbahiWYduOpvIFaYCUMlf1c DRzwOmNaLXihWDgDAc5h28Vy8nMlRlW4TZR/ynBqZfzd8029f63r2Rir/OOypcWeWCth a3Ig== X-Gm-Message-State: AO0yUKVOSWK4Z7TyuA56Uc0tZyRS+FMz2b/OYtNZk6MMdZDGR5C9ww+Q 04MQesBXVafYOe6NHS67UnqWjj3RRBZEDi/P43Y= X-Google-Smtp-Source: AK7set9P/4r9ODJqPbhtSLgEk8QaCHuyI4O+LgC4waO8XkAXyFsQz6xbHdCfBG/I5b+7lE2UNKwzsQ== X-Received: by 2002:a17:902:eccf:b0:19a:5f47:9dcb with SMTP id a15-20020a170902eccf00b0019a5f479dcbmr7176801plh.51.1676049344569; Fri, 10 Feb 2023 09:15:44 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id c1-20020a170902b68100b0019a6e8ceb49sm1955669pls.259.2023.02.10.09.15.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Feb 2023 09:15:44 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 0/5] Replace use of RTE_LOGTYPE_USER1 in library Date: Fri, 10 Feb 2023 09:15:37 -0800 Message-Id: <20230210171542.115434-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230208044825.1682620-1-stephen@networkplumber.org> References: <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 The DPDK libraries and drivers should not be using the USER1 logtype. v4 - fix build compile error with debug enabled v3 - fix typo in ip_frag v2 - fix some compiler 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(-)