net/bnxt: fix endianness of flag
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Tue, 17 Apr 2018 01:11:15 +0000 (18:11 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 14:54:55 +0000 (15:54 +0100)
commit8e92b4f1553dc45b6093ba1cb9162b98b4cf95ce
tree55e19ff60c664609ff6a2da96c6c693a07b7b17b
parentf4253e97e7b0bc372ad6ba31fb05df5c79f97b5c
net/bnxt: fix endianness of flag

In bnxt_hwrm_vnic_alloc, use rte_cpu_to_le_32 while setting the flags.

Fixes: 2691827e82c0 ("net/bnxt: add HWRM VNIC alloc")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c