From patchwork Thu Oct 17 12:43:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nipun Gupta X-Patchwork-Id: 176593 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp885916ill; Thu, 17 Oct 2019 05:59:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwP1cjs7Jzp/uVg4BiQocrWDxagDI3CuT4q7JxKUl1G0DZA/JyXGVbQPOaG4dVCwYXh4wLr X-Received: by 2002:a17:906:11d8:: with SMTP id o24mr3359216eja.224.1571317196290; Thu, 17 Oct 2019 05:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571317196; cv=none; d=google.com; s=arc-20160816; b=kwb37Tun9rOcQRGGWU+2Yw9rhbmpT+U589BWS7Kyl7RYx3Ofza1LB01bZxH0j+kYsJ HTFUErHaa+m4qBwAw30FB1xxAXcjFUZBHTC1aIsrtBvnQcs+51se3mvtowQz3mk271TH Ep/OseFKJUnV75A7miwpz+NAKEvTcAT8pI41RVu8CMqFXBDGSdQKZEJGqFfQTGgVVim8 UCsmaca6n3Iw0p4Ba/qmydMJjyZ6FhS4v2WrbEx0cwq0U+BEu+t8yA7j8JeknWpgTv35 emPNCdcIPWywDRZ0Q5FTnJ3cD7cJkzQhfsWvnzCGzPSyMP/g2+qrsoMLX2aYIue1RHbn X8Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=4PQxUYVHc31fXi6GhFh1NY25Q34bmhIlOI25TkoffW8=; b=ypSsGgMuMdF9cfUTuXPgRiCxF9NqWnTGtcwYs/1FXQjmS2JNME49Ggzj8KwrqVsllU OxkX3dqOTPTlAPutWy1MgBoG9pYXyoYqedJ2HFd0KJLMrQEDj/8mLmxlO0QSeb2+OYaf kZbSW3BaC4zj6zyC+TjdFr6Jnx3iVi5quBtGXg4YVLjql15IWgW5BIMVMn1V8H3+PkbF zv40aJMbSNXxM5VIWK1GuPYecfdUDNPDe/onSVbaAgaTGgsj/PJFHKpxEeWeh99zjyX2 xOYD/nW940uxJOSiZRZpE8gLhku63X2E0FuIPKGlb4R5WQ+cBsyfxHLSX1noiw0tXOul smUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id n17si1369428edo.143.2019.10.17.05.59.56; Thu, 17 Oct 2019 05:59:56 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D195E1E99D; Thu, 17 Oct 2019 14:59:52 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id D40F21E993; Thu, 17 Oct 2019 14:59:49 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 700DF200673; Thu, 17 Oct 2019 14:59:49 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6058A2000C2; Thu, 17 Oct 2019 14:59:46 +0200 (CEST) Received: from GDB1.ap.freescale.net (gdb1.ap.freescale.net [10.232.132.179]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 8B9D2402B7; Thu, 17 Oct 2019 20:59:42 +0800 (SGT) From: Nipun Gupta To: dev@dpdk.org Cc: ferruh.yigit@intel.com, hemant.agrawal@nxp.com, sachin.saxena@nxp.com, stable@dpdk.org, Nipun Gupta Date: Thu, 17 Oct 2019 18:13:55 +0530 Message-Id: <20191017124403.26734-2-nipun.gupta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191017124403.26734-1-nipun.gupta@nxp.com> References: <20191011054657.21931-1-nipun.gupta@nxp.com> <20191017124403.26734-1-nipun.gupta@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 1/9 v2] net/dpaa: fix supported RSS types X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch fixes the supported RSS types on DPAA platform Fixes: 15aa2a1b02e6 ("net/dpaa: update RSS offload types") Cc: stable@dpdk.org Signed-off-by: Nipun Gupta Acked-by: Hemant Agrawal --- drivers/net/dpaa/dpaa_ethdev.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) -- 2.17.1 diff --git a/drivers/net/dpaa/dpaa_ethdev.h b/drivers/net/dpaa/dpaa_ethdev.h index 182becac1..7e51b0e68 100644 --- a/drivers/net/dpaa/dpaa_ethdev.h +++ b/drivers/net/dpaa/dpaa_ethdev.h @@ -76,14 +76,11 @@ #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_L2_PAYLOAD | \ + ETH_RSS_IP | \ + ETH_RSS_UDP | \ + ETH_RSS_TCP | \ + ETH_RSS_SCTP) #define DPAA_TX_CKSUM_OFFLOAD_MASK ( \ PKT_TX_IP_CKSUM | \