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 B345845E6D; Tue, 10 Dec 2024 21:37:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C76C4026E; Tue, 10 Dec 2024 21:37:33 +0100 (CET) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mails.dpdk.org (Postfix) with ESMTP id DE2B04026A for ; Tue, 10 Dec 2024 21:37:31 +0100 (CET) Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-7fd45005a09so2026659a12.2 for ; Tue, 10 Dec 2024 12:37:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1733863051; x=1734467851; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=dLpwJp1vOljhW8NCQtJEDyK2mnyPOVEezbwKlCgOE2U=; b=xIWCxlf6sWg+Y4hWBmLuhETEi4PGg9IgbTxpOT6j6MzgJ+/dZ+Wj44QLErUYgiieru IC5EpYuANifXSqy1I2WUVKhIVj1KlS+ybn+OLHu4cOChX1mHt9D3Kg8TXDHQDSyNwxlh 5sU8HecTJ1q2RLafe45kGOOkZhVr7UdNBOnMu4gKmrtO1yT3a6b9135eoSMxH8lVPGP5 fPI/7CpDXrriAdOilcGJYyK3Cp82Ccx2rhq+nkbBJ95Whx0gYKDgKCZAu4X/v8yrYZ/n ATSo1KY9ZmzCc4ibieeMtGiOU6EusLGkjSXTtWv/uEDoCFs2EWx5kuAFuSjDijOD5E2n uJ8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733863051; x=1734467851; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dLpwJp1vOljhW8NCQtJEDyK2mnyPOVEezbwKlCgOE2U=; b=HKxnDok4O5hsDLFSJRxc0H4v3QvJrD337PlqqjOx3/sDDpXvkkZwMig+40lBKqycLD Cbfbjju2e2RxFzya+RxX0BsXeN1+J/GOTb7j1XqEp/j99RYXXV41LgvQhsK/Iis1qlbj NWTLcM+UdDuKO1ZDEkQMUfSy3nSPIUe/dHLwNR4aM/vP7WrMJfJZYDvLhsi+M5caD9ur u3loRGNszircFSeHstCYi2UJKz1iLNGgNCf7DV0821i0HireGaM1UVZd+rbMWxDwELUv WvJ93twbItNmGdrEOe0zhZTfzzlx+0KLZvCDgS7JtZ/mCpaaoGLaA8GBYPvMbwEsWi+g mTLg== X-Forwarded-Encrypted: i=1; AJvYcCW3x9XqBzUBg+BjCKwgqm5VH+m6VQsuKBCt05pcNxblffU5iMZw5IebCkF/Uiw4yJXQlEI=@dpdk.org X-Gm-Message-State: AOJu0YyRCj3Pk5rI/3RNAslN/LxmUPZtO8KCyEiz+AU4lH1hGQERDeSV Hyzf58TS+N6rIOoWjpq8KQAxVg2XTdVL0zC510UuyJG8c7T70NUB4MkcJBnMBzA= X-Gm-Gg: ASbGncueSHFiZY445OX40HA3ciBnZsr/ynuT1f92jZ0P0GTEZ8IwwEd4q5pBM2okpDx eWtb1L/yaeIJ8rBNBQn9Mc9Nhe4TSyzF6PcW8FAxVRONDhq9vIZviiJyBJs2A12ymkJiRrcBVPs Y0IfKqNvPdPYaA1PnIATaGXbmSaIMF+eGYF1G5MproHSePZvNeDBXBNZqBh20w/xtjaAHrOR/74 2SL7hfAdXEGebjDsD9A5jQyUYrtN6+gSb4Zz3aq4S53XwTG+wLmSkgEpotnP0L8Um8/sw09S5nD 5ciQTLkN9wurKZw6PcbdahWB75z9GxE= X-Google-Smtp-Source: AGHT+IEB0Q03z/ktZ+p+cSFAzKdoLMm7GqSy9Yz+Uzf39sEpGtB1Kh50fpX+hofzS0zGkMJ110bG0w== X-Received: by 2002:a17:90b:4a4c:b0:2ee:741c:e9f4 with SMTP id 98e67ed59e1d1-2f127fc9d72mr518049a91.11.1733863050822; Tue, 10 Dec 2024 12:37:30 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2ef82a872ebsm6737561a91.28.2024.12.10.12.37.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Dec 2024 12:37:30 -0800 (PST) Date: Tue, 10 Dec 2024 12:37:28 -0800 From: Stephen Hemminger To: Yong Zhang Cc: thomas@monjalon.net, dev@dpdk.org, wang.yong19@zte.com.cn, li.min10@zte.com.cn, ran.ming@zte.com.cn Subject: Re: raw/gdtc: use standard macros to optimize code style Message-ID: <20241210123728.5e33f467@hermes.local> In-Reply-To: <20241210021219.773622-1-zhang.yong25@zte.com.cn> References: <20241210021219.773622-1-zhang.yong25@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Tue, 10 Dec 2024 10:11:30 +0800 Yong Zhang wrote: > Use RTE_BIT to optimize non-standard macro definitions > > Signed-off-by: Yong Zhang > --- Code will end up the same, but it is easier to read. Acked-by: Stephen Hemminger