Received: by 10.223.185.82 with SMTP id b18csp14597wrg; Thu, 8 Mar 2018 18:08:29 -0800 (PST) X-Google-Smtp-Source: AG47ELsJyUG0jBHoimYUJZq5L9lgbbOZO8LRF4nTlFekAKo4oi0nVXFG4xOQoLqCRpE6pD0Iqitz X-Received: by 10.98.149.138 with SMTP id c10mr28521020pfk.143.1520561309335; Thu, 08 Mar 2018 18:08:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520561309; cv=none; d=google.com; s=arc-20160816; b=wtxqBRnhroaersdPRTxF+G/efLQCuDTDSW5UgSw7pNAPZrQiPDq4Y9JxOnsosUlhMV 2QOU5jQTTBwBD1Om3eZ6NafaoD/4KNQUsX/DHzm9iIsWvskkNEX59GdG0Fb/MzH8gixm CcQ5jiWcyVJpGjyi3fOQPSOfXmA8Ved8mdUCogaeIz1LfNU3M0wjuaXSaQVXgFJcybcj 1t1+lMEjRFNhJglaviJEmwe3KPJU9xi8sCctMtCn5vbGC2bM9JZkarKVNbM04Si4ST8o CS5mf9fxzgK3eCoPO+0s+2eLE2X7ewDfvv3zNWHN1BH2VdKp8Z06CjQ0qX/BzeQlQRn+ rKqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=rC0XH+0hHALUVSzt9gil4Sj2RxUKfN+AcaPsRk7mZ+E=; b=P2EepEFh6a8OEn3zFfog3kyxwfVYjzGxK/6NPHaQXgxC2ybP71rzEfh9bxQJ55T7md LhmsY12MAnZcra5YHc38op0RrcHGdl+SsZAzabc/4sWUz8GECPwjNLSP8kBeEycMoAof foiBFk+m0ZArBcyaXg2k1dsrdt91GmWiK6tkN/xY3z+tBCO6xUq0Lpak1xqpmbNrxzgz c/GnGRxTDcdwKh5yKq9XGaaSobpnkiWCzsO/SvBvRhYd/bBoNVAzhjboHLtvixu15l0u oMzLb+gvzLrciilwf3RlyZWoyU6BQt2WYJ+MGBJYVoJ3fo283+eYo518Wp7p1Td/yM/o p+pQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3-v6si15521748pll.1.2018.03.08.18.08.15; Thu, 08 Mar 2018 18:08:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751169AbeCICFF (ORCPT + 99 others); Thu, 8 Mar 2018 21:05:05 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:38053 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750898AbeCICFC (ORCPT ); Thu, 8 Mar 2018 21:05:02 -0500 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 9D537C18B3B04; Fri, 9 Mar 2018 10:04:49 +0800 (CST) Received: from linux-ioko.site (10.71.200.31) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.361.1; Fri, 9 Mar 2018 10:04:41 +0800 From: Peng Li To: CC: , , , , Subject: [PATCH net-next 0/9] fixes for configuration lost problems Date: Fri, 9 Mar 2018 10:36:55 +0800 Message-ID: <1520563024-94811-1-git-send-email-lipeng321@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.71.200.31] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset refactors some functions and some bugs in order to fix the configuration loss problem when resetting and setting channel number. Yunsheng Lin (9): net: hns3: refactor the hclge_get/set_rss function net: hns3: refactor the hclge_get/set_rss_tuple function net: hns3: fix for RSS configuration loss problem during reset net: hns3: fix for pause configuration lost during reset net: hns3: fix for use-after-free when setting ring parameter net: hns3: refactor the get/put_vector function net: hns3: fix for coalesce configuration lost during reset net: hns3: refactor the coalesce related struct net: hns3: fix for coal configuation lost when setting the channel drivers/net/ethernet/hisilicon/hns3/hnae3.h | 3 + drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 249 +++++++++++++++------ drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 10 +- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 26 ++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 2 + .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 235 +++++++++---------- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 16 ++ .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 12 +- 8 files changed, 351 insertions(+), 202 deletions(-) -- 2.9.3