From patchwork Tue Nov 13 16:29:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Madalin Bucur X-Patchwork-Id: 10681103 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B497314E2 for ; Tue, 13 Nov 2018 16:30:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9664F2AD77 for ; Tue, 13 Nov 2018 16:30:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 87EC62AE0B; Tue, 13 Nov 2018 16:30:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D0DCC2AD77 for ; Tue, 13 Nov 2018 16:30:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:Reply-To: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Message-Id:Date:Subject:To:From:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=b+JQDNRn8kjPOOoy1ds0Wu/ADqRTAwcyX8H/lW+56g0=; b=ltD /hYJn97cdvAT0ut/h5520zM0LZ/ToDyPTYA9sz8pNpfvkgdrWQ0c9pbfWPckl7FOZM/JFNJJKu4my 0jSgvts9JEcGgHj4qHu0I2EKVhkrTgTcjav+8W3K8iRuw2fqCUwgVmU1pCo4tH132SGTEvfzH9XUc NmFz13dDkTjDhZuEo7pyvos+anFYQzzpvt1AMRnHDbgXMhTH1sW2qC7H4DRUfZFa7gO4B1+RID6v9 FDakRIPBRna56gcjOp3GqlWh6Y0/ro5PLXkdcEkHnagjNu+zXXfVQWBgx22GDZDKb7Ct+9NKGFLMX NQRzF+OC/QwP6uSNUmU/pwCCijK10zA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMba4-0005Dq-05; Tue, 13 Nov 2018 16:30:24 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMba2-0005Da-8U for linux-arm-kernel@bombadil.infradead.org; Tue, 13 Nov 2018 16:30:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Reply-to:Message-Id:Date:Subject:Cc:To: From:Sender:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Luqm49rYgOEr/LMykY/yY+jp7TXSGanMSoGEEHBFtUY=; b=Sr7pR14CTT15PGUXs9kp/l6OiD +vDZl1528tIcQXO71f0gtgm5xk8QpROWtNv1uRYxTiWsoDCzs4qhVfIYL3Gy8P1jjRg2RN43ea3aC hOU2oN0WDN1ij0pgo2E7BTNTj8+rI6WV9qpf36Dp1Asf3ATrayA2H+EXfnNg9xyY+1PWbdBjG7eb/ 8GZ85qwjiqJK0jNwKQUeDKB9Y3pIA7wAI7lmeY+WKMIuxMruZ09UwLZ5RAabOSX4Y09dyuJ1aEte0 w6zyJa7TQdL4Nf73v+HyJb2tOhmBiOgO5s9PP7B55RyW7ipLH4x6wxxDA7SBGavPUOsP1N8s/l1N2 4xzUSjSw==; Received: from inva021.nxp.com ([92.121.34.21]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gMbZy-0007J2-EH for linux-arm-kernel@lists.infradead.org; Tue, 13 Nov 2018 16:30:20 +0000 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 8290420023F; Tue, 13 Nov 2018 17:30:04 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 80FCD20023B; Tue, 13 Nov 2018 17:30:04 +0100 (CET) Received: from fsr-fed2164-101.ea.freescale.net (fsr-fed2164-101.ea.freescale.net [10.171.82.91]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 19AA2205E2; Tue, 13 Nov 2018 17:30:04 +0100 (CET) From: Madalin Bucur To: davem@davemloft.net, netdev@vger.kernel.org Subject: [PATCH v2 0/2] dpaa_eth: add ethtool coalesce control Date: Tue, 13 Nov 2018 18:29:49 +0200 Message-Id: <1542126591-5114-1-git-send-email-madalin.bucur@nxp.com> X-Mailer: git-send-email 2.1.0 X-Virus-Scanned: ClamAV using ClamSMTP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181113_113018_583700_365AD8A5 X-CRM114-Status: UNSURE ( 6.07 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: madalin.bucur@nxp.com Cc: Madalin Bucur , roy.pledge@nxp.com, linux-kernel@vger.kernel.org, leoyang.li@nxp.com, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add control of the DPAA portal interrupt coalescing settings from ethtool. changes from v1: added range checking for the QMan APIs Madalin Bucur (2): soc/qman: add return value to interrupt coalesce changing APIs dpaa_eth: add ethtool coalesce control drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 49 ++++++++++++++++++++++ drivers/soc/fsl/qbman/qman.c | 33 +++++++++++---- include/soc/fsl/qman.h | 8 +++- 3 files changed, 81 insertions(+), 9 deletions(-)