Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2221765ybi; Thu, 4 Jul 2019 07:07:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYEaGGf4LpUir5mO8SmDH07vdUkagclPyy52Ey5tWZ2YueyB4YrVqQyL6mEauv0WBiMdkl X-Received: by 2002:a17:90a:1904:: with SMTP id 4mr20508343pjg.116.1562249222459; Thu, 04 Jul 2019 07:07:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562249222; cv=none; d=google.com; s=arc-20160816; b=quAvS7exZGDJDabMg0Xr51peAiY6o02X+WqgLv/rCGuk3JK1S1UhPnxwwzgBo+8RIa CHviLmiSaVbzPxGUJXRTirF5lecM8MfFsu6MPyFeSWNFgZk5PRobrqNV1SYB16N7rrCI zCgxQ272nVXEWIu20vZIMppqfivknVTqOEkTs5E5XhdWVdXHuYSN3BJnunb4nTe8vnt+ HxnNB+Ej/gd0CSgnIS1MIigPcl6h5SotCVleBeKdrCZpcFDuJPEZACf1Dyn1zR6ggMSq LUn1B5IKXIL/aijJGo0mzzslULeMQv7Pnj6ogNZiR89otHzmDeWufevkiSLmNN37hs4o kVWw== 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=iA87XSQkyZWtk+zw2G2GQmdDY5r07lxuGV9BS91u5Xk=; b=UzBOZC2GaEHa7j5hUjm2XKDgx2tgseSSJCrY+n7xZEc6LSyGcWzB2Sr6k2+dBn9vZ0 XWJ6Hf9npG6VgygJ/z1D5iC065lT8+0tRzoYczqmuzK634yvq3vQmo8VCY5JwerYS/Rq KQZSw8lTtkqxul0Pctj+fQ9uOqC4XyCZ/rYAfk/uqHy1nH1/SFLba+gvQP9Q95LbR+J9 WF2nvAPRZ7DGVnbZxMKJwWVy94UIB9AD6nWaeVzHJFesU/7+1VH/vweaTHV+L694/kBK QlwXPl1xeaV4zgZ9v3KP7rp3kin+XjTT6k97Iw/namzP5WchQNee1rYuUc9fxgyeGlk8 dkuw== 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 g17si5216722plo.406.2019.07.04.07.06.46; Thu, 04 Jul 2019 07:07:02 -0700 (PDT) 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 S1727350AbfGDOGZ (ORCPT + 99 others); Thu, 4 Jul 2019 10:06:25 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:47476 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726794AbfGDOGZ (ORCPT ); Thu, 4 Jul 2019 10:06:25 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id D3FF16D6AA4EF09BC1FA; Thu, 4 Jul 2019 22:06:21 +0800 (CST) Received: from localhost.localdomain (10.67.212.132) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.439.0; Thu, 4 Jul 2019 22:06:15 +0800 From: Huazhong Tan To: CC: , , , , , Huazhong Tan Subject: [PATCH net-next 0/9] net: hns3: some cleanups & bugfixes Date: Thu, 4 Jul 2019 22:04:19 +0800 Message-ID: <1562249068-40176-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.212.132] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch-set includes cleanups and bugfixes for the HNS3 ethernet controller driver. [patch 1/9] fixes VF's broadcast promisc mode not enabled after initializing. [patch 2/9] adds hints for fibre port not support flow control. [patch 3/9] fixes a port capbility updating issue. [patch 4/9 - 9/9] adds some cleanups for HNS3 driver. Jian Shen (3): net: hns3: enable broadcast promisc mode when initializing VF net: hns3: fix flow control configure issue for fibre port net: hns3: fix port capbility updating issue Peng Li (4): net: hns3: add all IMP return code net: hns3: set default value for param "type" in hclgevf_bind_ring_to_vector net: hns3: add default value for tc_size and tc_offset net: hns3: set maximum length to resp_data_len for exceptional case Weihang Li (1): net: hns3: check msg_data before memcpy in hclgevf_send_mbx_msg Yonglong Liu (1): net: hns3: bitwise operator should use unsigned type drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 9 +-- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 2 +- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 43 ++++++++++--- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h | 8 +++ .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 74 ++++++++++++---------- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c | 4 ++ .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c | 38 +++++++++-- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h | 14 +++- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 19 ++++-- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c | 3 +- 10 files changed, 149 insertions(+), 65 deletions(-) -- 2.7.4