summaryrefslogtreecommitdiff
path: root/drivers/net/nfp
diff options
context:
space:
mode:
authorAlejandro Lucero <alejandro.lucero@netronome.com>2019-03-12 10:19:27 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2019-03-20 18:15:42 +0100
commit761186fc7ba7fff191f2916734da82e134a9d0a1 (patch)
tree603354e30ad9afa16c71e241927d7d4d7957c2ea /drivers/net/nfp
parent0ef246a7e8df824d8cab041ffabf8b363904862e (diff)
downloaddpdk-next-eventdev-761186fc7ba7fff191f2916734da82e134a9d0a1.zip
dpdk-next-eventdev-761186fc7ba7fff191f2916734da82e134a9d0a1.tar.gz
dpdk-next-eventdev-761186fc7ba7fff191f2916734da82e134a9d0a1.tar.xz
net/nfp: fix RSS query
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>
Diffstat (limited to 'drivers/net/nfp')
-rw-r--r--drivers/net/nfp/nfp_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c
index 1b7b6c2..fa7722a 100644
--- 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);
}
}