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

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

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

2017-12-04 Thread Zumeng Chen
ubject: [PATCH 1/1] gianfar: fix a 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 ali

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

2017-12-04 Thread Zumeng Chen
a 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
ubject: [PATCH 1/1] gianfar: fix a 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 ali

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

2017-12-04 Thread Zumeng Chen
a 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 <claudiu.man...@nxp.com>; da...@davemloft.net >Subject: [PATCH 1/1] gianfar:

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 alignme

[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

[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