Re: [PATCH 1/1] gianfar: fix a flooded alignment reports because of padding issue.

2017-12-05 Thread David Miller
From: Zumeng Chen Date: Mon, 4 Dec 2017 11:22:02 +0800 > According to LS1021A RM, the value of PAL can be set so that the start of the > IP header in the receive data buffer is aligned to a 32-bit boundary. > Normally, > setting PAL = 2 provides minimal padding to ensure such alignment of the IP

Re: [PATCH 1/1] gianfar: fix a flooded alignment reports because of padding issue.

2017-12-04 Thread Zumeng Chen
flooded alignment reports because of padding issue. According to LS1021A RM, the value of PAL can be set so that the start of the IP header in the receive data buffer is aligned to a 32-bit boundary. Normally, setting PAL = 2 provides minimal padding to ensure such alignment of the IP header

Re: [PATCH 1/1] gianfar: fix a flooded alignment reports because of padding issue.

2017-12-04 Thread Zumeng Chen
flooded alignment reports because of padding issue. According to LS1021A RM, the value of PAL can be set so that the start of the IP header in the receive data buffer is aligned to a 32-bit boundary. Normally, setting PAL = 2 provides minimal padding to ensure such alignment of the IP header

RE: [PATCH 1/1] gianfar: fix a flooded alignment reports because of padding issue.

2017-12-04 Thread Claudiu Manoil
>-Original Message- >From: Zumeng Chen [mailto:zumeng.c...@gmail.com] >Sent: Monday, December 04, 2017 5:22 AM >To: net...@vger.kernel.org; linux-kernel@vger.kernel.org >Cc: Claudiu Manoil ; da...@davemloft.net >Subject: [PATCH 1/1] gianfar: fix a flooded alignment

[PATCH 1/1] gianfar: fix a flooded alignment reports because of padding issue.

2017-12-03 Thread Zumeng Chen
According to LS1021A RM, the value of PAL can be set so that the start of the IP header in the receive data buffer is aligned to a 32-bit boundary. Normally, setting PAL = 2 provides minimal padding to ensure such alignment of the IP header. However every incoming packet's 8-byte time stamp will b