Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8337846imu; Thu, 15 Nov 2018 09:58:05 -0800 (PST) X-Google-Smtp-Source: AJdET5f+DQb4+JI7fURheZMWH9BSVr+y1E0cbMMxp3eRjIUkmFhMlsQu5xn8hi+PRuqEpG/kGnH6 X-Received: by 2002:a62:7504:: with SMTP id q4mr7325152pfc.180.1542304685412; Thu, 15 Nov 2018 09:58:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542304685; cv=none; d=google.com; s=arc-20160816; b=biWLEhpGEkhVlHwBpPHmBp5orp2d0967Xp7f1eqQcLb9ZjaxVbJnP99YA44kHTdLgk ZFT1+kwssyckWL817EkSLsJj0yhbbY+feU3loz0+FndPSvzFzZXz8NTN7z5FSD/IFCNH /tqoBxU8Fa9N2Oya8vOtsS95tUcgQUZUi6GW27l9DXOFMUHlRzwdn5Ef1BDV1EvFyN+5 tSCWS2KqjtFQFCUAuBf4aaveXIRqP7GmgzZqbaE3ZBrYGdy8+5/EVI4GGNk3siY85icA 5IpGEHPjoQSwfToPWMqYQSC9oqNQbxRXaTqUME7aOMeENVE9rPdIC4jeQxHGZ0ABliQq fnqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=P/AGM9Z/hVWAZPn11AVZbn+ouTmrXXF11gZDKNIbs3Q=; b=sRybUzIIdIEuqbOmrc9QcFdvoykijwLRyQzwqZk5VTpfGk81DSaFvRZq9r62QtH36z p6HnCuiF3eCDX+oEOfr0TchQ9NM1Gqkx13IUDfqLjH9yNZCRjeQDqbFEtZOPNusJz142 4a7rA1hC34wHFwW4Eo7wotY8ZJi8yn+uEZzmQZZR6bxb22ZhZeU+1IX7JcGf0d5VDp7u gQO1XH/f6TEQYLsRE9jrYFvRahntE4DJwtbDdBS0o0JxiyySOKwfPdyZ+z+MF124Cvxl bZHnDDdf/Ri/yUUpmcmiG82eg8HG/BlfeHNYIGtuFMlvUR06Vz+Y0z04q97aIi2MKA22 6n8g== 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 k18si5601199pfd.241.2018.11.15.09.57.50; Thu, 15 Nov 2018 09:58:05 -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 S2388744AbeKPEFN (ORCPT + 99 others); Thu, 15 Nov 2018 23:05:13 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:43182 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726453AbeKPEFN (ORCPT ); Thu, 15 Nov 2018 23:05:13 -0500 Received: from localhost (unknown [64.114.255.114]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 7E8C714779F59; Thu, 15 Nov 2018 09:56:24 -0800 (PST) Date: Thu, 15 Nov 2018 09:56:22 -0800 (PST) Message-Id: <20181115.095622.889070618474069350.davem@davemloft.net> To: xuechaojing@huawei.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, wulike1@huawei.com, chiqijun@huawei.com, fy.wang@huawei.com, tony.qu@huawei.com, luoshaokai@huawei.com Subject: Re: [PATCH 1/1] net-next/hinic:fix three problems in HiNIC Driver From: David Miller In-Reply-To: <20181115052327.2859-1-xuechaojing@huawei.com> References: <20181115052327.2859-1-xuechaojing@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 15 Nov 2018 09:56:24 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Xue Chaojing Date: Thu, 15 Nov 2018 05:23:27 +0000 > This patch fixes these problems: > 1. In order to improve performance, this patch add rx checksum offload > for the HiNIC driver. Performance test(Iperf) shows more than 95% > improvement in TCP streams. > 2. In add_mac_addr(), if the MAC address is a muliticast address, it > will not be set, which causes the network card fail to receive the > multicast packet. This patch fixes this bug. > 3. In rx_alloc_pkts(), there is a loop call of tasklet, which causes > 100% cpu utilization, even no packets are being received. This patch > fixes this bug. > > Signed-off-by: Xue Chaojing Each patch should do one thing. Please don't combine multiple changes into one patch like this. Post a proper patches series, one change per patch, with a proper "[PATCH 0/N] " header posting preceeding the series. Thanks.