net: mvneta: Optimize rx path for small frame
authorGregory CLEMENT <[email protected]>
Thu, 1 Dec 2016 17:03:04 +0000 (18:03 +0100)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Tested-by: Marcin Wojtas <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/marvell/mvneta.c