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 D4C65428C3; Mon, 3 Apr 2023 23:52:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 677474067E; Mon, 3 Apr 2023 23:52:38 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 0ED8B40156 for ; Mon, 3 Apr 2023 23:52:37 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 52E70210CBF2; Mon, 3 Apr 2023 14:52:36 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 52E70210CBF2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1680558756; bh=hi17ND2id6gIujU0gkaC8KJmXGRNv4GChKcgoypZr8Y=; h=From:To:Cc:Subject:Date:From; b=i2MV6TWZsaRKlLJmugIpeXNmXdH0YrqhhhaJoXc7hEpF1+JyxzmdgojoconmA3942 UchGkaAbAZJ1Dr1w60FSDfdNQbl9rWZIcMiniml4JwJsrO/J3YZcugR1c/B3KVv6bX sfK6jinCQ44y+V7A+VE4EscNWk/WPQVX1EsWViGg= From: Tyler Retzlaff To: dev@dpdk.org Cc: bruce.richardson@intel.com, david.marchand@redhat.com, thomas@monjalon.net, mb@smartsharesystems.com, Tyler Retzlaff Subject: [PATCH 0/9] msvc integration changes Date: Mon, 3 Apr 2023 14:52:22 -0700 Message-Id: <1680558751-17931-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 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 In accordance with draft plan http://mails.dpdk.org/archives/web/2023-February/002023.html introduces conditionally compiled code to enable building with MSVC that _does not_ require C99/C11 meaning it can be integrated now. This series covers minimal changes for item #2 in draft plan for EAL dependencies kvargs, telemetry and consumed EAL public headers. Note if any patch in the series requires in-depth discussion I'll detach it from this series for separate submission & more focused discussion so it doesn't block the entire series. Tyler Retzlaff (9): eal: use rdtsc intrinsic when compiling with msvc eal: use rtm and xtest intrinsics when compiling with msvc eal: use barrier intrinsics when compiling with msvc eal: typedef cpu flag enum as int for msvc eal: hide GCC extension based alignment markers eal: expand most macros to empty when using msvc eal: exclude exposure of rte atomic APIs for MSVC builds telemetry: disable json print formatting with msvc telemetry: avoid expanding versioned symbol macros on msvc lib/eal/include/generic/rte_atomic.h | 11 ++++++++++ lib/eal/include/generic/rte_cpuflags.h | 12 ++++++----- lib/eal/include/rte_branch_prediction.h | 8 +++++++ lib/eal/include/rte_common.h | 37 +++++++++++++++++++++++++++++++++ lib/eal/include/rte_compat.h | 20 ++++++++++++++++++ lib/eal/x86/include/rte_atomic.h | 14 ++++++++++++- lib/eal/x86/include/rte_cycles.h | 8 +++++++ lib/eal/x86/include/rte_rtm.h | 19 +++++++++++++++++ lib/telemetry/telemetry_data.c | 16 ++++++++++++++ lib/telemetry/telemetry_json.h | 6 ++++++ 10 files changed, 145 insertions(+), 6 deletions(-) -- 1.8.3.1