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:
0ef246a
)
net/nfp: fix RSS query
author
Alejandro Lucero
<alejandro.lucero@netronome.com>
Tue, 12 Mar 2019 10:19:27 +0000
(10:19 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000
(18:15 +0100)
Current code is not properly giving the RSS information
regarding the redirection table.
Fixes:
934e4c60fbff
("nfp: add RSS")
Cc: stable@dpdk.org
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
drivers/net/nfp/nfp_net.c
patch
|
blob
|
history
diff --git
a/drivers/net/nfp/nfp_net.c
b/drivers/net/nfp/nfp_net.c
index
1b7b6c2
..
fa7722a
100644
(file)
--- a/
drivers/net/nfp/nfp_net.c
+++ b/
drivers/net/nfp/nfp_net.c
@@
-2465,7
+2465,7
@@
nfp_net_reta_query(struct rte_eth_dev *dev,
for (j = 0; j < 4; j++) {
if (!(mask & (0x1 << j)))
continue;
- reta_conf
->
reta[shift + j] =
+ reta_conf
[idx].
reta[shift + j] =
(uint8_t)((reta >> (8 * j)) & 0xF);
}
}