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 7A6364587C; Tue, 27 Aug 2024 22:21:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A17D402AD; Tue, 27 Aug 2024 22:21:46 +0200 (CEST) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by mails.dpdk.org (Postfix) with ESMTP id 3F26040041 for ; Tue, 27 Aug 2024 22:21:45 +0200 (CEST) Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2f3ffe93a10so3334001fa.1 for ; Tue, 27 Aug 2024 13:21:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1724790104; x=1725394904; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TkPFYiGjuSCYWPK0k3B4yZ08KDRNurmvokc3tT4WkOc=; b=Lty8ageybEB53gFkKOHR+G946gD5QukkWQ0qh1o91iXlQHv9094ROJ8RPVnvEhsfaa EBeWrdFYqbPjnqRdzoH7++7eZesZKNPcqTwgnCiWJa7ub1ho12huH91Ho1WeyupEaNPE WG6P4b3PAWWk+YCee9FnWlv9D35Ty9KKvroBE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724790104; x=1725394904; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TkPFYiGjuSCYWPK0k3B4yZ08KDRNurmvokc3tT4WkOc=; b=B4PNAh6nkdQ3zQJ+PlpAHcDCGGT5h6rQoKj19B6/g7ZieaA4SRUjCiWkM1S9jKfxLr X5Ji8i8mzvQhYeGBeqeUl9+8/lKHFW01quvadiMAL0YPxbwEVAojuomWlOBAxR5Zs+I1 vbQDd/tBfIBH5ZyHps7hO74F0oW0QtFlUPNk+uGfj45ZLiN1hTaPojjouOcljP9t01cy n8RFOA/1PkT8FkMrq6HDqBOzBtO79IB0Ff/+YQmjxJxmg5AqOuRJccwx1dBDUCj7jYg4 TaWBq4Eo3jpdtdzTXY54jAU0sm3hc7p0nnNrjR55xG1se77DyrWGd3eqUQhR0+0TfFZ8 pWkw== X-Forwarded-Encrypted: i=1; AJvYcCUenzCSCEEmMSlE93q6GpmEtnQWPtFjeRgKXV4H2rylFlATRljKP2twdUR9xRfBlesN5WA=@dpdk.org X-Gm-Message-State: AOJu0YxinwvaBsAjFKL3QrWIJvRl8DRs48Hgr3LopEESNhZsXFhakBGT B5PJiYBJD8sYqG2KlQytSB7xB+hqrIAlYQgF1GBKZrs91cnEeJRA5wZ0gB8AjTpqd89n/s/36cr 3SIo/CZsiPZITkAxw2qxfzLW0xNTuaakCPEzjFw== X-Google-Smtp-Source: AGHT+IEM/SpqtRDZjWeCdWj2+sQISjFO08oO28eV7hjl73CNtaA5iuWWkxrDieitGOwvxFRj/5+ZysIWy2YK7VhZdyQ= X-Received: by 2002:a05:651c:210d:b0:2f1:5c54:7539 with SMTP id 38308e7fff4ca-2f4f499af04mr49859661fa.9.1724790104172; Tue, 27 Aug 2024 13:21:44 -0700 (PDT) MIME-Version: 1.0 References: <20240301155416.96960-1-juraj.linkes@pantheon.tech> <20240821145315.97974-1-juraj.linkes@pantheon.tech> <20240821145315.97974-3-juraj.linkes@pantheon.tech> In-Reply-To: <20240821145315.97974-3-juraj.linkes@pantheon.tech> From: Nicholas Pratte Date: Tue, 27 Aug 2024 16:21:33 -0400 Message-ID: Subject: Re: [PATCH v3 02/12] dts: add the aenum dependency To: =?UTF-8?Q?Juraj_Linke=C5=A1?= Cc: thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, jspewock@iol.unh.edu, probb@iol.unh.edu, paul.szczepanek@arm.com, Luca.Vizzarro@arm.com, dmarx@iol.unh.edu, alex.chapman@arm.com, dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Wed, Aug 21, 2024 at 10:53=E2=80=AFAM Juraj Linke=C5=A1 wrote: > > Regular Python enumerations create only one instance for members with > the same value, such as: > class MyEnum(Enum): > foo =3D 1 > bar =3D 1 > > MyEnum.foo and MyEnum.bar are aliases that return the same instance. > > DTS needs to return different instances in the above scenario so that we > can map capabilities with different names to the same function that > retrieves the capabilities. > > Signed-off-by: Juraj Linke=C5=A1 Reviewed-by: Nicholas Pratte