Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2078614ybc; Wed, 13 Nov 2019 08:40:32 -0800 (PST) X-Google-Smtp-Source: APXvYqwRtf/uypDxQjl9sYBxtvwgqUjb1yU+FJOcC8NOhqU9z1eubQOjRx33p1K9Ozt64oo7zDvy X-Received: by 2002:a17:906:c293:: with SMTP id r19mr3696642ejz.69.1573663232013; Wed, 13 Nov 2019 08:40:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573663232; cv=none; d=google.com; s=arc-20160816; b=O+R+h8Blw7ySMo3A/YYKWZbWWF8mLwdFEhxzxgI5XzDgbC2qd2BDbmBTfthEhwwR6n K9/62HcVlkSBn0kgkE4KT1egRYO+DUnqONDZXutL+ms2E+crDl1VTj+XV0kqBdQk5Ote KJoG7csHs9oAvDrRW0T58XSUje5GcG8x18LjiSy8bgvtQjFzHtztBTyfsPFcYKmDjS5k 5GFBqfOIgkU5edWIzvO0+A9+P9PmG6VyF9OgoGk5VsDAQ7Tknc+iv/BuQ9M63DJzTzMm mT5VhMWo6W+Z1xf9P5capxjWxGpMFRDtMhV9DzTYZpjNGzVs/17/F6758elNritoj2hk Ydmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=rfMyeflgNYplYwjxP/z0h1Dy9MyZ0bunjlEXG9Lzv8M=; b=hWd3H5lNXct9IbRZxX53c7ILR5CUL1mU91GYtxgoTYtxm4pqDKUGw59AXwc6/mIZmK 63v6SurIvWoTJwDzIt3NcmWAwKIeZI4VMrMnSqubgOL9mTqIaas8Kico0w/M5xeoxMN8 7n4FxY5fOWqaE9XkvIVeWcNDaiWtZ3yJUECHWfB9pVS/Koy3RwlG6yu0PkB20U69EThR OrwG8vrvnF2zk7N3nGSm2ThChTaFy+ZsVPJwB3ritF+PZGniji9rZAAezhPDOwlf5og9 +1vC5Vt2K7fF9gNS4DXXdLMOmOw8WYa6nUotHmGOItMa52S5DpUomQhI269KuAAwcYrz MBiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b="U04QP/b8"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o48si1837961edc.151.2019.11.13.08.40.07; Wed, 13 Nov 2019 08:40:31 -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; dkim=pass header.i=@synopsys.com header.s=mail header.b="U04QP/b8"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728116AbfKMPM5 (ORCPT + 99 others); Wed, 13 Nov 2019 10:12:57 -0500 Received: from dc8-smtprelay2.synopsys.com ([198.182.47.102]:51262 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727859AbfKMPMW (ORCPT ); Wed, 13 Nov 2019 10:12:22 -0500 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 14940C0E8E; Wed, 13 Nov 2019 15:12:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1573657941; bh=OLfO2cSvqUwRYq7olBQ/mmQCkf/PJmu4vZLyw90R8iM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=U04QP/b8q4807WPbPB6XcuBN4j0386WFyi/TWHif0MlN1B+UTPAFcaeyP+J627dzB RTkhQwrSsbWoZY2T9uc41x3ABMzOGDw8ZByJOAw09kPMDPJIQ7+K1H+bPVl7GVMylO 11enBj8MouEA+7MGR4uiLB3fJ7NHvBTa/rX/5KP3S+/dQqhc9l7ADz56C199vHTLmi JobUsa6aML3jTRGJPgm6fVmzgCzKrwGwg7iDdQf7jPsL8PrpeQfnVE3RROMfHZW0cd aPkn9L57xhIwF0obytxe4wOHnQ7Z9jVhZbmnSRv94SBLYIS/gIxqUqHKIsIGssJ6I/ DLIBYLttMyZfw== Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by mailhost.synopsys.com (Postfix) with ESMTP id 87BFBA0087; Wed, 13 Nov 2019 15:12:19 +0000 (UTC) From: Jose Abreu To: netdev@vger.kernel.org Cc: Joao Pinto , Jose Abreu , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S. Miller" , Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 3/7] net: stmmac: gmac4+: Enable the TBU Interrupt Date: Wed, 13 Nov 2019 16:12:04 +0100 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enables Transmit Buffer Unavailable interrupt so that any coalesced packet is not missed on transmission. Signed-off-by: Jose Abreu --- 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 --- drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h index 589931795847..1be1df5f65de 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h @@ -161,6 +161,7 @@ #define DMA_CHAN_INTR_NORMAL (DMA_CHAN_INTR_ENA_NIE | \ DMA_CHAN_INTR_ENA_RIE | \ + DMA_CHAN_INTR_ENA_TBUE | \ DMA_CHAN_INTR_ENA_TIE) #define DMA_CHAN_INTR_ABNORMAL (DMA_CHAN_INTR_ENA_AIE | \ @@ -171,6 +172,7 @@ #define DMA_CHAN_INTR_NORMAL_4_10 (DMA_CHAN_INTR_ENA_NIE_4_10 | \ DMA_CHAN_INTR_ENA_RIE | \ + DMA_CHAN_INTR_ENA_TBUE | \ DMA_CHAN_INTR_ENA_TIE) #define DMA_CHAN_INTR_ABNORMAL_4_10 (DMA_CHAN_INTR_ENA_AIE_4_10 | \ -- 2.7.4