Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1207122imu; Sat, 17 Nov 2018 19:21:47 -0800 (PST) X-Google-Smtp-Source: AJdET5dPvCnP9V8CH8kx2MKTQtr1qsx6cbv6b2w1Cn3hE2Imx7FGQcq9z5843RllOMeq/8mBI23f X-Received: by 2002:a63:8f45:: with SMTP id r5mr15397757pgn.222.1542511307221; Sat, 17 Nov 2018 19:21:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542511307; cv=none; d=google.com; s=arc-20160816; b=x7N5PlkdGBlEbp4cqxt5oN9D9ZffJa0WkiHTJCzAX0TDsrDgbXW2asjBGtnSP1m2sF 0IhC8NuSydZQ6AuRW3dvwSjovkW63tjji3em50M+ZqkAPVx28pa1bNpvqBJ3OuanJz8t Xr/CETdGsiQgfVWguuNitMtgMoFZY6E/hLvtqaGCU9WtNB0adH/pOl+RtBPvKHK99wiU 9FqknhzD6ul3cPW+tj4I8mY5H+V3KxLE8X52FUm/QQwWG7wjFdtLwW+Yr4sKe4lN0iHR jig7mF5ZICabQm7XMYI5MXhF/Rw2ZgVgmY8tWEssIYV/RlHX7/QpiCmAqh7LYh5VcuqK u26Q== 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; bh=Rn/x3/gL76ixypuB3UVJ6XNXkVXaK1ilsYleT97oxq0=; b=zB2FXna8O5mzHSC2qarzwI4xiuvxWQXQk43LUn1OP2A2qvttTEW/640HAVzwsoeh4K LlVPRsNFl+yTFn5uUnr8Mlg4BvKhQHUC0ZWa4pX6dta0zy3nxZ1HbEJIg8M4y4y5A5t2 VQbyjgWPU/vDzyR7AKEKa+XNv8566zYRz1qxbOM+2jaEcHVt6JIbNANwTIH3anh52axP ti1p3P/pJL7KdTUKz2byeAlaMDmTkLHzxie+/b8zvhScR0VVeMu1CnqRnbIR9e01+hTF Ds5cIba8WGKX7jt18GPRWudWui2ZM5i5lsJtprqL8M+emd4Pij2+WHT87wW/tXgJpTTV /eWQ== 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 i26-v6si35858170pfi.288.2018.11.17.19.21.25; Sat, 17 Nov 2018 19:21:47 -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 S1726626AbeKRNjX (ORCPT + 99 others); Sun, 18 Nov 2018 08:39:23 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:48609 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725831AbeKRNjX (ORCPT ); Sun, 18 Nov 2018 08:39:23 -0500 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 5F750A0962F74; Sun, 18 Nov 2018 11:20:28 +0800 (CST) Received: from S00293818-DELL1.china.huawei.com (10.47.88.178) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.408.0; Sun, 18 Nov 2018 11:20:18 +0800 From: Salil Mehta To: CC: , , , , , , Subject: [PATCH net-next 0/5] net: hns3: Add vf mtu support Date: Sun, 18 Nov 2018 03:19:09 +0000 Message-ID: <20181118031914.23892-1-salil.mehta@huawei.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.47.88.178] 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 adds vf mtu support to HNS3 driver. Yunsheng Lin (5): net: hns3: Support two vlan header when setting mtu net: hns3: Refactor mac mtu setting related functions net: hns3: Add vport alive state checking support net: hns3: Add mtu setting support for vf net: hns3: up/down netdev in hclge module when setting mtu .../net/ethernet/hisilicon/hns3/hclge_mbx.h | 3 + drivers/net/ethernet/hisilicon/hns3/hnae3.h | 6 + .../net/ethernet/hisilicon/hns3/hns3_enet.c | 39 +++-- .../net/ethernet/hisilicon/hns3/hns3_enet.h | 5 +- .../hisilicon/hns3/hns3pf/hclge_main.c | 148 ++++++++++++++---- .../hisilicon/hns3/hns3pf/hclge_main.h | 16 +- .../hisilicon/hns3/hns3pf/hclge_mbx.c | 49 ++++++ .../hisilicon/hns3/hns3vf/hclgevf_main.c | 76 ++++++++- .../hisilicon/hns3/hns3vf/hclgevf_main.h | 2 + 9 files changed, 295 insertions(+), 49 deletions(-) -- 2.17.1