]> 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)
commitca8fbdc6d27be7bd5a2b4553758ea7b72bec8f60
treea621227fa275b383ece0c9f2f8f167ac8dd0bc82
parentfaab5d420be2970f5eb845d219397d305a936ec2
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