From patchwork Wed Oct 30 12:09:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nipun Gupta X-Patchwork-Id: 178105 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp1204013ill; Wed, 30 Oct 2019 05:26:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZs39B2nrJ5jTCpmlTVbywiFrp2Z1pDkSVaj+BuCSxTGq1m6xwybU5/2LSzO32JFclJbun X-Received: by 2002:a17:906:7097:: with SMTP id b23mr8801436ejk.252.1572438374219; Wed, 30 Oct 2019 05:26:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572438374; cv=none; d=google.com; s=arc-20160816; b=h/x8hIEn1PNXI2Dkh9j0ZuO22o2rHxqec8DbMyePuZi4vzjZXZku1ug232bWOrnS8K 54Rk1+m7CkOBgfl8BL6POweQTB+FiZ2sHavCOdhwR5AyrTYy8VsfEclEJ/qSBFeCSJAw TyBXu5QaPmkRGVwJTsjgn3tT8RWaFlKQPlUmxktUd3KFZksxWRzVMxAxCOiUvYukwXJF Qtj49Btey0HGMqgMPFxrsYet8IOziwKCgre9BSDuYAsbtwj+LMQB1E7l59/l30vpPLEW H52Y1bIThDZJEa41swlQrGNjecVhsqoKqb/UjbBdCA/+db2k5jNJAeeCXNNtBY1AUw3t 6sfA== 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=ba9c3zRTbhx2NxFCZC5suFTecCK8BiPaHh3BkI2rH8jjwHdyHWk7luuBsNBF1OEpnG v4ZCxK1h+qDdRNPX+nfibdQIRf3L99JTg00VvU0ocD/uaD8C1pZvnoeQq2P0jm4O48Xu Ma6VRV0rrD0DlgYyaIItGP8Qi3VvwCeMCjKj0fr0JaFDMW5anjEmeskobuZvZKKLnpBQ wgQwHvI7SuBzl1Cq7AFULMcoUlu8lhcm9T0KWQnZNmbzgckJYALpkBa4QNmNHRdXbKsH tKgs9JSjk7ZgdzvjNzICD6h3iuVKK5GVMuN2+JkuEZ4OYJVv/jeC3z16Gm2VIVx7amqi cPAA== 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 i47si1332650ede.173.2019.10.30.05.26.14; Wed, 30 Oct 2019 05:26:14 -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 1D1A71C068; Wed, 30 Oct 2019 13:26:13 +0100 (CET) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id E25C51C043; Wed, 30 Oct 2019 13:26:07 +0100 (CET) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 3FCA0200787; Wed, 30 Oct 2019 13:26:07 +0100 (CET) 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 DEA1320078F; Wed, 30 Oct 2019 13:26:03 +0100 (CET) Received: from GDB1.ap.freescale.net (gdb1.ap.freescale.net [10.232.132.179]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id B0FE4402C7; Wed, 30 Oct 2019 20:25:59 +0800 (SGT) From: Nipun Gupta To: dev@dpdk.org Cc: thomas@monjalon.net, ferruh.yigit@intel.com, hemant.agrawal@nxp.com, sachin.saxena@nxp.com, stable@dpdk.org, Nipun Gupta Date: Wed, 30 Oct 2019 17:39:47 +0530 Message-Id: <20191030120955.26904-2-nipun.gupta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191030120955.26904-1-nipun.gupta@nxp.com> References: <20191011054657.21931-1-nipun.gupta@nxp.com> <20191030120955.26904-1-nipun.gupta@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 1/9 v3] 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 | \