Messages in this thread | | | From | Claudiu Manoil <> | Subject | RE: [PATCH] drivers: net: gianfar: Shortest frame drops at Ethernet port | Date | Wed, 6 Nov 2019 17:38:06 +0000 |
| |
>-----Original Message----- >From: Daniel Walker <danielwa@cisco.com> >Sent: Wednesday, November 6, 2019 7:03 PM >To: Claudiu Manoil <claudiu.manoil@nxp.com> >Cc: Sathish Jarugumalli <sjarugum@cisco.com>; xe-linux-external@cisco.com; >Daniel Walker <dwalker@fifo99.com>; David S. Miller ><davem@davemloft.net>; netdev@vger.kernel.org; linux- >kernel@vger.kernel.org >Subject: [PATCH] drivers: net: gianfar: Shortest frame drops at Ethernet port > >NXP has provided the patch for packet drops at ethernet port >Frames shorter than 60bytes are getting dropped at ethernetport >need to add padding for the shorter range frames to be transmit >the function "eth_skb_pad(skb" provides padding (and CRC) for >packets under 60 bytes > >Signed-off-by: Sathish Jarugumalli <sjarugum@cisco.com> >Cc: xe-linux-external@cisco.com >Signed-off-by: Daniel Walker <dwalker@fifo99.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Normally padding is done by the hardware, and it works at least on my test cases and boards. But cisco seems to have hit a case where h/w padding gets unexpectedly disabled (concurrency issue writing the config register?). This patch should go as a workaround, until root cause found.
-Claudiu
| |