nfp: don't pad frames on receive
authorJakub Kicinski <jakub.kicinski@netronome.com>
Wed, 7 Sep 2016 18:45:37 +0000 (19:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Sep 2016 00:18:42 +0000 (17:18 -0700)
commitebecefc820ec791a216382a68b937577bb69d3f7
tree68c4b3f9502c84a9b3a2333f326f4040de94b7af
parent313b345cbff566340022c82267a377e1e493ef90
nfp: don't pad frames on receive

There is no need to pad frames to ETH_ZLEN on RX.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Reviewed-by: Dinan Gunawardena <dinan.gunawardena@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c