net/bnxt: fix endianness
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Thu, 25 Jul 2019 04:59:48 +0000 (10:29 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 25 Jul 2019 15:54:57 +0000 (17:54 +0200)
commitebbc8f27f1eb23bbe9e7572e152f2ae42b5dc4f1
tree301112e5954c0e8bad63f580df2bd9d6bee717d0
parent013c4909668a2ef368760c2994947f0244c1ac49
net/bnxt: fix endianness

Use rte_cpu_to_le_16/32 while parsing the hwrm command response.

Fixes: 11e5e19695c7 ("net/bnxt: support redirecting tunnel packets to VF")

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c