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 1FED643F20; Sat, 27 Apr 2024 02:18:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD5D04026C; Sat, 27 Apr 2024 02:18:58 +0200 (CEST) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mails.dpdk.org (Postfix) with ESMTP id 7B9C44026A for ; Sat, 27 Apr 2024 02:18:57 +0200 (CEST) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6f0b9f943cbso2443427b3a.0 for ; Fri, 26 Apr 2024 17:18:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1714177136; x=1714781936; 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=24KQGZm2+g7BJrGPm5qaLFAUVoUpXiWhU9QEYGiVOXc=; b=aGmLE6ka68cK17QVAJAkx6wT4njZ2vTsOyuYJpPW8diyH924ulPOPzsa2pdF0uZsR7 X+ORPYqGpAUNjm+/erHzkd4Bpn762nQPnNbFE79jSiZl01up4ybXw5eq3Mi/NzLJ4xHd 8VPCV5eQFFvIQj3Z9ofW9va5GO9HKJ0WEHEkqv8xTSrAtkOdWf65DIgaqAguDyD2b1uF RqFj9paeXkW79QDgoGaDL7Cco+tqlDhY2TnghIEVypKvqDOazXadiCR4kAEs7jcwLhXf sIehyqryQ+QfhPzAViVz4GQFHSKCJyUy3wvs75tTMJ0+lrlxrYaxXu3BtY6po8RqFEnC 5ORQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714177136; x=1714781936; 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=24KQGZm2+g7BJrGPm5qaLFAUVoUpXiWhU9QEYGiVOXc=; b=LjVXjg2DwcaGnt0T7ZuzbECjxQxPdBQxr7hjjVDqh+sm0rRMZolLtua8J4oXUBB08B E2QJIyj3+GN9oCKKFcAFX9FskfgFGOjgpABUqhiAfAfE+Iq1hPOp8RPiZd7OJewVJd0U VjT6WWJUo88suuBYxbyb6tAtw3583p75vjeBDS05qE7hsXMAGoFImAzEp2ynPO4+wlzL xUpbNl/+LIFgkBxN9w91BrjT8lhOxPNR3Ojs2yan5w4LA+QYUwaY4h2MXQMXYuyJ2LJx 1NaWAqN0uxUDyXLDFpuoTYTyz/4u7UYrsBR5O0qXXmdFt2Fu5M1+oNmHy1CmZG8G8PwM YMIw== X-Forwarded-Encrypted: i=1; AJvYcCU5bY+P5iLhyJMK0cJD40r7GvGnP6WeWeEql+NLXy5OUd4xjqM1IgG2CW/P5ru8eakj6HHEccOMwmqRHE8= X-Gm-Message-State: AOJu0YyFfEN3I6iHvK+ckdm+Wiv9ZKZuDv/P64/149cRzY+mmZfRV4o8 rjGzKeuOgUgP/Gw+duZM8zkPdbiE5BT8u15kp5P6wHgEG/74esA1Mfkz9tYDHZw= X-Google-Smtp-Source: AGHT+IEYHJYeyLTdIJpJw7PO3dyDtrn26eOvdQ6fwPDgUAXo6i5dJNfWPkjJfX9fvUl48UhXa7kKHw== X-Received: by 2002:a05:6a00:2d8a:b0:6ec:d76b:6fac with SMTP id fb10-20020a056a002d8a00b006ecd76b6facmr4944450pfb.12.1714177136374; Fri, 26 Apr 2024 17:18:56 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id bq15-20020a056a02044f00b005f806498270sm11126476pgb.9.2024.04.26.17.18.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 17:18:56 -0700 (PDT) Date: Fri, 26 Apr 2024 17:18:53 -0700 From: Stephen Hemminger To: Tyler Retzlaff Cc: Jianyue Wu , ferruh.yigit@amd.com, dev@dpdk.org, Jianyue Wu Subject: Re: [PATCH v2] eal/linux: enhanced error handling for affinity Message-ID: <20240426171853.7649b935@hermes.local> In-Reply-To: <20240426154737.GB27008@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20240425111130.8306-1-wujianyue000@163.com> <20240426154737.GB27008@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> 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 Fri, 26 Apr 2024 08:47:37 -0700 Tyler Retzlaff wrote: > > int > > -- > > i do not think introducing os specific behavior/logging to the EAL > is a good idea. logging although not formally part of the api surface > should present the same experience for all platforms. the EAL should > have a higher standard here. > > > 2.34.1 For this case, the error message would be better if there was some way to look at the cgroups and mark the cores that are not available as if they were offline lcores.