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 EE11445DE3; Fri, 6 Dec 2024 20:30:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E0824064F; Fri, 6 Dec 2024 20:30:23 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 84736402A5 for ; Fri, 6 Dec 2024 20:30:22 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1213) id A73DF20ACD78; Fri, 6 Dec 2024 11:30:21 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A73DF20ACD78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1733513421; bh=J8xuSa1Wgfcw+6HiQ5Q9ghvxxpkH/XXR8cAF6StBRJY=; h=From:To:Cc:Subject:Date:From; b=dtFhX8OVhGnWf6D1Wsqr/WYvpTzH6Xb2TNHIUIR+NP+LPt2xJ7O0foTPsc+qVqBwM tXpBQ2W2haEiu6JBDWDaRiwnE1rMc7b9Wsb1p+U5EoXi4wGvBgwHpk7WRzrVDHK663 CYklrUnTVe76E9cyRtuRIgeIXRwCh6SC5xwWJOlI= From: Andre Muezerie To: Cc: dev@dpdk.org, Andre Muezerie Subject: [PATCH 0/2] enable dmadev lib to be compiled with MSVC Date: Fri, 6 Dec 2024 11:27:51 -0800 Message-Id: <1733513273-25550-1-git-send-email-andremue@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 The first patch eliminates undefined behavior in the dmadev lib: lib\dmadev\rte_dmadev_trace_fp.h(36): warning C5101: use of preprocessor directive in function-like macro argument list is undefined behavior The second patch enables the dmadev library to be compiled with MSVC. Andre Muezerie (2): lib/dmadev: eliminate undefined behavior lib/dmadev: enable dmadev lib to be compiled with MSVC lib/dmadev/meson.build | 6 ---- lib/dmadev/rte_dmadev_trace.h | 62 ++++++++++++++++++++++++++++---- lib/dmadev/rte_dmadev_trace_fp.h | 52 +++++++++++++++++++++++---- 3 files changed, 102 insertions(+), 18 deletions(-) -- 2.47.0.vfs.0.3