From patchwork Tue Nov 5 14:23:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nipun Gupta X-Patchwork-Id: 178521 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp845902ilf; Tue, 5 Nov 2019 06:39:52 -0800 (PST) X-Google-Smtp-Source: APXvYqz4JN046R/2eKZCUjIXZYy19FMtF5kGGcubWZnFYXlVIfDuFL7pD+Bz2127yXsMSqpWcJCu X-Received: by 2002:a05:6402:382:: with SMTP id o2mr3449446edv.61.1572964792328; Tue, 05 Nov 2019 06:39:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572964792; cv=none; d=google.com; s=arc-20160816; b=dxvwfTOMOUjUy0Rdk8FsUmSrLk/Kh1R8j2zyJC0y8o1V3CNnqCCTduWugQ1SeiPkGb 7UbxcdSbIYqKQkwAzhvskeBoFOJ2Id3stAOt8NH7Pco0KrDava0yaQehIgU6n8Udo93s 7CcuG6x/bvWncjcUtG6tQBe/uRYFSX0ler81U04MVTmJsle/q7F4ToxJcto9NpqHaZ8p IxQPePKTruKNKjPsf8QGJno1AOh5JE5mmBuCPCbPnw3wiF+CNAZNoy1P1mg22xb0QfHe zDuihUKpPH5GMMbzmOg2bjBxLkna4ZSp6RDH3gQnwhQ5uyPb4zs+bTbYqNTrJKpOqDJL DJGg== 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=JWvQsQ1fN8FsnY1R9vB+bWcsuwv4B7ZTFb1lgdE4V7oFVamTzI0b9+o1Y5E1mQo6Ua gElKgsqJL5VFC5W5SlbVf2GeSH0vvnfE3A/WGghjsaEA/IDcOHgKB/4AIgWTOiIBi1MW 6f9q99LjXKbUMKGZfpEMhL5tbeUffdzqAc4l08/XhwQVeTr4p/hgr7JNmfPv+39MPBug fd/qI1afXH+fjEs+lRucO7MTMLkqmSmusHpUCiBtPl5EhUtqxZz8lnUSrlyMU4FfemV3 vqF9rbMFIa7jZh4EyWCPenMXbzsUdC/T3L/5queaoRQ5EqI3EfjP48ruKdDbNFLqatqQ E2dw== 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 l15si13183738ejp.114.2019.11.05.06.39.52; Tue, 05 Nov 2019 06:39:52 -0800 (PST) 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 9514F1BF00; Tue, 5 Nov 2019 15:39:46 +0100 (CET) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id 761BB1BEFA; Tue, 5 Nov 2019 15:39:45 +0100 (CET) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 56A282000EA; Tue, 5 Nov 2019 15:39:45 +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 016AF200522; Tue, 5 Nov 2019 15:39:42 +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 68683402AD; Tue, 5 Nov 2019 22:39:37 +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: Tue, 5 Nov 2019 19:53:13 +0530 Message-Id: <20191105142321.7478-2-nipun.gupta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191105142321.7478-1-nipun.gupta@nxp.com> References: <20191011054657.21931-1-nipun.gupta@nxp.com> <20191105142321.7478-1-nipun.gupta@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 1/9 v4] 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 | \