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 6876245E94; Fri, 13 Dec 2024 22:05:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 044994068E; Fri, 13 Dec 2024 22:05:51 +0100 (CET) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id 915CA400D5 for ; Fri, 13 Dec 2024 22:05:49 +0100 (CET) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-725dc290c00so2683260b3a.0 for ; Fri, 13 Dec 2024 13:05:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734123948; x=1734728748; 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=Yb3FsnpVmALurZ43Wne9O0T8QkZldLI0ru7lEH3EkY4=; b=ggDCz4Ya2W/JkxdSBTSQqLYcf6RVeP+yKA0PgP9SWfFaOOagqCxayQkjDfltx4GH3B MlD8VetvYtoCJcwDHMqs7TRbkc5PiyoSZQAxDMktI5xHB1u0nu3br9Uc3eXtPl6vpv/d 9II/A+KF6t/5vR/e3RSs+rr78ebcDItCO7a4jA3aUGBPHlnfgxLqzxd4UWtEC7H1Xv68 xx4yeQwdLvXHnazmsIoKP036h5L73zoYpaVzy1KfMT38p/gMBLcRYuGWzJ2gHggn87r6 D6NPcUZ4nmxyr9d55GfIK+FDnMVcmnuJU6GSqshsYXMB/PxSUdLHp5I2/NS6MfPI9m0D l+IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734123948; x=1734728748; 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=Yb3FsnpVmALurZ43Wne9O0T8QkZldLI0ru7lEH3EkY4=; b=O0CNh9MKHut8uqvi5d3sKYSl+57d7nMi15427Dyj0qxvCtI8VhxLIosGpwXXmFTnEd nNylPUJxpxmTIuQ0RRidRWXl3DHIdL2REvzlNMmHI/tX78C9kn0Lr1rYwW1jxUnAJ9Qy DkAm606in2L2wMUNAPRhzUQOaKR6hEO+6R8dZCwXYTr1/v9e030SAxx9AbWEBD2lPj7J 4c1fp3YBBbExZ4+dLzusAxciRShIeB5d81/L1H44qZCeJdGif230biw3IM3lSfN0yxyh uJoGIIROdhvoiDNgR5duShvC1TJnlm2k5zA46Ell1LpwD7twMpjyflwWWQONJjkNhdpK c4bg== X-Forwarded-Encrypted: i=1; AJvYcCXmNs+WsWnOstes/qD3SQvfnC/qdqweyBh+MZmy3yQ3oqZbfjnTo6UqEDHR5l1SGJjO+Xw=@dpdk.org X-Gm-Message-State: AOJu0YyrUV/fp674/YSzhzeCP5p6gNre1JAE1Zz266R4bI61CcIqlWTU vYVQqxEc03jB42UIPSFoE6P9QG1gXNQ+DmcjQ1kI5kgtxy3rFSqPa3uzid6fl9Y= X-Gm-Gg: ASbGncuxj1B5lTPpxpExxGIbcbpluVRkxLQE0bEJI6cbsnBIp5FltgycgFkIc9vIbS/ n1eIJwaFTqLjOSpJOC15npXt9ImX2CRe7ZATIwgRf17PunSn3lQ8dKWRfFPw3dHUdnK6y65+oca HVJTEgM5Ntj+YhgoOq96Jv5oA0pDwRkNHRkOKkhGFqF51wFOp+ahwiRscGeexhPr5pqqFCz/KR4 ztmpejkXSVvo8ckVV9ktEubi4bbwGRfZn5mdk+6CUVu11jhu1w/VC3jLZFG4eTKzyVoJF+Yz096 WuiGtzYr+cqg/FYm5k9sVN+uVO66VjeIWQ== X-Google-Smtp-Source: AGHT+IHmUJ0Vjm5evnrYv1nHQBDW+X4KvcaeLY13Y6eBZ50miXlb7ZNwxDKiwWwRHpgxoNpah/p6lg== X-Received: by 2002:a05:6a20:9c8d:b0:1e1:b0e8:11dc with SMTP id adf61e73a8af0-1e1e00d8707mr6992843637.21.1734123948323; Fri, 13 Dec 2024 13:05:48 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72918bc020csm210583b3a.178.2024.12.13.13.05.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2024 13:05:48 -0800 (PST) Date: Fri, 13 Dec 2024 11:42:53 -0800 From: Stephen Hemminger To: Junlong Wang Cc: ferruh.yigit@amd.com, dev@dpdk.org Subject: Re: [PATCH v2 03/15] net/zxdh: port tables init implementations Message-ID: <20241213114253.59c312eb@hermes.local> In-Reply-To: <20241210055333.782901-4-wang.junlong1@zte.com.cn> References: <20241206055715.506961-2-wang.junlong1@zte.com.cn> <20241210055333.782901-1-wang.junlong1@zte.com.cn> <20241210055333.782901-4-wang.junlong1@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 13:53:21 +0800 Junlong Wang wrote: > insert port tables in host. > > Signed-off-by: Junlong Wang > --- > drivers/net/zxdh/meson.build | 1 + > drivers/net/zxdh/zxdh_ethdev.c | 23 ++ > drivers/net/zxdh/zxdh_msg.c | 63 ++++ > drivers/net/zxdh/zxdh_msg.h | 72 ++++ > drivers/net/zxdh/zxdh_np.c | 662 +++++++++++++++++++++++++++++++++ > drivers/net/zxdh/zxdh_np.h | 210 +++++++++++ > drivers/net/zxdh/zxdh_pci.h | 2 + > drivers/net/zxdh/zxdh_tables.c | 104 ++++++ > drivers/net/zxdh/zxdh_tables.h | 148 ++++++++ > 9 files changed, 1285 insertions(+) > create mode 100644 drivers/net/zxdh/zxdh_tables.c > create mode 100644 drivers/net/zxdh/zxdh_tables.h Is this a problem? ### [PATCH] net/zxdh: port tables init implementations WARNING:MACRO_ARG_UNUSED: Argument 'INDEX' is not used in function-like macro #329: FILE: drivers/net/zxdh/zxdh_np.c:124: +#define ZXDH_DTB_TAB_DOWN_PHY_ADDR_GET(DEV_ID, QUEUE_ID, INDEX) \ + (p_dpp_dtb_mgr[(DEV_ID)]->queue_info[(QUEUE_ID)].tab_down.start_phy_addr) total: 0 errors, 1 warnings, 0 checks, 1396 lines checked