fm10k: fix improper RETA table config
PATCH 1/1 fm10k: fix improper RETA table config
From: "Chen Jing D(Mark)" <[email protected]>
fm10k has 128 RETA entries in 32 registers, but it only initialized first 32 when doing multiple rx queue configurations. This fix will initialize all 128 entries instead.
Signed-off-by Chen Jing D(Mark) <[email protected]>
--- drivers/net/fm10k/fm10k_ethdev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/fm10k/fm10k_ethdev.c +1 -1
@@ -329,7 +329,7 @@ fm10k_dev_mq_rx_configure(struct rte_eth_dev *dev)* little-endian order. */ reta =0 ; -for (i =0 , j =0 ; i <FM10K_RETA_SIZE ; i++, j++) { +for (i =0 , j =0 ; i <FM10K_MAX_RSS_INDICES ; i++, j++) {if (j == dev->data->nb_rx_queues) j =0 ; reta = (reta <<CHAR_BIT ) | j;
Signature · 1 line
1.7.7.6
Quoted 7 lines · Jing D
From: "Chen Jing D(Mark)" <[email protected]>
fm10k has 128 RETA entries in 32 registers, but it only initialized first 32 when doing multiple rx queue configurations. This fix will initialize all 128 entries instead.
Signed-off-by Chen Jing D(Mark) <[email protected]>
Acked-by Michael Qiu <[email protected]>
Thomas Monjalon
Applied2015-07-10 08:20, Qiu, Michael:
Quoted 10 lines · Jing D
Quoted 7 lines
From: "Chen Jing D(Mark)" <[email protected]>
fm10k has 128 RETA entries in 32 registers, but it only initialized first 32 when doing multiple rx queue configurations. This fix will initialize all 128 entries instead.
Signed-off-by Chen Jing D(Mark) <[email protected]>Acked-by Michael Qiu <[email protected]>
Applied, thanks