net/bnxt: fix MTU setting
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Sat, 29 Sep 2018 01:59:54 +0000 (18:59 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:48 +0000 (18:53 +0200)
commit80ad678ae715c8bee2f7a396431d3703df245f5a
tree6bb31d9a600173e2c784700140d4fb27779edabc
parent63d086a52f0120523f3a33878d3ca0072b2de879
net/bnxt: fix MTU setting

The HW can support maximum frame length of 9600 bytes.
And we are currently capping the max frame size to 9500 bytes.

Fixes: daef48efe5e5 ("net/bnxt: support set MTU")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_ethdev.c