From patchwork Fri Oct 11 05:46:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nipun Gupta X-Patchwork-Id: 175907 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp311288ill; Thu, 10 Oct 2019 23:02:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxbvNwJ/KPwlOiA/pFKgwIge02stByp29RS3rWpgRkKKu4tLesQGUAvO71ESM+JhBV03Ay X-Received: by 2002:a17:906:8391:: with SMTP id p17mr11593667ejx.216.1570773760201; Thu, 10 Oct 2019 23:02:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570773760; cv=none; d=google.com; s=arc-20160816; b=aUubVWV2jXVdU7uPi+4RHmIKF3sWbOcqOE1PXD/heoAHetFBtclRg7G9CFd94zhSIG feN+gbWK7E8nwNPfxvD0B6yUMURtQxwp5sEImpd5W6Hp83N/U4CnvoviEpeqs4Z1dtQ8 01YjkOwWDUcgPc3LBjFH5qAxKfO3TO7OZAg3STZ5v2ZpaAgpRRsi0XRJIMzgPfwaBxQ/ bADY+K13jf9QOwyp9AD/uPlAHsckQWtVIQFztILO4XhxOv7WsVqFtjBjnfH8ftjxaVt6 83eZtUAZsdQs1gMdPqaWCA53HocZ/6MOPAw7AVjimyoWbGOO1l7Ey4bMY1PsZSGMcl/5 mIAg== 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=Wp9nNPg8Bt81xEAMH0saKTdYDWhR2jwDr2IXPLJL0FY=; b=ybc4hMpbb486WMELtO1H6CkQeHGJQXCGbOtelpWTzmrJw+ngkU6CkoUIJ1DxnWDnGM TYwvzoAHs2PYlpFZNnR2fNbEj3tz1XlyInzql0axokzOSZLC3L7Bp1ZEPHVY/Nfy64ys lFU8Ms3vvabLxyoLCDodJ3cueuoaItTwxmehjWEMfQJI1CDTfusetzxAQpv7CJVT27BG H9TGE7mICJ/0DZqXmAIFmw0cLjZI9YaB570cSVyGhuZ1tT5LmakaQEydIRjmU8VgTFYJ i1cCXwU/dJAZZEO+ne1IDDSibXfuaEKuW6f75igd/iz/+KoZuZmgiwVT3jFAiVhONRnR hIiw== 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 a33si5049710edf.121.2019.10.10.23.02.40; Thu, 10 Oct 2019 23:02:40 -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 499E61E91E; Fri, 11 Oct 2019 08:02:35 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id 86F801E919; Fri, 11 Oct 2019 08:02:33 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 1E6701A00C9; Fri, 11 Oct 2019 08:02:33 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 09DAE1A04E9; Fri, 11 Oct 2019 08:02:30 +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 5B4E4402DA; Fri, 11 Oct 2019 14:02:25 +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: Fri, 11 Oct 2019 11:16:49 +0530 Message-Id: <20191011054657.21931-2-nipun.gupta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191011054657.21931-1-nipun.gupta@nxp.com> References: <20191011054657.21931-1-nipun.gupta@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 1/9] 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 f63a5f164..baaf8abd0 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 | \