From patchwork Mon Aug 12 09:43:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jose Abreu X-Patchwork-Id: 11089539 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 C9E52746 for ; Mon, 12 Aug 2019 09:47:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B79A1200E5 for ; Mon, 12 Aug 2019 09:47:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ABF9627F2B; Mon, 12 Aug 2019 09:47:27 +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 50F36200E5 for ; Mon, 12 Aug 2019 09:47:27 +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=usvI22iTjD8T7rn4/qv56mb+0KT5p+Y/CRla0iepI3Y=; b=gC3 nLgsGjGSGJq9wRUq32LT5SjX4e/7oqOhGLLnvq2QdIcDvoWwJHq8n2ng+2RzpHpuvV3dntKiu1jT4 fbov/vs+5Fr1uzjJOe7tlaCcbWMfhTpyHid/n1+N7QCYsWUyTdukco8rW0ARsPXZTg8wUPNgFbrxb ClMn0jIF1tubTj7McG7M6k6lWSCz1bi0KoxprgJVDXYQyrTAqPSuPyCKddKGVxNZBgdr4zqlLV6AK Uo1+F9rx2vQxhu+mmFJp9mZBJSv+Mk1sqdZH9fdQ7hk+cn7KbPLHHfvagtXd6rimtKRBpnB0X/OEy ZpuvY6pqkKesPrRB3f3rQhdeBfcmMkg==; 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 1hx6vG-0005G5-RF; Mon, 12 Aug 2019 09:47:26 +0000 Received: from smtprelay-out1.synopsys.com ([198.182.47.102]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hx6sQ-0001TJ-2V for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 09:44:33 +0000 Received: from mailhost.synopsys.com (mdc-mailhost1.synopsys.com [10.225.0.209]) (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 7FC1DC21DB; Mon, 12 Aug 2019 09:44:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1565603069; bh=NmX8XhNa7Yyj0AxzvLSwb00xjlHeMa4pt6SjJT15Duc=; h=From:To:Cc:Subject:Date:From; b=lbK+nvM84AiTIyQALrUBPzY3qhpsKJeh7YtMIojwkkFDT10ox6TGJHtrqZHBnlqR+ r38hAbmG+8J82BfSoiqg0mFZtAYhoJ3l1wdMvaZpL2AOmKNB85rGrSd9yd2REBeF0h p+gIiXLodAFmiwbjge1+XD4i/dKA6M9Bo+s3qTW1XDk1J8B2C9hzW/pjrakMqxNUCb 2rT9Ba+/5X87/g242ocQ9vNNF11/ZAoSFBsKbe+KzV+VzJtHmmHawB3VcnEXFAQiuJ BeS4CVaoX+hk+GNRdJE7YuimD8HIV3EqpD4qWTDcK199FTtwicCDpLinI57PdNt32E S9IeUC7gq473g== Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by mailhost.synopsys.com (Postfix) with ESMTP id 2E897A0057; Mon, 12 Aug 2019 09:44:21 +0000 (UTC) From: Jose Abreu To: netdev@vger.kernel.org Subject: [PATCH net-next v2 00/12] net: stmmac: Improvements for -next Date: Mon, 12 Aug 2019 11:43:59 +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-20190812_024430_165921_AF087608 X-CRM114-Status: UNSURE ( 8.85 ) 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 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 | 88 ++++++- 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 | 25 +- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 287 ++++++++++++++++----- .../net/ethernet/stmicro/stmmac/stmmac_selftests.c | 194 +++++++++++++- 10 files changed, 822 insertions(+), 91 deletions(-)