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 1DC2445B17; Sat, 12 Oct 2024 04:45:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09EDC40611; Sat, 12 Oct 2024 04:45:19 +0200 (CEST) Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by mails.dpdk.org (Postfix) with ESMTP id C17D440268 for ; Sat, 12 Oct 2024 04:45:16 +0200 (CEST) Received: by mail-pg1-f181.google.com with SMTP id 41be03b00d2f7-7e6d04f74faso1719170a12.1 for ; Fri, 11 Oct 2024 19:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728701116; x=1729305916; 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=1u2O3SuJhhp4106OIsqG4RzT6nfpL651oTSooCzt77M=; b=reJLWUXwDgbbhququBbrVxaG12wRiSmN7z5dkMVWLHBY7H9aVVILWPsxZ4JBJsTg6j MINUwfNvZ9LlqC4uEw6+4xX25/am+r+sm9gFAEY/WTJIBNc+N8cM1spBKubq4hNMa1j8 FXHkQ1hUeLLFKBnX6Ieo5fwn19B8brBRtKdynenfy5GUSHdeVIL/BzmBnisjraldeBlK V0cRPaM6DRJY1gAt4Mf9emOFoqYoXZlzMfa0Sylf/vusBBSYprpLoOuYtWkQSkQ6bRnt YDFFs2+aCZ3nvdpOLZsKmw8hCVBWcfy9GciRcp3cwxq8KZsgr7JkQPMK0vISPN0fN3uL 5DzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728701116; x=1729305916; 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=1u2O3SuJhhp4106OIsqG4RzT6nfpL651oTSooCzt77M=; b=HQBZITvuvcTd/0qFFnFQOMCIstPp0v/e5TXAH6F3QmsqJIXmlrGFQCPTi3AsqHd4Wb vIwj3RQPnqxSt1GF4okRCKxdQMtL7rmDOmxsRhBjZznhbJ3STbf0l4oTZLnaGSzqyv4Z wmPlgX1yciKYzR6UXrvByNyef2Il/Z87dPoq2anEtriyfFo1mvm/gAhchu8agBArxlAP M+w/b/TBTNSLfOa5pN0s2so2i8kbXcvSolbXEJBOqGOCRIdo2nJrbWCdaerLhTQxR03z hLyYMRn+MeRjo2xq61ALLViHXqn4x+iyCkBAEcusZVrZCi8fNcsK91UREbELMDs+/rsN Qziw== X-Gm-Message-State: AOJu0YyZhlg8Mg6XMdZUw22kwGOwcuDO7pLtNyfTP1ce7BV0b39eornU IkUuk1P3QrYANSuj5CrGKoPeqMTpx7sHM1U1Xz1P3DPSs3VbaEIcJOm6b2Tkvuk= X-Google-Smtp-Source: AGHT+IGS5seHCgMjnVyaqETPKkgvUlPqFo3csaOG9gzwmfIVey2m2O3vWgAIN6zcGSPKhbcYQO6xlA== X-Received: by 2002:a05:6a20:43a1:b0:1d5:118a:b53a with SMTP id adf61e73a8af0-1d8bc9bc26fmr7962670637.21.1728701115911; Fri, 11 Oct 2024 19:45:15 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71e2a9fe24csm3346274b3a.87.2024.10.11.19.45.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2024 19:45:15 -0700 (PDT) Date: Fri, 11 Oct 2024 19:45:13 -0700 From: Stephen Hemminger To: Chaoyong He Cc: dev@dpdk.org, oss-drivers@corigine.com, peng.zhang@corigine.com, stable@dpdk.org, Long Wu Subject: Re: [PATCH v2 02/10] net/nfp: fix malloc name problem in secondary process Message-ID: <20241011194513.0bfdf88d@hermes.local> In-Reply-To: <20241012024107.3795935-3-chaoyong.he@corigine.com> References: <20241010091716.3631747-1-chaoyong.he@corigine.com> <20241012024107.3795935-1-chaoyong.he@corigine.com> <20241012024107.3795935-3-chaoyong.he@corigine.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 Sat, 12 Oct 2024 10:40:59 +0800 Chaoyong He wrote: > The original logic keeps using the same name parameter when malloc > memory in secondary process, which may cause error when using > multiple PF cards. > > Fixes: 3b00109d2b65 ("net/nfp: add PF ID used to format symbols") > Cc: peng.zhang@corigine.com > Cc: stable@dpdk.org > > Signed-off-by: Chaoyong He > Reviewed-by: Long Wu > Reviewed-by: Peng Zhang How, the name is ignore mostly by malloc. Only used for tracing.