From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2E0E16D9C5 for ; Wed, 10 Apr 2024 14:59:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712761177; cv=none; b=bWy7wxSDqS7IPd8kxaLLz7BK4RK3eQWTrvnhOCBSnFRWF1nSy9nbGVvl28SP8hf0KfNM0YCJtHeKnjf1ftI73O5ZIbb/flthMrCQqwgyRbh0+YXZjvR5vyulsmL/IfvpR8SLl3tftd63QNzMrVF4SG1lp+oUC54g0/MrVdZfj6c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712761177; c=relaxed/simple; bh=eEElfM7ms0vW3GITIqHnuPQ0BbQKAd12SZvcqVWQgcY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Um2GBR69gXfJCQPsvqFdxXk35Pf7UlIpNesjZuso+hhbVr1dS0uNJdH8J48poEXgawvwkX6o9gNugwdqPOVMATg3GfRt97F+bhyVwIBzzIPSFUcJOSIXHiINaqjL+jCWs1M2LcZrC66yHxtACtdtIA/UGOO2TMX7O3/zSJRPKr4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b=B98UCzIO; arc=none smtp.client-ip=209.85.221.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="B98UCzIO" Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-34682953048so399542f8f.3 for ; Wed, 10 Apr 2024 07:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1712761173; x=1713365973; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=sZZ8Qzl07ggsrvxvKNXqPw1lCm8hvKS1T4p91mFK23k=; b=B98UCzIOwOGQs9TaK90e1Bh2v6JOYoDtbvPHtBvxt8filiL5jMo/CYuQIdMEpLgRxx ouf2WkTFBtf5Z54tK4zGw7/qMLZ7RZWjQ5Ubyp806gUPi9iKfKap3r8Klu8x//GoAI9e u8cw9UvelhNIhEhc1WOnTQNTX85OAtaxF4DtPfRtNVBLuiNXFfNPWKzC7QJX0WXopedI 8ClnLpiX+WE2PcwbOqJCB88hjug7/BCSDLlaXETkgNsmhhNuF1q7NWln0HaDAs2tPNix iePr99+HmELXvWFhk0pI9BnYr/PccO7swB8DIcHUpjapeE1QXZk/zrIxSXL+Lv3XOJXP YjVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712761173; x=1713365973; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sZZ8Qzl07ggsrvxvKNXqPw1lCm8hvKS1T4p91mFK23k=; b=BMTPoPYuQqrLJfZB/nbE2ytfuMQ2zkb5xCOM95G9GO6yZzDrRYr/DwEE+Kl1c7Hv0L n3+qmCnphifHp+M15spTBP0Vyr1QpsbtV84PE8RzkPVm+VdIRSK+c2S+gi6jdgdhBWuK v8/LPAxKPK4uOpd0VikGLhhY5qiXO2qze4sNeQT69Ta+mDqfYYfsihOEfMdBi0O3ewC2 H+mNfi2H0L37peMSTv/MR/WQKM3dGtIJwklbfkn/YJ6pUjCPkbWbvm7A7jmrB27gEqqd +mq5ypOwKPgKBgPNciYz1fOkZk6+0FVNl4WYETYM6j1+ihCUUCDlkxB5eh6dB1uZ9xEn Ajag== X-Forwarded-Encrypted: i=1; AJvYcCWYaMnRQdVJLBh0/IPupk3eOAgUCm9Qnv5eOHN48TEUCWIVPNCct4UCHlkbeq5UDQ2SW8lgcdeTVitarjjCVs36WphWMuQj X-Gm-Message-State: AOJu0YzSMBwuDkDMFu54GCz3UvNSAnteiT2GZ0fSyh2K8AJRa/CyPb6j hUp5KwTkZ+aDiUh/XF7ZPvK86Cym2gWgdEPSNVveJ/HfayWVplhxaWCyIUfpZng= X-Google-Smtp-Source: AGHT+IHUHFWXIPMwpItWqkGkjM5+39g7zm1g+XQ63hnRVbmyCLE+0EbyeQst1gtlWHG95EtoCBLyhA== X-Received: by 2002:a05:6000:2c2:b0:343:ef1b:9f68 with SMTP id o2-20020a05600002c200b00343ef1b9f68mr3933554wry.50.1712761172805; Wed, 10 Apr 2024 07:59:32 -0700 (PDT) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id x1-20020a170906134100b00a519ec0a965sm6978557ejb.49.2024.04.10.07.59.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 07:59:32 -0700 (PDT) Date: Wed, 10 Apr 2024 16:59:30 +0200 From: Jiri Pirko To: Jijie Shao Cc: yisen.zhuang@huawei.com, salil.mehta@huawei.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, rkannoth@marvell.com, shenjian15@huawei.com, wangjie125@huawei.com, liuyonglong@huawei.com, chenhao418@huawei.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V7 net-next 4/4] net: hns3: add support to query scc version by devlink info Message-ID: References: <20240410125354.2177067-1-shaojijie@huawei.com> <20240410125354.2177067-5-shaojijie@huawei.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240410125354.2177067-5-shaojijie@huawei.com> Wed, Apr 10, 2024 at 02:53:54PM CEST, shaojijie@huawei.com wrote: >From: Hao Chen > >Add support to query scc version by devlink info for device V3. > >Signed-off-by: Hao Chen >Signed-off-by: Jijie Shao >--- > Documentation/networking/devlink/hns3.rst | 3 ++ > drivers/net/ethernet/hisilicon/hns3/hnae3.h | 9 ++++ > .../hns3/hns3_common/hclge_comm_cmd.h | 8 ++++ > .../hisilicon/hns3/hns3pf/hclge_devlink.c | 44 +++++++++++++++++-- > .../hisilicon/hns3/hns3pf/hclge_devlink.h | 2 + > .../hisilicon/hns3/hns3pf/hclge_main.c | 18 ++++++++ > .../hisilicon/hns3/hns3pf/hclge_main.h | 1 + > 7 files changed, 82 insertions(+), 3 deletions(-) > >diff --git a/Documentation/networking/devlink/hns3.rst b/Documentation/networking/devlink/hns3.rst >index 4562a6e4782f..e19dea8ef924 100644 >--- a/Documentation/networking/devlink/hns3.rst >+++ b/Documentation/networking/devlink/hns3.rst >@@ -23,3 +23,6 @@ The ``hns3`` driver reports the following versions > * - ``fw`` > - running > - Used to represent the firmware version. >+ * - ``fw.scc`` What's scc? I don't see it described anywhere.