net/bnxt: fix usage of vnic id
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Tue, 1 May 2018 01:06:15 +0000 (18:06 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:49 +0000 (22:31 +0100)
commita6f4bb2a1510a633040ea1f90ba576cf816bd2b7
tree058664f912d4756de691a20ba823540b7266d9fe
parent3f07f2da6ca91febb67816ce8818cbdec4976413
net/bnxt: fix usage of vnic id

VNIC ID returned by the FW is a 16-bit field.
We are incorrectly using it as a 32-bit value in few places.
This patch corrects that.

Fixes: daef48efe5e5 ("net/bnxt: support set MTU")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Reviewed-by: Michael Wildt <michael.wildt@broadcom.com>
Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c