net/bnxt: do not set hash type unnecessarily
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 27 Oct 2017 02:30:24 +0000 (21:30 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 1 Nov 2017 21:17:05 +0000 (22:17 +0100)
commit652380382175cd64841b578d2a3d449d8105511c
tree21eb0b0923967e4237d0eb0ddc2add35955a3cc4
parent5b3c4b054c42d95d7e8e02fe37c4be4d6836bbff
net/bnxt: do not set hash type unnecessarily

We are wrongly "OR-ing" the vnic->hash_type instead of assigning
the new hash type thereby wrongly configuring hash settings.
Fixing it.

Fixes: fcc0aa1edc10 ("net/bnxt: add RSS hash configuration")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_rxq.c