net: designware: Pad small packets
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 9 Dec 2017 22:59:55 +0000 (14:59 -0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Jan 2018 18:05:21 +0000 (12:05 -0600)
commit7a9ca9db400fc95463011449cf47012fb2e1db0d
tree19777527e3536794dd0422f3693525f274f23275
parent137963d71a2b2e0a1ac1fd755e0bec1409c2cdbd
net: designware: Pad small packets

Make sure that we pad small packets to a minimum length of 60 bytes
(without FCS). This is necessary to interface with Ethernet switches
that will reject RUNT frames unless padded correctly.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/net/designware.c