Message ID | 20200122092754.942703367@linuxfoundation.org |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=TRKd=3L=vger.kernel.org=stable-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E8DBC33CB6 for <stable@archiver.kernel.org>; Wed, 22 Jan 2020 09:49:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EC1532468E for <stable@archiver.kernel.org>; Wed, 22 Jan 2020 09:49:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579686586; bh=u5o4ITNKD88xH8XTMiyh2c5zZWnTUz39pEEvIJzm0WU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=n9YsfaY+NZ/QXybCopplV1pD62bAeopvJiuZogvWCev1duBSzcnYxu9Ics6JpRvct AJhWoGVmrVmRPygER0abgZK2QzF3W/PlIvOC8ii7Tr30zbsvFsmF5HpTLAL/pqyd50 CiN3c40vabJWr90+8668Uk8M5vFOhxGCVmSsFRR8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733218AbgAVJjb (ORCPT <rfc822;stable@archiver.kernel.org>); Wed, 22 Jan 2020 04:39:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:57538 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733215AbgAVJja (ORCPT <rfc822;stable@vger.kernel.org>); Wed, 22 Jan 2020 04:39:30 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E95CD24685; Wed, 22 Jan 2020 09:39:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579685970; bh=u5o4ITNKD88xH8XTMiyh2c5zZWnTUz39pEEvIJzm0WU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qa2wgc4puUEKBTa1kxe+NFeXYy/oJFxBD/lrI8CGphLOIDjWr/MuuJs6RiWSET32H F+dlVs8hCrLxj/wP5quPdl92s0A9E+pt2e8EOUJi5K2l4Qe+rp99TGjCUe0Q8qDvw2 6dJqNrQoHFxjQ/MJqtXAy8qaSL1IBP/bN1LfS/0E= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Jose Abreu <Jose.Abreu@synopsys.com>, "David S. Miller" <davem@davemloft.net> Subject: [PATCH 4.14 29/65] net: stmmac: 16KB buffer must be 16 byte aligned Date: Wed, 22 Jan 2020 10:29:14 +0100 Message-Id: <20200122092754.942703367@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200122092750.976732974@linuxfoundation.org> References: <20200122092750.976732974@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
--- a/drivers/net/ethernet/stmicro/stmmac/common.h +++ b/drivers/net/ethernet/stmicro/stmmac/common.h @@ -338,9 +338,8 @@ struct dma_features { unsigned int rx_fifo_size; }; -/* GMAC TX FIFO is 8K, Rx FIFO is 16K */ -#define BUF_SIZE_16KiB 16384 -/* RX Buffer size must be < 8191 and multiple of 4/8/16 bytes */ +/* RX Buffer size must be multiple of 4/8/16 bytes */ +#define BUF_SIZE_16KiB 16368 #define BUF_SIZE_8KiB 8188 #define BUF_SIZE_4KiB 4096 #define BUF_SIZE_2KiB 2048