net/bnxt: fix writing MTU to FW
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 24 Oct 2019 07:44:19 +0000 (13:14 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:23:22 +0000 (19:23 +0200)
commit8d7bdc8c13fb34c1ca5c2ea08943a5c89ebe1a99
treeff51ddb274aa06be1c7a0c2d2569303f8e8c2e1d
parent32e970c1668ddfb892a5fda35ab962f27ba62d9f
net/bnxt: fix writing MTU to FW

We are currently writing the MAX supported MTU size even though
the MTU passed by the application is a different value.
Configure the application specified MTU instead.

Fixes: b7778e8a1c00 ("net/bnxt: refactor to properly allocate resources for PF/VF")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c