]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit522f742ab3e6739a72775ca6b3c80a73fd64f120
treea621227fa275b383ece0c9f2f8f167ac8dd0bc82
parent0a2fd94a01d3a25cdf1f8969bd205f68b1065a29
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