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 E1B0543D47; Mon, 25 Mar 2024 12:02:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 627C340271; Mon, 25 Mar 2024 12:02:34 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id EEF0240270 for ; Mon, 25 Mar 2024 12:02:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711364551; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BRzMlLX0vH7qQutK/wXz65wOgwYazatw+1i4ekfqR9Y=; b=FfawtZiZ3uDUIqYIDHmfIvgLoz5j1l7oNvrEEgjYrYP8npmLuzWHNsXgD4RsxrsEJUoWLr TR+vex5zKJR8fIjS7/pGmyXc9mLpbp1L1EpgJFvIslZFvdSyX3X14hpAO2RPd69btkQpqK eGIrxXR2AvChqOsQPMvmTMCUs1loSYY= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-131-9WJNXKfnNOCFIu2nld3B6Q-1; Mon, 25 Mar 2024 07:02:29 -0400 X-MC-Unique: 9WJNXKfnNOCFIu2nld3B6Q-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-3417fa3f143so918487f8f.2 for ; Mon, 25 Mar 2024 04:02:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711364548; x=1711969348; h=in-reply-to:references:user-agent:to:from:cc:subject:message-id :date:content-transfer-encoding:mime-version:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=BRzMlLX0vH7qQutK/wXz65wOgwYazatw+1i4ekfqR9Y=; b=KoYO8TRhwzngL4VGAaMcY1ofoIxg9chpHBpq5szoHjshA73jw1Ii+p94QTCwkZ3xbJ 2OPD9aGt7IMC4VEs1enkgeY/Q1Kf0iDQ3dRRPPozKATN9xpCvTcSPCDjTVeKqY2V2it8 91JthymuocupWZvlqA73C+khMiWJTaUk/A0iYT4yY7QkC63duTk9MNoWtiNp86hSQawp 7vUHnFYk0JxR3EG1QINzDyWE+hNA/LU8Z35l7YOT6JCIEydA5/rWoPbf7OfMao7503Fe b2kI0Fh9G9ogfyEaL3Xkmw+V7ZGD3d8Ja9+ZgWKwsL8fCSeEYfr5FhozSk9iPHwUPXB5 /ccA== X-Gm-Message-State: AOJu0YzFKsAO3NDR5r4coyOFfyaNmejtu4JGn1/He/yTUZPEUOqBzX46 q432H2hOjUnjtsTW6OgInns4xFDO5muTpyDso0bMjpBkIxeKZQsONBd6g1igHr1ILe1U3dmdty5 Wd6TOMdWazmNw/3dI4G4hZEFd/G9PjA9xZOr5C0lV X-Received: by 2002:adf:e011:0:b0:33e:c604:dd50 with SMTP id s17-20020adfe011000000b0033ec604dd50mr4489578wrh.51.1711364548674; Mon, 25 Mar 2024 04:02:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHsBC9azBQrbhAJGtV/+AULqo7+g1avXbfXJjFr2SUGicYJA5Ctvb1L8fd0Acw77IKTMMw81w== X-Received: by 2002:adf:e011:0:b0:33e:c604:dd50 with SMTP id s17-20020adfe011000000b0033ec604dd50mr4489561wrh.51.1711364548266; Mon, 25 Mar 2024 04:02:28 -0700 (PDT) Received: from localhost (2a01cb000f8b9700598da2e1679e8383.ipv6.abo.wanadoo.fr. [2a01:cb00:f8b:9700:598d:a2e1:679e:8383]) by smtp.gmail.com with ESMTPSA id ce3-20020a5d5e03000000b00341cc9c1871sm3022863wrb.0.2024.03.25.04.02.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Mar 2024 04:02:27 -0700 (PDT) Mime-Version: 1.0 Date: Mon, 25 Mar 2024 12:02:27 +0100 Message-Id: Subject: Re: [PATCH v3] graph: expose node context as pointers Cc: , "Jerin Jacob" , "Kiran Kumar K" , "Nithin Dabilpuram" , "Zhirun Yan" , "Tyler Retzlaff" From: "Robin Jarry" To: "Jerin Jacob" User-Agent: aerc/0.17.0-81-gd2764918eb55 References: <20240325100500.694748-2-rjarry@redhat.com> In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; format=Flowed 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 Jerin Jacob, Mar 25, 2024 at 11:59: > > +static_assert(offsetof(struct rte_node, ctx) % RTE_CACHE_LINE_SIZE =3D= =3D 0, > > + "rte_node ctx must be aligned on a cache line"); > > > This will fail in 32bit machine. > https://mails.dpdk.org/archives/test-report/2024-March/623806.html Hi Jerin, yes I saw that :( > I can think of following solution to add before ctx. > RTE_MARKER fastpath __rte_cache__aligned; It will not be taken into account for MSVC. Is that OK?