git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b3c4b0
)
net/bnxt: do not set hash type unnecessarily
author
Ajit Khaparde
<ajit.khaparde@broadcom.com>
Fri, 27 Oct 2017 02:30:24 +0000
(21:30 -0500)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Wed, 1 Nov 2017 21:17:05 +0000
(22:17 +0100)
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
patch
|
blob
|
history
diff --git
a/drivers/net/bnxt/bnxt_rxq.c
b/drivers/net/bnxt/bnxt_rxq.c
index
67d9bfe
..
c4da474
100644
(file)
--- a/
drivers/net/bnxt/bnxt_rxq.c
+++ b/
drivers/net/bnxt/bnxt_rxq.c
@@
-206,7
+206,7
@@
out:
for (i = 0; i < bp->nr_vnics; i++) {
STAILQ_FOREACH(vnic, &bp->ff_pool[i], next) {
- vnic->hash_type
|
= hash_type;
+ vnic->hash_type = hash_type;
/*
* Use the supplied key if the key length is