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

Message ID 1525171468-30268-1-git-send-email-hemant.agrawal@nxp.com
State New
Headers show
Series
  • [1/2] net/dpaa: fix the RSS hash support
Related show

Commit Message

Hemant Agrawal May 1, 2018, 10:44 a.m.
Fixes: 4fa5e0bbc573 ("net/dpaa: support hashed RSS")
Cc: stable@dpdk.org

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

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

-- 
2.7.4

Comments

Ferruh Yigit May 1, 2018, 5:14 p.m. | #1
On 5/1/2018 11:44 AM, Hemant Agrawal wrote:
> Fixes: 4fa5e0bbc573 ("net/dpaa: support hashed RSS")

> Cc: stable@dpdk.org

> 

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


Series applied to dpdk-next-net/master, thanks.

Patch

diff --git a/drivers/net/dpaa/dpaa_ethdev.h b/drivers/net/dpaa/dpaa_ethdev.h
index c051ae3..df2b384 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 |                \