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 0200943CF3; Tue, 19 Mar 2024 04:02:46 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 971E640281; Tue, 19 Mar 2024 04:02:46 +0100 (CET) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id 5E5174021E for ; Tue, 19 Mar 2024 04:02:45 +0100 (CET) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6e6f4ad4c57so3376024b3a.2 for ; Mon, 18 Mar 2024 20:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1710817364; x=1711422164; 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=D/RbSXI9ugiAsQD2c8Jlmy7WEpe8cwRwqDLod4X2c/w=; b=v5HDabbhqqI/jDkngNI/lbvgZvT1t7HNkw3GM6obOiHfu4WMVYzSfPJMInGvUf/N7V F6M6GQvQedw1ReZWE5T/RkHuLcMY2tiQcPiM7h9joMrQU/cm2NmTn4Z9G8mWH18v8olw XQq3pwNYbgNaQP9CAHYUllBfZJP8s1kGWEo4VBWP1ivJH3Y8ruAdEXEHVMv2bbvpjZG1 fRuljRzdj447OaZc3tsL+g9dHYH+NkitH6tW+W47UAZTs1vDJz8P08v1MCMWl78gSe/F rvYHUM0kJWME4PZnINUYG+2yMUJTTUJh6zRlc1Ns/HTJTtsuOgHC0n51ERkiO6jkMJ8j DWtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710817364; x=1711422164; 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=D/RbSXI9ugiAsQD2c8Jlmy7WEpe8cwRwqDLod4X2c/w=; b=IrOkfFenirfFOSSwLSixbXKIYSIStcLF/5B8V3lilulFZxvMswHBGFsFHbEA0pA05t RhT9IQaNprd6LB3OuLM4mLF0bt6VmVZZr1sPLyCjAZT1f/ReN26XqkZHU38+abHYpk1j bOA6AmBptc2GDC0pBXqf/4R3udsOlKCYpAxDjbKO+G+clP10ZGh8aFbeRqys+Vrr+XY2 U3hZflC+YDtbJ2So6atpQ9a8rpdwESq3TLrNDrxl3oSCQvYHVasozCH/u72U6Y+SZxuy Xlzj7wOJPrHLbZCfnSO+Jq63AwC9kfmji5Vm2dnKlbBmuy1xyu99krSjY7U9CkQSDdLK Rx6A== X-Gm-Message-State: AOJu0YxkP3uSVSgjDGoaaXBMGSFOzxOOR+w2bPP1Gt6Gv8NRWDGS4mgj eDOpTzrOLDtdkbNb62zVMKy4khT19DQ8f/e8xVurx80DMH9O0AKeTzBmzR0oJrY= X-Google-Smtp-Source: AGHT+IH8wXT6n5BnTWi8irL5XZZqIGTKAtqdlh7apBgQMV1jKomCbBvogY797hYK0x8xC4um5FT3aA== X-Received: by 2002:a05:6a21:1f28:b0:1a1:7529:1942 with SMTP id ry40-20020a056a211f2800b001a175291942mr1283069pzb.24.1710817364480; Mon, 18 Mar 2024 20:02:44 -0700 (PDT) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id c8-20020a170903234800b001c407fac227sm10079926plh.41.2024.03.18.20.02.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 20:02:43 -0700 (PDT) Date: Mon, 18 Mar 2024 20:02:41 -0700 From: Stephen Hemminger To: Dengdui Huang Cc: , , , , , , , , , Subject: Re: [PATCH 1/3] ethdev: support setting lanes Message-ID: <20240318200241.34223049@hermes.local> In-Reply-To: <20240312075238.3319480-2-huangdengdui@huawei.com> References: <20240312075238.3319480-1-huangdengdui@huawei.com> <20240312075238.3319480-2-huangdengdui@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 12 Mar 2024 15:52:36 +0800 Dengdui Huang wrote: > - ret = snprintf(str, len, "Link up at %s %s %s", > + ret = snprintf(str, len, "Link up at %s %ulanes %s %s", Don't you want a space after %u? Could you make it so that lanes is only part of the message if non-default value is used?