net/nfp: fix RSS query
Current code is not properly giving the RSS information
regarding the redirection table.
Fixes: 934e4c60fb
("nfp: add RSS")
Cc: stable@dpdk.org
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
This commit is contained in:
parent
0ef246a7e8
commit
761186fc7b
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user