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 11CA745DAD; Mon, 9 Dec 2024 02:53:58 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C460B40264; Mon, 9 Dec 2024 02:53:56 +0100 (CET) Received: from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32]) by mails.dpdk.org (Postfix) with ESMTP id 8C10B4025F for ; Mon, 9 Dec 2024 02:53:54 +0100 (CET) Received: from mail.maildlp.com (unknown [172.19.163.17]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4Y64fS4yK6z1yrkY; Mon, 9 Dec 2024 09:54:08 +0800 (CST) Received: from kwepemk500009.china.huawei.com (unknown [7.202.194.94]) by mail.maildlp.com (Postfix) with ESMTPS id 30A651A0188; Mon, 9 Dec 2024 09:53:52 +0800 (CST) Received: from [10.67.121.161] (10.67.121.161) by kwepemk500009.china.huawei.com (7.202.194.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Mon, 9 Dec 2024 09:53:51 +0800 Message-ID: <2f7fa532-e70a-4f83-ab6f-de40a40356a6@huawei.com> Date: Mon, 9 Dec 2024 09:53:51 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/2] enable dmadev lib to be compiled with MSVC To: Andre Muezerie CC: References: <1733513273-25550-1-git-send-email-andremue@linux.microsoft.com> Content-Language: en-US From: fengchengwen In-Reply-To: <1733513273-25550-1-git-send-email-andremue@linux.microsoft.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.121.161] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemk500009.china.huawei.com (7.202.194.94) 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 Series-acked-by: Chengwen Feng Thanks On 2024/12/7 3:27, Andre Muezerie wrote: > 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 >