ibmvnic: Pad small packets to minimum MTU size
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Mon, 12 Mar 2018 16:51:04 +0000 (11:51 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2018 14:09:27 +0000 (10:09 -0400)
commit1f247a6f9e5d1b5a1e57d66829ee52dbafac256f
treea621227fa275b383ece0c9f2f8f167ac8dd0bc82
parent8dff66cc4195bfaeb8764e7e1b62f2d13f311773
ibmvnic: Pad small packets to minimum MTU size

Some backing devices cannot handle small packets well,
so pad any small packets to avoid that. It was recommended
that the VNIC driver should not send packets smaller than the
minimum MTU value provided by firmware, so pad small packets
to be at least that long.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c