From patchwork Wed Sep 20 10:52:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yunsheng Lin X-Patchwork-Id: 816145 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3xxxVJ0ZQJz9s7c for ; Wed, 20 Sep 2017 20:55:36 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751943AbdITKx0 (ORCPT ); Wed, 20 Sep 2017 06:53:26 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:6527 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860AbdITKxX (ORCPT ); Wed, 20 Sep 2017 06:53:23 -0400 Received: from 172.30.72.60 (EHLO DGGEMS407-HUB.china.huawei.com) ([172.30.72.60]) by dggrg05-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DHR76349; Wed, 20 Sep 2017 18:53:20 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.301.0; Wed, 20 Sep 2017 18:53:12 +0800 From: Yunsheng Lin To: CC: , , , , , , , , , , , Subject: [PATCH net 0/9] TM related bugfixes for the HNS3 Ethernet Driver Date: Wed, 20 Sep 2017 18:52:49 +0800 Message-ID: <1505904778-53217-1-git-send-email-linyunsheng@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A010204.59C248A0.0027, 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: d71fe957aa1d6a6a34e37cac9ac791d3 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch set contains a few bugfixes related to hclge_tm module. Yunsheng Lin (9): net: hns3: Cleanup for ROCE capability flag in ae_dev net: hns3: Fix initialization when cmd is not supported net: hns3: Fix for DEFAULT_DV when dev doesn't support DCB net: hns3: Fix for not setting rx private buffer size to zero net: hns3: Fix for rx_priv_buf_alloc not setting rx shared buffer net: hns3: Fix for rx priv buf allocation when DCB is not supported net: hns3: Fix typo error for feild in hclge_tm net: hns3: Fix for setting rss_size incorrectly net: hns3: Fix for pri to tc mapping in TM drivers/net/ethernet/hisilicon/hns3/hnae3.h | 15 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 4 +- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 163 +++++++++++---------- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 3 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 41 +++--- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 4 +- .../net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c | 16 +- 7 files changed, 143 insertions(+), 103 deletions(-)