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 471A445E94; Fri, 13 Dec 2024 22:06:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 797F940E2B; Fri, 13 Dec 2024 22:06:04 +0100 (CET) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by mails.dpdk.org (Postfix) with ESMTP id 462E040E22 for ; Fri, 13 Dec 2024 22:06:03 +0100 (CET) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-728d1a2f180so1724723b3a.1 for ; Fri, 13 Dec 2024 13:06:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1734123962; x=1734728762; 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=dWuDEPE3kzQmGCZmaDxs87Nd1QeUhFu/Ant1/5viaWU=; b=Xeo25L4o9f6Uto2y9fNbmgu4H5+nMxCGbEI25Gn56wI1gFJvVduZ14IrxXSZ4FBRgo RzvH+BkX3VQoWmCYjCUBzFcHyeTPdIr91OdWOiBIaIpuhJ4KzeytBGD0QUpChGsu2oUR aOz3Pf7OOB+Agaau8av2wzcE/10MTgNhvPMYoUtSZX3/cNJlAxz3PureskJiVAf285aM w3xrx+oXAoIxNUDAeVdVCNYCRsSweRfZ4v1Tq7xFjl56NxkEc2AQhbCJIudeDkc7g6NX ++FhvY39SB8XB6FevAUmy26QmkV1Y5rFY+kZqbMjb7H5GXHXUY/UiP+JiNYOPJd070Pe YASQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734123962; x=1734728762; 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=dWuDEPE3kzQmGCZmaDxs87Nd1QeUhFu/Ant1/5viaWU=; b=OKOb50j0ASp6nhOo3kq/yju+vel4L9XIpsxUxdQIxpjNgFjMPcXUi+VOV0SZLQ1gjL j6vQK8KZMwTYQ8ZN0248uKzr1TYVs0rBwn1nMS4DekKHKkdLg9r2N1J9658s9RzdrL3m O0QtHXFWgLhfpjg+ze1yoep9bnPDGIC2JImGjFxhg8XJL7/3+VVQ97hLCKWcMsRz3/98 lkOq5FUU2Ddjya5PeWigSGSnBP3RtvhoCRPdkWQLHn2K7p1hIyYApZ7BqVOHvDRwTu7Y bLzfz2NWml2ejES31ag/V+e4W67EyHgBQQYaLb6Ak0dTM0vyfqceSAqnXDKuJDMgXaNX McXw== X-Forwarded-Encrypted: i=1; AJvYcCX/7QDCOFPWP7VTirCmoEh7hPUp660YCtrjQI9haKQhMGpCBZGSpR2EkmqbhlJ1uvmYMCk=@dpdk.org X-Gm-Message-State: AOJu0YwqwaCD6Q3ORR9gWVm4MqxIX9gkpXuw7cjSNeRVawf2X1j8WFjf ZW7nMKZZ1WvS/v+P7M+J3nU3b5P1atHkpVTsoFu2bi8k4wpBudzKK2Tf7KSRdSA= X-Gm-Gg: ASbGncueCP1BNsvMTrxC5Vp3xeh3zVedbjipA1UrU8mnVyCb/Y717jkiw0H1fwA/tFP aozLNbEAmzTTVwQMTAcEVQZXKzQWIgLkOY5ahZN/s9GH+1sgyU0CrmTZtjEzSnAI6vooGshKhXx BQtv5+59EE1hqf+65qFgENs03CBItuT41YUv7hq1+hZWrefukApd4iw2SlLpVXLkSDq9A10T3Ms hZaHEvcuNlMMAApRZMNKhkBEv6q6+CQakIBJWhzqbbVFfbng+cVN73JRUsXDdnaDaXexi8LGvUI f080f+OMZEiM0QDYQSmwyZ1dMTSXC+B2Tw== X-Google-Smtp-Source: AGHT+IH5+29QmoF+EYLdt8fnh/FGwkFqoHsT6q4G+9L3soNzCedvSYwSiEsOtf6Wxk1h2lCVAKiXPw== X-Received: by 2002:a05:6a00:2da8:b0:725:4915:c0f with SMTP id d2e1a72fcca58-7290c749357mr5552747b3a.11.1734123962406; Fri, 13 Dec 2024 13:06:02 -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.06.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2024 13:06:02 -0800 (PST) Date: Fri, 13 Dec 2024 11:57:44 -0800 From: Stephen Hemminger To: Junlong Wang Cc: ferruh.yigit@amd.com, dev@dpdk.org Subject: Re: [PATCH v2 09/15] net/zxdh: link info update, set link up/down Message-ID: <20241213115744.4847d77b@hermes.local> In-Reply-To: <20241210055333.782901-10-wang.junlong1@zte.com.cn> References: <20241206055715.506961-2-wang.junlong1@zte.com.cn> <20241210055333.782901-1-wang.junlong1@zte.com.cn> <20241210055333.782901-10-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:27 +0800 Junlong Wang wrote: > provided link info update, set link up /down, > and link intr. > > Signed-off-by: Junlong Wang > --- > doc/guides/nics/features/zxdh.ini | 2 + > doc/guides/nics/zxdh.rst | 3 + > drivers/net/zxdh/meson.build | 1 + > drivers/net/zxdh/zxdh_ethdev.c | 13 ++ > drivers/net/zxdh/zxdh_ethdev.h | 2 + > drivers/net/zxdh/zxdh_ethdev_ops.c | 166 ++++++++++++++++++++++++++ > drivers/net/zxdh/zxdh_ethdev_ops.h | 14 +++ > drivers/net/zxdh/zxdh_msg.c | 56 +++++++++ > drivers/net/zxdh/zxdh_msg.h | 40 +++++++ > drivers/net/zxdh/zxdh_np.c | 183 +++++++++++++++++++++++++++++ > drivers/net/zxdh/zxdh_np.h | 20 ++++ > drivers/net/zxdh/zxdh_tables.c | 15 +++ > drivers/net/zxdh/zxdh_tables.h | 3 + > 13 files changed, 518 insertions(+) > create mode 100644 drivers/net/zxdh/zxdh_ethdev_ops.c > create mode 100644 drivers/net/zxdh/zxdh_ethdev_ops.h WARNING:MACRO_ARG_UNUSED: Argument '_uisrc_' is not used in function-like macro #486: FILE: drivers/net/zxdh/zxdh_np.c:43: +#define ZXDH_COMM_UINT32_WRITE_BITS(_uidst_, _uisrc_, _uistartpos_, _uilen_)\ + (((_uidst_) & ~(ZXDH_COMM_GET_BIT_MASK(uint32_t, (_uilen_)) << (_uistartpos_)))) total: 0 errors, 1 warnings, 0 checks, 664 lines checked