Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4768012rwb; Tue, 8 Aug 2023 13:34:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEraUn64fTnhp4kryllCGrngM5PIDma4XkGylYyghCpYxw4OUEWwcoWqAT6p6NBJW1femmB X-Received: by 2002:a05:6a20:729d:b0:129:3bb4:77f1 with SMTP id o29-20020a056a20729d00b001293bb477f1mr779367pzk.0.1691526874318; Tue, 08 Aug 2023 13:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691526874; cv=none; d=google.com; s=arc-20160816; b=yRtIhLbc+Anf2vorq5LoJ84ZG01BWiedz3q0sG2PcJiJHpCxKLrb9LOn+uzBUwlYrF /hxxja0WsI1igx/MjUF0+5F7eRCq6oIsbbwkP//nF959Uh7C4eD28hueN/3ih4aAca7E efvdmy8NAs8VvE8g3AIOTMWAEsHlPC5hrGe/E8SdwzXTRHVgSVhcgTc7qaCCqE46LK0a AVrY0ZLyar/ky+GHFGk1tqX7fk6AOkgx8XDmGV+u9hNfbTvPQrJ8vr1+mmUp+/Ff3KwV MrqH+jZEF2jjn3wmiZ+Hc0wbjLnb9UUJXvtnIIJVJHktWTZsxhT6H+fsfivsKcHrZIgp tRsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=K6Ar9hCVucEngjMsaVOt+7JQZlXv+U7Cdxp3IcuO/7g=; fh=zPOmMl/68beCSc8p95Vd3VtUhtELYPOPcjp5ObP3jV0=; b=PRpTAlwIGhtr3qT1giNNSFfL9fZ+B5fpRwdzmo/5Nvudu2xr7cGizJ8lkjGtg1LFY8 48s8Y3/YY6V9PpetfdkcuptLdg6N+kVVwUc5SgdRHfk9aTzAWDFabJenIdLqaivSkmJc SwVGtEodimlGDpiLiqYWpH4vdZfLRiDRw37XrjusEb7JbF+f4jiU0fzD7Wb+opzPzun6 rDGbgOLPyXZbCBuyO74llJNInIE4aUGWGsnG5gbwqdEEvfvWzenj3Lrh3ud+x7uX7bv0 VSpgmI/9731vha5LkOO3ch7r09FK8kRhXURD6v+3xuzZbnEUyxmVf4cb6nX4QZzZP2SN ghMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bEk8gebS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l18-20020a170903005200b001b024322547si7633328pla.577.2023.08.08.13.34.21; Tue, 08 Aug 2023 13:34:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bEk8gebS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233297AbjHHTu1 (ORCPT + 99 others); Tue, 8 Aug 2023 15:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229980AbjHHTuK (ORCPT ); Tue, 8 Aug 2023 15:50:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 303AF1A838 for ; Tue, 8 Aug 2023 11:40:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C2BA262A44 for ; Tue, 8 Aug 2023 18:40:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1714BC433C7; Tue, 8 Aug 2023 18:40:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691520057; bh=izSNwFnda6h0Un6PypnWGVheuJkWo9/X0Ob6dyB+nIM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bEk8gebSl+EOpmPGjpsUFZUwrNfkbhTdSgL61ucTkGe+upaditmqfLn+sbFtG2toQ LZAHIdTm52x917COSvVBwd1pVcBcdAig+JE3YqRdBfUGc+e8cH5f3yo/ivRJq9iUJg ItthR9DoWmhZWuHv7XOEqgoXuY2cOBuInQP+NyxX28juQE6YCVVlAxRigvcbXYYbmo YjLiWFZIfTKoP9vOrnoHES4ls3zl6ub0UDzfAsUVvBTykKQXCT29apCfk8RjegvPBO yvhukPtfN+PaFiSqGjH0+tWDZKyA9ducYoPIKBh+qtHnFAyyMkYDMlXQDOfbOYHN5E f0zm1BOi1s/EA== Date: Tue, 8 Aug 2023 21:40:49 +0300 From: Leon Romanovsky To: Jijie Shao Cc: yisen.zhuang@huawei.com, salil.mehta@huawei.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, shenjian15@huawei.com, wangjie125@huawei.com, liuyonglong@huawei.com, wangpeiyang1@huawei.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2 net 1/4] net: hns3: restore user pause configure when disable autoneg Message-ID: <20230808184049.GC94631@unreal> References: <20230807113452.474224-1-shaojijie@huawei.com> <20230807113452.474224-2-shaojijie@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230807113452.474224-2-shaojijie@huawei.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 07, 2023 at 07:34:49PM +0800, Jijie Shao wrote: > From: Jian Shen > > Restore the mac pause state to user configuration when autoneg is disabled > > Signed-off-by: Jian Shen > Signed-off-by: Peiyang Wang > Signed-off-by: Jijie Shao > --- > drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 5 ++++- > drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 2 +- > drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 1 + > 3 files changed, 6 insertions(+), 2 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky