From patchwork Fri Feb 10 00:22:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 123619 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 81C0E41C56; Fri, 10 Feb 2023 01:22:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6A95740EE3; Fri, 10 Feb 2023 01:22:27 +0100 (CET) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id 3F65540EDB for ; Fri, 10 Feb 2023 01:22:26 +0100 (CET) Received: by mail-pf1-f181.google.com with SMTP id 144so2453241pfv.11 for ; Thu, 09 Feb 2023 16:22:26 -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=rJCl8yFAyNyXSB2kbATFu/3BsTXKnACJXr9FnnXXTTs=; b=PG0cPF0mzqmarFpe2tGTq2lAsXUdPQ4FTpFXQLFMVjtAQCGD4QuBZwmhxS4lnjMrbo c8pDxZ3pHYBGhnlvZnbmaQcFfkxTWSlMzvI5s6c1Y0PzWLxXdxtBjwEtlzMlh4+Gp1ua WQcbkAPiKkCIdz3jOMh9omWRtj/MHK/9/tsrd/CLEMmPhTjjxk9q06oSqs6uuAAQK7K9 vfn4gH8nVjHhVMdkbWRl0K+qi4eiWlSPqY5WxoEqlU3UNbLn5a8Rfcgy1/IRkCFkVmMq VoNK4N1uM1H8TlpRgWLHHsQyQ8ZjLgx9mrzk+la9PsaDO+asA+fmbqLdIJUs5xveagbm htfA== 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=rJCl8yFAyNyXSB2kbATFu/3BsTXKnACJXr9FnnXXTTs=; b=ceXuykPMKopPf//1qRsCC/e5F0Nz5EFarxbM1sPFoaPyIXweBJZsGIsJNC9PKDXUHh ubpZmT90PJCQOVqPVjMPWgMDohSH4MMwoSvA7jS0+0Wi217Dkzyc/mf8ow64LjEApbjt PgemOgjVbfV++4/WOG9HHhM/2lvPSKaCR52zgkaxgwX6/uyOIK8mpUneFrfsK45XQEIx RF1DYXC+mxRw1mh2uRSn6hhOoZQ7bZWo1TpgMg8LBInuCOo+SGw61HxoaAByk3V5+u4v ZgpI/vvdkjdIKSA61Ycvp2pn8aeWwdlf5Pojc8ew05goFbyaclH940q0h1SU/DM8Fm44 l9QQ== X-Gm-Message-State: AO0yUKXAOQLtj9WeuFEoYtWvIsHGo+6g0IMkCjyVLdWe6CAzrGLg1MWg wapwCNJfsDcvrm8sAqlrOhmN7B+w7F0DLYAluLs= X-Google-Smtp-Source: AK7set9STt0Gqt8W7IwsEI+6WgqgBqpeYJBWrL35UB/ov8Ra4p77VryvOWtdQLH7ne1Dy1QyLRzoSg== X-Received: by 2002:a62:1649:0:b0:5a8:4e9c:32ac with SMTP id 70-20020a621649000000b005a84e9c32acmr4429026pfw.31.1675988544970; Thu, 09 Feb 2023 16:22:24 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id g9-20020aa78749000000b005907664a3eesm1986639pfo.125.2023.02.09.16.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 16:22:24 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v3 0/5] Replace use of RTE_LOGTYPE_USER1 in library Date: Thu, 9 Feb 2023 16:22:17 -0800 Message-Id: <20230210002222.812379-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. 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(-)