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 C08B643EDB; Mon, 22 Apr 2024 17:27:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AC43440647; Mon, 22 Apr 2024 17:27:34 +0200 (CEST) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mails.dpdk.org (Postfix) with ESMTP id B640240268 for ; Mon, 22 Apr 2024 17:27:33 +0200 (CEST) Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1e51398cc4eso40558905ad.2 for ; Mon, 22 Apr 2024 08:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1713799653; x=1714404453; 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=TDzASEkh3npWcukQEh1PsWiIzbdQi7KIwWeInsoEh0w=; b=3Ppb3deSTOTe9lFAgTEjyASDKeM086C8hhWt3KJBgffNscxGowWkMp+bNVO8Wzs5TJ M1UbUnnicKMOD0c+tCDUHwMUtOCRYwNV1SWLafh2wj5nUnEKXAfGZJsCzqeT1u+5GaR0 +tXgwl7v8XbuWN/wcKW8eNj+wvE5W4TdvKBuJlgNfMj/5BoPfsyM9DWDwGKTbwd6iUYD iPgbKLU6PJwguOBqPpNJu53F54voJwx07TywKKjqL4oPXCZLmLrjk5tNgK9J8XW8vxr3 0Aum90VeFF3kDOHc/eu6At0SUH70H1by1Wr+8ISqDhgn263ai+UCm5U4N7Gtpf0bBL5c 0RSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713799653; x=1714404453; 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=TDzASEkh3npWcukQEh1PsWiIzbdQi7KIwWeInsoEh0w=; b=q0f3FITnqrGiHqgvH4Cym1JU3tF0NpxA5i5DZUv2xJNoXQ52zouTbywXM5D4zRykq3 Gg9QCXoCltABcLzkDTh0av2TdLW2RJ95y+N/iz8k1VvkDyFb5JnzagxWrimDRSYGJesq fp3ZOEqW5fvNsx/Izu0HxJJkMZc8F+TK9hOhZpyBPGU6jO4dYtAwHfnP1wgjvyhVQR9h Z92FMQn81vlNzFe5f4Ra5urXXd+QSsqNOWkZWwzB+1QHR7SmI8+7Q2oziqHNJTsgHzVv K4B99HsBICH8Nw0cRKWUgMyzI/MqnX3IdQRCdjOjAEVc6aqJGD6bL/hs6MmYxZNIlKKw 3VYg== X-Forwarded-Encrypted: i=1; AJvYcCWaMEUc5KJGElS7xAXEQ8dsnrQRdgm23mi8/mRgQM8tiSlkmhQyLjzfheP1puK4RPtKUwXEXStvw4V3XjA= X-Gm-Message-State: AOJu0Yz+H0f/mSbj4mu1PwrnyvgXpCKsQUIfIgQ2VODpzBm/bXu7Fyq9 gzCfPRqknpOz7r0tG5xsKuDhPB+/w+KBubihEwdhRr0LNlxWvGvCwRQNX3QCUpE= X-Google-Smtp-Source: AGHT+IEYogo45+dGetlh2a0KswCycfkGvcS3zCs/UjOrO+I8YpDDQo9saxhXrBHYIkEIXAIPm+l7zg== X-Received: by 2002:a17:903:1c8:b0:1e7:d482:9d96 with SMTP id e8-20020a17090301c800b001e7d4829d96mr14415327plh.10.1713799652940; Mon, 22 Apr 2024 08:27:32 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id lo8-20020a170903434800b001e546a10c50sm8225609plb.286.2024.04.22.08.27.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 08:27:32 -0700 (PDT) Date: Mon, 22 Apr 2024 08:27:31 -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: <20240422082731.3aec5126@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: > + char cpus_str[RTE_MAX_LCORE + 1] = {'\0'}; > + char thread_name[RTE_MAX_THREAD_NAME_LEN] = {'\0'}; > + You don't need '\0' here, just doing { } will have same effect.