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 4B55D43EDB; Mon, 22 Apr 2024 17:26:48 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 34BB540DCE; Mon, 22 Apr 2024 17:26:48 +0200 (CEST) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id A8A1340268 for ; Mon, 22 Apr 2024 17:26:30 +0200 (CEST) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1e2bbc2048eso37713365ad.3 for ; Mon, 22 Apr 2024 08:26:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1713799590; x=1714404390; 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=6otg2lCRSoht947lSx6joeI6+mkWrUkTl2PThojZ9cw=; b=ft8z/WlDBxVVKmmQ7T/B0ervUpCc+9y5UNkeBZHUQfn8gT7TKlRvZ4snT0X8DMqYTI a63p0dIX/5p+gUviBhyupPoc+uWNRpkeyT1qL0X4DZPi3vGdA3ZctknCLlQJufhS8Mjs kYKvcWR8HlYCoaiHcB+jNlRXHhujHXieXex26IgLxNZrZ+SjmeoUzZYNK7rCblRDA2nh JZGR4o7vH80Ox5Z19gh1DOtFdqSr9DOc4QaJp8PHYdm1hG50rtJR+y0Hj0Y7OlNn8BLI BrZBoeXroq1wslUI0u5Tm3krco43ZLoTte0FmfOnWdoYpQulLYu3wyTu2yrI7J/XM9U5 1sow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713799590; x=1714404390; 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=6otg2lCRSoht947lSx6joeI6+mkWrUkTl2PThojZ9cw=; b=OuWA4PDL1knHwyxrmSSo635FJtYh/LFxdN2+k3hJWxBJ8SQeVnFlxWrpcYR6Tg7gp3 kF3QcqRhFnjPgsHLwSWMKGj4ulOHNjaaa+WSzPgReHlPNC1I1tZ7eFATl7fVFiDYyG4T ItxsLqyFN1goNfPHw9ATbYyrceuWD5duW+RH2Q25u2WFQfTctPcCbdS13e00UgW2pdzd zWnBTuxoRcD8ytLFKItbof6KImWc1fGwUK77LcExJUuTqYsipv6KbHWMYqAzxB9a3WxT f+ei8f5IZ38Rj3KWzAnwkNMRwTzmBfFZSkacFV4Z2AzCW8NuuPL0VWpTeYxAp+JxxgiR +uAg== X-Forwarded-Encrypted: i=1; AJvYcCWEemwsVw8Gk6JfdX+1cM4yX8bctMJAEVuhhh7FtxWuAQvbfGAL1mUjz3FOdAIfjACCfe4sXlGNO/jF4uU= X-Gm-Message-State: AOJu0Yw5uUPa7UyYhgbLrCUtVFdewb/OJ5AkhQc+RIvyH8ju3Y3LlCGl 2dD6M3G3bPFZAwqu3ADL5tEJtq0YqrxZlgMvzXoNd9FmpWZDmiO7e1yRHx7Z5bU= X-Google-Smtp-Source: AGHT+IER70xXxNX3Yk7dAscjFcQs66gkPX7D75cw1kBmmzc0yKW6nuk0voc/qGrFXWtAI71CjeWnkA== X-Received: by 2002:a17:902:e889:b0:1e5:3684:617e with SMTP id w9-20020a170902e88900b001e53684617emr12782952plg.52.1713799589793; Mon, 22 Apr 2024 08:26:29 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id n6-20020a170903110600b001e668c1060bsm8232125plh.122.2024.04.22.08.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 08:26:29 -0700 (PDT) Date: Mon, 22 Apr 2024 08:26:27 -0700 From: Stephen Hemminger To: "Jianyue Wu (NSB)" Cc: "roretzla@linux.microsoft.com" , "thomas@monjalon.net" , "david.marchand@redhat.com" , "'dev@dpdk.org'" Subject: Re: [PATCH] eal/linux: enhanced error handling for affinity Message-ID: <20240422082627.4b3a14e4@hermes.local> In-Reply-To: References: <6edc5c20ca9e4bc5822bcf3f87cab66c@nokia-sbell.com> <930beb572a814989b86186c55fa574be@nokia-sbell.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 Mon, 22 Apr 2024 13:23:50 +0000 "Jianyue Wu (NSB)" wrote: > +/* Function to convert cpu_set_t to a string. */ > +static void cpuset_to_string(const cpu_set_t *cpuset, > + char *cpus_str, size_t cpus_str_size) { > + int cpu; > + // Track the current position in the string DPDK does not use C++ style comments. All patches should match the style of existing code.