From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 30 Nov 2015 09:09:05 -0800 Subject: [U-Boot] [PATCH][v2] driver: net: ldpaa: Fix Rx buffer alignment In-Reply-To: <1446620162-21725-12-git-send-email-prabhakar@freescale.com> References: <1446620162-21725-1-git-send-email-prabhakar@freescale.com> <1446620162-21725-12-git-send-email-prabhakar@freescale.com> Message-ID: <565C82B1.1080206@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/03/2015 10:56 PM, Prabhakar Kushwaha wrote: > MC 0.7.1.2 enforces limitation i.e.: "Packets may be corrupted > in several combinations of buffer size and frame offsets. > Workaround: Use buffers that are of size that is a multiple of 256, and > frame offset that is a multiple of 256" > > Updating the DPNI Eth driver to comply with the restriction. > > Signed-off-by: Bogdan Hamciuc > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v2: Updated description > > drivers/net/ldpaa_eth/ldpaa_eth.c | 11 ++++++++--- > drivers/net/ldpaa_eth/ldpaa_eth.h | 6 +++--- > 2 files changed, 11 insertions(+), 6 deletions(-) Applied to fsl-qoriq master. Thanks. York