From patchwork Wed Aug 7 08:03:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jose Abreu X-Patchwork-Id: 11081473 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 370C21395 for ; Wed, 7 Aug 2019 08:04:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2790728849 for ; Wed, 7 Aug 2019 08:04:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B9782885F; Wed, 7 Aug 2019 08:04:33 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 B6B3728849 for ; Wed, 7 Aug 2019 08:04:32 +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:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=JqUe6TPTbcH5la6rbzP3j6tKo8E6pqDHLUMxwO6kcSY=; b=UWj plYkNfcyKxq4qb31n5MNQWpz/Rk2IEstoD1FRyA9vPQqTn29TF+HtEyA/pZsVanoGs/sE0oFznIJT DdyoUGm655qEkxa4a6pGhcKzg384I/NfmAiGlQXnp7XYZz6YMrcj2sKkTp7gCHdc+u5S1hsYFpmxF WnxqQraNzfSRVtCtmWGcXtJbTf36nygQZQ45z3V6FSfiOst48Xwl4QQJELsaU12LQOa5xCW99Jc6e koA+keQ1FoiGqjT+ctmiyyYZKGIEvmG2OKblrzRHwPRH/ejM5Ov+7HH2VAWfIILtJXDc/GpsPfZkD yMpHWjMzY1HXWANv/uM6cewZevWiLvA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hvGvw-0004Hc-58; Wed, 07 Aug 2019 08:04:32 +0000 Received: from dc2-smtprelay2.synopsys.com ([198.182.61.142] helo=smtprelay-out1.synopsys.com) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hvGuv-0003PF-Ku for linux-arm-kernel@lists.infradead.org; Wed, 07 Aug 2019 08:03:33 +0000 Received: from mailhost.synopsys.com (mdc-mailhost2.synopsys.com [10.225.0.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 9135FC0BBE; Wed, 7 Aug 2019 08:03:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1565165008; bh=bHZeuqh+A4HXIxvR7wW8nFizE/h0mhPF5BRmuOVjENw=; h=From:To:Cc:Subject:Date:From; b=jRTcCVg+hjilIDAzB0b/6j2tuuirHwQ26dmyfMl8cky41nMHGV4s/V6egPWmw/kG8 YLleJaVQjG+OG/A1fRPUcdLEw/3wu6dSFUk9nFOTi/vkxm+yUugykBept9oTcSRbZq YXhUPAXdjc52+T1quqZKngZvWyfefdXmZQwiN49UxxalxH6LyCjVg3UCTIyU0r63Ar Y5pZOstknQDF6g4y+dKc09GZK2alU0Xa68p5VJxbaxzbi95Uj2BgkVsKXiEMHqCis6 f9fPLrQvCZvhk4SJrrLKlKBpSEHHvRcpUD9rK5bza2pg5e6gaLeDHva93NgQyVM3Vf JhqajgFIpezcg== Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by mailhost.synopsys.com (Postfix) with ESMTP id 883C7A0057; Wed, 7 Aug 2019 08:03:25 +0000 (UTC) From: Jose Abreu To: netdev@vger.kernel.org Subject: [PATCH net-next v3 00/10] net: stmmac: Improvements for -next Date: Wed, 7 Aug 2019 10:03:08 +0200 Message-Id: X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190807_010329_738648_1ED72E1D X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jose Abreu , Joao Pinto , Alexandre Torgue , linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Maxime Coquelin , Giuseppe Cavallaro , "David S. Miller" , 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 [ This is just a rebase of v2 into latest -next in order to avoid a merge conflict ] Couple of improvements for -next tree. More info in commit logs. --- Cc: Giuseppe Cavallaro Cc: Alexandre Torgue Cc: Jose Abreu Cc: "David S. Miller" Cc: Maxime Coquelin Cc: netdev@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- Jose Abreu (10): net: stmmac: xgmac: Implement MMC counters net: stmmac: xgmac: Implement set_mtl_tx_queue_weight() net: stmmac: xgmac: Implement tx_queue_prio() net: stmmac: Implement RSS and enable it in XGMAC core net: stmmac: selftests: Add RSS test net: stmmac: Implement VLAN Hash Filtering in XGMAC net: stmmac: selftests: Add test for VLAN and Double VLAN Filtering net: stmmac: Implement Safety Features in XGMAC core net: stmmac: Add Flexible RX Parser support in XGMAC net: stmmac: selftests: Add a selftest for Flexible RX Parser drivers/net/ethernet/stmicro/stmmac/common.h | 6 + drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h | 76 ++- .../net/ethernet/stmicro/stmmac/dwxgmac2_core.c | 605 ++++++++++++++++++++- .../net/ethernet/stmicro/stmmac/dwxgmac2_descs.c | 29 + drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c | 10 + drivers/net/ethernet/stmicro/stmmac/hwif.c | 4 +- drivers/net/ethernet/stmicro/stmmac/hwif.h | 17 + drivers/net/ethernet/stmicro/stmmac/mmc.h | 9 + drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 192 +++++++ drivers/net/ethernet/stmicro/stmmac/stmmac.h | 11 + .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 81 +++ drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 120 +++- .../net/ethernet/stmicro/stmmac/stmmac_selftests.c | 322 ++++++++++- include/linux/stmmac.h | 1 + 14 files changed, 1474 insertions(+), 9 deletions(-)