This patchset determines the max egress packet size allowed on the NIC and uses it to set an upper limit for MTU. An MTU update function is added, but only works if Rx scatter is disabled. If Rx scatter is enabled, -ENOSUP is returned. Another patch with Rx scatter support will come later.
These patches should apply cleanly to dpdk-net-next rel_16_07 or on the enic Rx scatter patch http://www.dpdk.org/dev/patchwork/patch/13933/ John Daley (4): enic: enable NIC max packet size discovery enic: set the max allowed MTU for the NIC enic: add an update MTU function for non-rx scatter mode doc: add MTU update to feature matrix for enic doc/guides/nics/overview.rst | 2 +- drivers/net/enic/base/vnic_enet.h | 17 ++++++++++++++- drivers/net/enic/enic.h | 2 ++ drivers/net/enic/enic_ethdev.c | 13 ++++++++++-- drivers/net/enic/enic_main.c | 44 +++++++++++++++++++++++++++++++++++++++ drivers/net/enic/enic_res.c | 25 +++++++++++++++------- drivers/net/enic/enic_res.h | 4 +++- 7 files changed, 94 insertions(+), 13 deletions(-) -- 2.7.0