net/nfp: fix jumbo settings
authorAlejandro Lucero <alejandro.lucero@netronome.com>
Fri, 24 Nov 2017 14:24:37 +0000 (14:24 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commitc70ccbc79d8a0b7327f98f6072da75a530c4102a
tree02d08f8bfac58a2480af2e87d48d830d21a94428
parentd9b98888d4c596aa536b49ba16e33f4046d4ace2
net/nfp: fix jumbo settings

When jumbo frames is configured, the hardware mtu needs to be updated to
the specified max_rx_pkt_len. Also, changing mtu should be avoided once
the PMD port started.

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