net: mvneta: Optimize rx path for small frame
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 1 Dec 2016 17:03:04 +0000 (18:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Dec 2016 18:52:00 +0000 (13:52 -0500)
commitac83b7ddf227d85542fc2e186884b003cfdb99f7
treef1cba1ba1210095e73ec5c00e48331fa2d5f211d
parentb5b5eca9aa4166779e184685dcd838f4d0775e76
net: mvneta: Optimize rx path for small frame

For small frame reuse the phys_addr variable instead of accessing the
uncacheable value in the rx descriptor.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c