Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751504AbdHaNLZ (ORCPT ); Thu, 31 Aug 2017 09:11:25 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:5066 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750911AbdHaNLY (ORCPT ); Thu, 31 Aug 2017 09:11:24 -0400 From: Lipeng To: CC: , , , , , Subject: [PATCH net-next 0/8] Bug fixes & Code improvements in HNS driver Date: Thu, 31 Aug 2017 21:39:01 +0800 Message-ID: <1504186749-8926-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 X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.59A80AF9.0119,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 402b28b32034f30a96374131a470c223 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1114 Lines: 26 This patch-set introduces some bug fixes and code improvements. These have been identified during internal review or testing of the driver by internal Hisilicon teams. Lipeng (8): net: hns3: add check when initialize net: hns3: update ring and vector map command net: hns3: set default mac vlan mask net: hns3: set default vlan id to PF net: hns3: set the VLAN Ethernet type to HW net: hns3: fix bug of reuse command description net: hns3: add vlan filter config of Ports net: hns3: reimplemmentation of pkt buffer allocation drivers/net/ethernet/hisilicon/hns3/hnae3.h | 5 + .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 9 + .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 64 ++- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 613 +++++++++++++-------- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 16 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 84 ++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 9 + .../net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c | 9 + 8 files changed, 541 insertions(+), 268 deletions(-) -- 1.9.1