nfp: correct RX buffer length calculation
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 7 Apr 2016 18:39:34 +0000 (19:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Apr 2016 19:26:03 +0000 (15:26 -0400)
commitff1b68ab2daf292c0f0897f9c155a6ddc8484693
treec611fdd9b24d80e20951b2b495782fb8e9548c84
parent70f767d3afa9b2cd447b3dfc33c2751833dce931
nfp: correct RX buffer length calculation

When calculating the RX buffer length we need to account
for up to 2 VLAN tags.  Rounding up to 1k is an relic of
a distant past and can be removed.  While at it also remove
trivial print statement.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c