From patchwork Sat Aug 17 18:54:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jose Abreu X-Patchwork-Id: 11099295 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 C2CAE14DB for ; Sat, 17 Aug 2019 18:58:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B147E26E55 for ; Sat, 17 Aug 2019 18:58:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A562D28421; Sat, 17 Aug 2019 18:58:11 +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 4730B26E55 for ; Sat, 17 Aug 2019 18:58:11 +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=ktgdqQ6MJlOW7BR/R8Hm5osnLjpAjN8W8JbwPQ70+1o=; b=bXX vC6x1jAw2h8eVAy1g/lxX4H4OGykRpzYIBbORLgYNoXLH2LrQlVyfNBdKLWPtNZyLki5cayxd1RI6 O5FsVNhZHvwbH9p+V3q9wE2azHgFkQ3SYvnJLcvwY50nY7CVkVXpVnUQJlU7XcEaKsENiYwkY5PSm tZsugQ2PEN7ZEIsXSa67Kt4AZ8tGymfIi8lWjlfK/b3x8CoECdbH1vsRtb3NdjN0SgVALwFGRHdY2 VruIz9KvwZDd5kBa3A15b+G0g2B9UpiMUT/jBjEbvJwc4pFj7E6PnGj4pXKNG4f4AGWjvhtDAnp1v 7yyAmmaUgb5DrVshDD0cMlw+z49dAYw==; 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 1hz3ty-00038I-J0; Sat, 17 Aug 2019 18:58:10 +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 1hz3qu-0007cM-Ku for linux-arm-kernel@lists.infradead.org; Sat, 17 Aug 2019 18:55:09 +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 B5101C0051; Sat, 17 Aug 2019 18:54:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1566068100; bh=R7aF5EjeHRaz3V0jYhX81XQ4Vx/vUvia+WkrllGMdp8=; h=From:To:Cc:Subject:Date:From; b=klHGs7Wt4qpN//vshsoyUFv7c/QKb7AgVf1s6U8uNN+Lii5AyjIsgob+26b5x3FtC WqL969hl0Bgb694G7TZQRHfkG4EH9C5tSVLfCncajH2KwUWZjbgSTmuLrKI/IeGXTx MrS/DcUZWFe4QlakUt/vrfrdIh6JclcuaChfJs9Jc+hCIRVX9m5s9iJ0rQd+DvZFCc Zn3tyRG4Vt0zA0/3kK0E/x4R3tarPoxpkwtQzW2Yw2ayFH0/mvR7tjb5P87vN3fAo4 jzZAlNjZkuctooeqV1aFaIMRxMo7V41PBXqgJBNqphUbI/MQseI6oDyxhEDb0r4LAV C3xuQ+WlPUfGQ== Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by mailhost.synopsys.com (Postfix) with ESMTP id 60C4CA0057; Sat, 17 Aug 2019 18:54:53 +0000 (UTC) From: Jose Abreu To: netdev@vger.kernel.org Subject: [PATCH net-next v3 00/12] net: stmmac: Improvements for -next Date: Sat, 17 Aug 2019 20:54:39 +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-20190817_115500_683694_A9A41755 X-CRM114-Status: UNSURE ( 8.58 ) 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 , Jakub Kicinski , 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 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 (12): net: stmmac: Get correct timestamp values from XGMAC net: stmmac: Prepare to add Split Header support net: stmmac: xgmac: Correctly return that RX descriptor is not last one net: stmmac: Add Split Header support and enable it in XGMAC cores net: stmmac: Add a counter for Split Header packets net: stmmac: dwxgmac: Add Flexible PPS support net: stmmac: Add ethtool register dump for XGMAC cores net: stmmac: Add support for SA Insertion/Replacement in XGMAC cores net: stmmac: selftests: Add tests for SA Insertion/Replacement net: stmmac: xgmac: Add EEE support net: stmmac: Add support for VLAN Insertion Offload net: stmmac: selftests: Add selftest for VLAN TX Offload drivers/net/ethernet/stmicro/stmmac/common.h | 10 + drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h | 56 ++++ .../net/ethernet/stmicro/stmmac/dwxgmac2_core.c | 182 ++++++++++++- .../net/ethernet/stmicro/stmmac/dwxgmac2_descs.c | 85 +++++- drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c | 31 ++- drivers/net/ethernet/stmicro/stmmac/hwif.h | 30 +++ drivers/net/ethernet/stmicro/stmmac/stmmac.h | 10 + .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 24 +- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 286 ++++++++++++++++----- .../net/ethernet/stmicro/stmmac/stmmac_selftests.c | 194 +++++++++++++- 10 files changed, 817 insertions(+), 91 deletions(-)