diff mbox series

[1/2] net/dpaa: enhance the RSS hash support

Message ID 20180501125249.12409-1-shreyansh.jain@nxp.com
State New
Headers show
Series [1/2] net/dpaa: enhance the RSS hash support | expand

Commit Message

Shreyansh Jain May 1, 2018, 12:52 p.m. UTC
From: Hemant Agrawal <hemant.agrawal@nxp.com>


Enhance the RSS hash fields supported by DPAA1.
The RSS Hash key fields are configured external to DPDK, through SoC
specific scripts.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>

Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>

---
 drivers/net/dpaa/dpaa_ethdev.h | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

-- 
2.14.1

Comments

Shreyansh Jain May 1, 2018, 1:04 p.m. UTC | #1
On Tuesday 01 May 2018 06:22 PM, Shreyansh Jain wrote:
> From: Hemant Agrawal <hemant.agrawal@nxp.com>

> 

> Enhance the RSS hash fields supported by DPAA1.

> The RSS Hash key fields are configured external to DPDK, through SoC

> specific scripts.

> 

> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>

> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>

> ---


Self NACK.
Patchset was already sent out by Hemant earlier [1].
[1] http://dpdk.org/ml/archives/dev/2018-May/099844.html

-
Shreyansh
diff mbox series

Patch

diff --git a/drivers/net/dpaa/dpaa_ethdev.h b/drivers/net/dpaa/dpaa_ethdev.h
index c051ae32a..df2b38444 100644
--- a/drivers/net/dpaa/dpaa_ethdev.h
+++ b/drivers/net/dpaa/dpaa_ethdev.h
@@ -74,14 +74,10 @@ 
 #define DPAA_DEBUG_FQ_TX_ERROR   1
 
 #define DPAA_RSS_OFFLOAD_ALL ( \
-	ETH_RSS_FRAG_IPV4 | \
-	ETH_RSS_NONFRAG_IPV4_TCP | \
-	ETH_RSS_NONFRAG_IPV4_UDP | \
-	ETH_RSS_NONFRAG_IPV4_SCTP | \
-	ETH_RSS_FRAG_IPV6 | \
-	ETH_RSS_NONFRAG_IPV6_TCP | \
-	ETH_RSS_NONFRAG_IPV6_UDP | \
-	ETH_RSS_NONFRAG_IPV6_SCTP)
+	ETH_RSS_IP | \
+	ETH_RSS_UDP | \
+	ETH_RSS_TCP | \
+	ETH_RSS_SCTP)
 
 #define DPAA_TX_CKSUM_OFFLOAD_MASK (             \
 		PKT_TX_IP_CKSUM |                \