[PATCH v2 02/36] net/ionic: fix up endianness for RSS
Andrew Boyer
andrew.boyer at amd.com
Tue Oct 18 21:40:57 CEST 2022
This field needs to be LE when talking to the FW.
Fixes: 22e7171bc63b ("net/ionic: support RSS")
Cc: cardigliano at ntop.org
Cc: stable at dpdk.org
Signed-off-by: Andrew Boyer <andrew.boyer at amd.com>
---
drivers/net/ionic/ionic_rxtx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ionic/ionic_rxtx.c b/drivers/net/ionic/ionic_rxtx.c
index af2d89f9fa..665d085823 100644
--- a/drivers/net/ionic/ionic_rxtx.c
+++ b/drivers/net/ionic/ionic_rxtx.c
@@ -843,7 +843,7 @@ ionic_rx_clean(struct ionic_rx_qcq *rxq,
/* RSS */
pkt_flags |= RTE_MBUF_F_RX_RSS_HASH;
- rxm->hash.rss = cq_desc->rss_hash;
+ rxm->hash.rss = rte_le_to_cpu_32(cq_desc->rss_hash);
/* Vlan Strip */
if (cq_desc->csum_flags & IONIC_RXQ_COMP_CSUM_F_VLAN) {
--
2.17.1
More information about the stable
mailing list