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 BC559436AC for ; Fri, 8 Dec 2023 18:00:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B4A484325E; Fri, 8 Dec 2023 18:00:50 +0100 (CET) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by mails.dpdk.org (Postfix) with ESMTP id 8431943001 for ; Fri, 8 Dec 2023 18:00:48 +0100 (CET) Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-2886576cf18so1868913a91.1 for ; Fri, 08 Dec 2023 09:00:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702054848; x=1702659648; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=ijqsj1mvvaQTRnGh6Ssv83suDPeGYcmkT4ogdk/1v+I=; b=EbFVDenawbR6hcqilqFrg9a2XQFahpYzxfix/dYyZ/EX7XN1ZlSNwLAcF95mERe9l7 qA7RQkGWQiiAUKnvuiR1Upgo11wxL2uit2gLz2Hm6EJmyaX+QWuxonk/z0lo68hPbvv6 h9dfdHxvHy1dA47MYZIIhQVRHHZuvOfmwX9094FrAA2H2SvOm4W49UB7cvV+Jolcd5rG SxhEMKO2DpI57w31lWmIpwDPu7ymiHyvdMF5uSpQCEMjByhO+hruhLd+QEL6fYFVdQz7 HaPUU7OAyMHifMIqAo4bNZk9UsuwbMLzAHgAq4fgr9kSwiJGEaUi3fll6YyBeyEarJl5 pBYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702054848; x=1702659648; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ijqsj1mvvaQTRnGh6Ssv83suDPeGYcmkT4ogdk/1v+I=; b=rz0ksKlef8lyIr3kxXYdYAEaQyoL5iHpk4OgL/Hxr+XPMOCArk9bqCz47OHVgzX+85 OdAGob/bAW+pWgYpB0VQyg/DgUNsvw3JGp89evjc/OzqV1wsdc6QyCOIxJCQ7sXIw4Fr etyY/1gmfl9jKQP+eHQv1AxAdGM/rtiaaqJCKnk/Vb4HHltEXdTjlzgwsrXqMTtLy3U0 HD+TDTg9hf4GKAMwuU96Btpd1SA1oUWUjJfrP6J2SiAfzxoLe2NA8vbk2NZkkFuoaLIx 3zSq8PbCTrk3oIV6+zlKDXdCT5IVf/Z7P0/e3Q4Dq/b+GLtcHRpnTGZOobl2WMCCBABP s7Bw== X-Gm-Message-State: AOJu0YwjcDRr1GycOiyPoW46qlhTmdbT6XXbemcXF0jZUfkanBhYv+1I AIxcOXQvocTEjx26sNgM7jNyOw== X-Google-Smtp-Source: AGHT+IGe1k0q6bG8D5ymkEIiXMexEOMmmSm/0qgpEJNhvgKOmYkl21+wLHg2t2S+PioSmgFOpUfFAA== X-Received: by 2002:a17:90b:23d3:b0:286:9279:716a with SMTP id md19-20020a17090b23d300b002869279716amr397066pjb.28.1702054847700; Fri, 08 Dec 2023 09:00:47 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id l17-20020a17090aaa9100b0028593e9eaadsm3552283pjq.31.2023.12.08.09.00.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 09:00:47 -0800 (PST) Date: Fri, 8 Dec 2023 09:00:44 -0800 From: Stephen Hemminger To: David Marchand Cc: dev@dpdk.org, thomas@monjalon.net, ferruh.yigit@amd.com, bruce.richardson@intel.com, mb@smartsharesystems.com, stable@dpdk.org, Akhil Goyal , Fan Zhang , Andrew Rybchenko , Amit Prakash Shukla , Jerin Jacob , Naga Harish K S V Subject: Re: [RFC v2 03/14] lib: use dedicated logtypes Message-ID: <20231208090044.376d3820@hermes.local> In-Reply-To: <20231208145950.2184940-4-david.marchand@redhat.com> References: <20231117131824.1977792-1-david.marchand@redhat.com> <20231208145950.2184940-1-david.marchand@redhat.com> <20231208145950.2184940-4-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Fri, 8 Dec 2023 15:59:37 +0100 David Marchand wrote: > No printf! > When a dedicated log helper exists, use it. > And no usurpation please: a library should log under its logtype > (see the eventdev rx adapter update for example). > > Note: the RTE_ETH_VALID_PORTID_OR_GOTO_ERR_RET macro is renamed for > consistency with the rest of eventdev (private) macros. > > Cc: stable@dpdk.org > > Signed-off-by: David Marchand Reviewed-by: Stephen Hemminger