net/nfp: fix MTU settings
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Fri, 24 Nov 2017 14:23:48 +0000 (14:23 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commitd9b98888d4c596aa536b49ba16e33f4046d4ace2
tree2b5b589ef052c279c9f88f624424ea361f040741
parent5aac4f74cd5a04c416366c285660c7f56c768c04
net/nfp: fix MTU settings

The wrong mtu length was used for configuring the hardware. The
max_rx_pktlen reported was also wrong.

Fixes: defb9a5dd156 ("nfp: introduce driver initialization")
Cc: stable@dpdk.org
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfp_net.c