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 5CCEC45D48; Wed, 20 Nov 2024 01:46:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 402D942E69; Wed, 20 Nov 2024 01:46:54 +0100 (CET) Received: from fout-a7-smtp.messagingengine.com (fout-a7-smtp.messagingengine.com [103.168.172.150]) by mails.dpdk.org (Postfix) with ESMTP id 2DB4442E51 for ; Wed, 20 Nov 2024 01:46:52 +0100 (CET) Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id 9FA6513806EB; Tue, 19 Nov 2024 19:46:51 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Tue, 19 Nov 2024 19:46:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1732063611; x=1732150011; bh=agT1Uaa+GGSztjGcQwKykMvYpPS4dRzpk4Um/Dc3B0M=; b= nIXXziA3K2Pjwy3Ilj1nl0hB29quw/Q4Q1YjU9ZIjYoOJHxSR9AerQz3Q9mXPSiB NxcvotFmRtFCmmZQN4z8kPaYOTqXCdidZhc6/3HtDX22qRkTJFfBltF3Xhkso72v Zh7VCdFnPpokn+Onbg5CfqbpTkO/kq1QJELi7ujasiGdBariX1NhN1EHiVSHVSw2 NgCuVVv5X8CaXxZ2qnOvYXnOmQzvuCBkgvhQSm2wZMJKLRCngwtIDx7izPGTwsGJ vNiBKlf1DtOoc7pWToeUMxuGx4Y+gWTQ0qbVduKGmGg1Q67lyPV405I29BtajL4o cmQrlf5LVRTNjEgSIw9msw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1732063611; x= 1732150011; bh=agT1Uaa+GGSztjGcQwKykMvYpPS4dRzpk4Um/Dc3B0M=; b=h On/FYnvkZHwMxw22iyzyq6drRpOCZGH3M959iM/1akOID9++Zp6PbmD/usxyi64b h/9gQm5UzcNmKH+OvzGJvWlg491JtsaoTSD//QQ1O6zPkQupCKgKXVfk0cwJWVGs Ln2pJrcPqWxQl6p1KAhsKcAsEOxqZzOvPe2e037BUJb+pkd6pV7LzJy8hKWKyvbm qH5Um4sxnrkJMVA8mENV8cHdSgJ2MglZmNfJZXRQqrpVGvtrXl83V3GrtwNBdsFI t8WbYF/u8MHyvcNPBvNUywz9Uvpb/a9UiYh0hEfmOq1VYIhiRckFS5MMi+x/ZauQ lJLb2spdL6MOxn4dPOdsQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrfeefgddvhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecu hfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlh honhdrnhgvtheqnecuggftrfgrthhtvghrnhepjeduveehieevuddutdevfffgtdegkeeu veejffejgedtgeegkefgvdeugfefkeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvthdpnhgs pghrtghpthhtohepjedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepiihhrghngh drhihonhhgvdehseiithgvrdgtohhmrdgtnhdprhgtphhtthhopehsthgvphhhvghnsehn vghtfihorhhkphhluhhmsggvrhdrohhrghdprhgtphhtthhopeguvghvseguphgukhdroh hrghdprhgtphhtthhopeifrghnghdrhihonhhgudelseiithgvrdgtohhmrdgtnhdprhgt phhtthhopehlihdrmhhinhdutdesiihtvgdrtghomhdrtghnpdhrtghpthhtoheprhgrnh drmhhinhhgseiithgvrdgtohhmrdgtnh X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 19 Nov 2024 19:46:50 -0500 (EST) From: Thomas Monjalon To: Yong Zhang Cc: stephen@networkplumber.org, dev@dpdk.org, zhang.yong25@zte.com.cn, wang.yong19@zte.com.cn, li.min10@zte.com.cn, ran.ming@zte.com.cn Subject: Re: [v5,2/5] raw/gdtc: add support for queue setup operation Date: Wed, 20 Nov 2024 01:46:49 +0100 Message-ID: <11252181.BaYr0rKQ5T@thomas> In-Reply-To: <20241114092047.3514280-3-zhang.yong25@zte.com.cn> References: <20241029134609.2499338-1-zhang.yong25@zte.com.cn> <20241114092047.3514280-1-zhang.yong25@zte.com.cn> <20241114092047.3514280-3-zhang.yong25@zte.com.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" 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 14/11/2024 10:20, Yong Zhang: > +#define ZXDH_GDMA_SRC_LLI_ERR (1 << 16) > +#define ZXDH_GDMA_SRC_DATA_ERR (1 << 17) > +#define ZXDH_GDMA_DST_ADDR_ERR (1 << 18) > +#define ZXDH_GDMA_ERR_STATUS (1 << 19) > +#define ZXDH_GDMA_ERR_INTR_ENABLE (1 << 20) You should use RTE_BIT macros for this.