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 B490343D47; Mon, 25 Mar 2024 12:35:40 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4765840271; Mon, 25 Mar 2024 12:35:40 +0100 (CET) Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) by mails.dpdk.org (Postfix) with ESMTP id 11D0C40270 for ; Mon, 25 Mar 2024 12:35:39 +0100 (CET) Received: by mail-qt1-f182.google.com with SMTP id d75a77b69052e-43143f0ddbcso7473921cf.0 for ; Mon, 25 Mar 2024 04:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711366538; x=1711971338; 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=8mYplzSCV6MQsnuM8xjjn+f8Kt4YrZXGwix2zCN+hwA=; b=joYwzb38+TxBC12+k8yY7OYrtceuxf6usgFaglXiKrHHWT4776wwciQSY4WuLoijNr qCgO8HtbmE9v/cm1H3+Q9Hp0l62lYG0kTgFNts4wyvtXQGfWtdYBD/k1VCjl4Ln0yaAJ vPYQhS3QoyvuIxQqjAwpxzNm3AxYag0QlAdWzxHvipys14kD/DAQ1W2VRXl37b/2PGID ZUqrM267TWPSHQkZFG39us9BGKdVWMkNpwkdFMjyhqme8KsHQEi5w4DfoO4yuRF8isGV 7f/DZSSvMmtSr6y+pOJHg0K27xClT7+1wEFDQ7nIkDI27aCaof8pSKblT8w1Ww0Zbtu+ hsAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711366538; x=1711971338; 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=8mYplzSCV6MQsnuM8xjjn+f8Kt4YrZXGwix2zCN+hwA=; b=EMpBgf8UjPrnNdtGUe1300/Asrc+lqaJJLiiZxuP47VarL9AYi68ch7wfn2XfdwR8o jFmtqztFkuVJgB9ZEG0dlh72i50cPdtivWtImfJll3CBhXZPMOAYhDU1kFgLW4OgfEkL 08g6YtPjeSjh7xKFTY/n4MVbg0NiQc8oQr3IW7SRxF1TdMB34hpm1xjC4yRwZaE7Ymw/ YpyRIpIE5nagt0E16OJWRl/kWuls3F3TodoxzAVuMTs/fsrks+4HoAnlNulRlj4qETFW rys7qcyoIx7DKuNRdACIrjgh4ZuCWYeHpTie6JFVqSE2ABWqQKSArcfMwenCOdR5tAKk qdDA== X-Gm-Message-State: AOJu0Yzugs3w4C7W4oNVxTyfCxR+0drVMU2UDrSvxvR42x0ciyewfV0o rolzhjOwxRvwVuWv4e/Ws7aHKCLOzgRcsuEY/qPMTokJsf8aYrLLQhDbqV+qxmbIgxftwlCsynl Cl8D2XBAT3vKTt2YA6wjB8gEiy+A= X-Google-Smtp-Source: AGHT+IEsk7qd1wJpMFQC61ZqqwJJ2VehrsvoLGARWA6XtJSCp+CXe82D1DH0fir8Jae0a4Kh2FifNeke7Dp1wUYZQkc= X-Received: by 2002:a05:6214:1c87:b0:691:8493:bf21 with SMTP id ib7-20020a0562141c8700b006918493bf21mr9675605qvb.32.1711366538370; Mon, 25 Mar 2024 04:35:38 -0700 (PDT) MIME-Version: 1.0 References: <20240325100500.694748-2-rjarry@redhat.com> In-Reply-To: From: Jerin Jacob Date: Mon, 25 Mar 2024 17:05:12 +0530 Message-ID: Subject: Re: [PATCH v3] graph: expose node context as pointers To: Robin Jarry Cc: dev@dpdk.org, Jerin Jacob , Kiran Kumar K , Nithin Dabilpuram , Zhirun Yan , Tyler Retzlaff 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 Mon, Mar 25, 2024 at 4:45=E2=80=AFPM Robin Jarry wro= te: > > Jerin Jacob, Mar 25, 2024 at 12:08: > > > It will not be taken into account for MSVC. Is that OK? > > > > Why?. rte_mbuf has a similar scheme. > > RTE_MARKER cacheline1 __rte_cache_min_aligned; > > RTE_MARKER* types seem not defined for the MSVC toolchain. > > https://github.com/DPDK/dpdk/blob/v24.03-rc4/lib/eal/include/rte_common.h= #L589-L602 Hmm. Not sure, how mbuf is building for MSCV tool chain then. Another option could be to have a helper inline function/macro to take care of casting to make app code clean of casting. > > Maybe I am missing something.