Message ID | 20180926180440.31726-16-shreyansh.jain@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp1037388lji; Wed, 26 Sep 2018 11:08:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV6308jvPXHB4ayqVgTaVmJZMIubTglcDV4B7b++xOm+lvNeycChr1gB7jNVxVlFTWMCwm9Tu X-Received: by 2002:a1c:7711:: with SMTP id t17-v6mr5256154wmi.35.1537985318576; Wed, 26 Sep 2018 11:08:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537985318; cv=none; d=google.com; s=arc-20160816; b=HPcBxPgUpE+bV1EZw7VgpfaWJv1g4fCY16MaBixWLPoqrewr1+XC9LqepiDhb5NnID FFaPiSLrGesGMyOFRMh30j00J/ZzqPaz6tUFRYlOBdUEL72iXyCSB37dESwHGYwcsUuW zISNMgwMPtP/1XlUQpCYL+Qkm+TabryGs0KWdKGb0Brs4/gcl/PNPidAC1H7n5MhnOyN T3li/rtaqJub74eqDZrqEGlW/6Of5nzwHK1NkCiDfQNj4q8gUOdha5Kic7iPKPmrpW3s owvHZegCcsa8th118Pzukf4jevmnhxyeFjk8HmZ2opUdnBjPy+DNaHwOf9tfM+BDuzGP dZtw== 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:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:dkim-signature; bh=vXZCySwQ9DK6AlstYfLeEq6bfkEBCmpQPt4ORCCClNE=; b=muksFGEWu6oUY59n5fopo/pe2bzaL+d0S4xLYosTEwZmmkOn27hb7Mj0GoO8P6GT5z C8m+MSsKfCi/BTqlzmRVvsXATGVZ+9RYB4NWdzahsWdO8fr4FJCQ6D3aTgXEVJONL1vs hjX/rPlTJawlP2lBjswl14+GNinXjnt42V5PaMQU2HznxkUm+PNEmng6r5vAhdhwVn/4 xv6msU1vrtqGKunxX/9wNN+RJYSZQISY3t6hFFk8Nj4OvlvZGdPBvUiWJL//Ljh8/IK3 J+K1aZbQ9sOts+eNa3nV4hZKMfU3FUE4n6nEGRRCff0p0ySiGTpiTCTCecMMhMeVBGsI MarA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=QbeqPqFV; 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: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id z2-v6si2624350wro.30.2018.09.26.11.08.38; Wed, 26 Sep 2018 11:08:38 -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; dkim=fail header.i=@nxp.com header.s=selector1 header.b=QbeqPqFV; 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 CBCF91B4E8; Wed, 26 Sep 2018 20:06:32 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50047.outbound.protection.outlook.com [40.107.5.47]) by dpdk.org (Postfix) with ESMTP id E13441B4D0 for <dev@dpdk.org>; Wed, 26 Sep 2018 20:06:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vXZCySwQ9DK6AlstYfLeEq6bfkEBCmpQPt4ORCCClNE=; b=QbeqPqFVuW+F6rWh2aaVVyZf42oXCZHO2u6HnKi87fWr6G+9Zs6wOcjnON3h7x+xPb4XdLftN7ocjCzJBFuVZhY5YJA+jasrHwu6h+V002b5trkxfXreCaHfZKa+1zatX3amW3VaIRwT1bIkF1mi6LW2DWtuOMnAFhl4lRk6KEM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by AM6PR04MB4679.eurprd04.prod.outlook.com (2603:10a6:20b:1c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.22; Wed, 26 Sep 2018 18:06:18 +0000 From: Shreyansh Jain <shreyansh.jain@nxp.com> To: dev@dpdk.org, ferruh.yigit@intel.com Cc: thomas@monjalon.net, Hemant Agrawal <hemant.agrawal@nxp.com> Date: Wed, 26 Sep 2018 23:34:40 +0530 Message-Id: <20180926180440.31726-16-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180926180440.31726-1-shreyansh.jain@nxp.com> References: <20180917103631.32304-1-shreyansh.jain@nxp.com> <20180926180440.31726-1-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: MA1PR0101CA0014.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:21::24) To AM6PR04MB4679.eurprd04.prod.outlook.com (2603:10a6:20b:1c::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 627593e6-b725-4840-ad2b-08d623dac37d X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB4679; X-Microsoft-Exchange-Diagnostics: 1; AM6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CMYCjZzh9cl/8wDcvOs1avcZGhRqrxF5Y0HwRODwHzqSHBzsr/djNxmM/ZnUowsmlnyVHnUdqTqOCzst9lFA7LdZHllevPfEYvWzRsq8mvH9HiloVZO8Jmcj6YiLRnr2sNzNP25iV1MUL6v8kw+4SN08C6YcZLS//IrfRFuQB8mpnXmaZranaogXbCEhQQQmDAua0ILqdtIbiEx+SpJwh5JZxzXJKDG/FJtSahSUvtcn2189ABgM5qKFOBmr73x2q7Csn6XgYu8RPf4m4CE/JSWJbF/+xdeAPETX71J1UQkzs8V+gcSCMOUXHDK7VgzfBLaxwmdDcFIF7JSitsW3la5psAkgzXBNboNmvD; 4:nEHA0+mN6akiQkSNcJ2FL/yFFL1PaB/pvcTyqElK4NGiL3irjDKHNFGmhTkK32PfPFNR8W6ne/zToYnROq0A42iNDaZs/IiS2ICXd7YTHjHP9DVPnXOvW2BMlrCs3Q7/Rz6N5/eBCHSsyyjmEFnldoJfTmPu82s9FY2/MImeyDcu8n1Y+jgZw483U0NI7eGZ1L4Qa/muhvlcPTt6thhMZjJDDRR9cbwORB0UavUxFredmIBeyiTsaHbqfKLKeL9rBNe71zvj1u/lBrOgXCE0MmsjFEebsixNoz3LdaH9IaaQ04tMJp/U2YOccXZ/wcg7 X-Microsoft-Antispam-PRVS: <AM6PR04MB467945C14B668C14A164BCDC90150@AM6PR04MB4679.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699051); SRVR:AM6PR04MB4679; BCL:0; PCL:0; RULEID:; SRVR:AM6PR04MB4679; X-Forefront-PRVS: 08076ABC99 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(136003)(396003)(346002)(366004)(39860400002)(189003)(199004)(11346002)(50226002)(446003)(47776003)(44832011)(956004)(476003)(106356001)(486006)(2616005)(6512007)(66066001)(305945005)(7736002)(6486002)(105586002)(36756003)(86362001)(478600001)(8936002)(16526019)(81166006)(50466002)(186003)(26005)(25786009)(8676002)(55236004)(48376002)(81156014)(4326008)(3846002)(6116002)(1076002)(6666003)(52116002)(34290500001)(5009440100003)(2906002)(16586007)(51416003)(316002)(97736004)(6506007)(76176011)(5660300001)(386003)(68736007)(53936002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4679; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM6PR04MB4679; 23:S6fuL2wKi05Gfh6g9MLc9uVfKZdQr8cSKZyZsQ8xg?= D4eJr0oDWzP/iXuABE453LUkBOGODBMsoub+8OhfoDhXNWZFHpD2HU1yLMpa+ccpEIn0fKSpm56b1G+6uF7KCVZOFKKCWaOWHlntbl+oI/UxbjhbeJObxk9W/9usnL5JpsB4HC7b9LB2kS1Ga2xAJJa4cr+SiGa+yvEIcTUtBVSIqcxIC7Lo2nlDucPE1fNZzJ6PStvjsv6siFKkiwM+rFRXOtesgPR1tSjRfsxAGX5glFDFGCnToZjee6XfVhxmkFtTdDqs5kARxbMtzq1VgGdW/xO0zXK2JJ5H1lJ2gMtEpr0d24I8IvUlzQbaqCJ+6Kzi4tAWflZ7LXSJE0WVvK5FjOuDdvAty4OQkTBFpN+RoFJB0lV+F1Z9lWQVWPTVv4vzKWd2Z7x6pmuid9zXL01nKtcpyVV0uKL0IHZ/kGzHzJZF6AJEtg4j7EedubE54TpORdKgqG8T+KUhojhCb2KolF7kJlL50R/lcywjGN+KcEBn4FTvE4el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Zm/bVDCwXZGOSKScLosCdX9MGIh/us1o+BiWkmdRKdV9Iy1KBLxuhkHAg= X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4679; 6:VeFByuiajUBhg6hIOyicQ6hwgZflek9WYjnoWqA3zD/Wb7uwUg4/0jFltMW0QzDY122F+k4+xnqI7JM+G83x4s3tPAiHsAIce6r74Jxw53yrp3oFBkXf4eRkzIa5GW3OuXGPEMQ3V4woczx8lhJo3Yk13zzzFfORmphE0CPZDVZzg7V0I3zZRzVQLlGPbHU6osqRkM8dtVoDsGCFxc83qh53rMlLZIIqmjTG+eWRUyYFObZA7aBdZT8ruGBZEVNa0pjnnYPOAX4iJF7UcxytBkblCXNKVhmsQD/jOGg/khSq72xFCAxkCVqNoSUEPkWLFUu4/OFHSW8PG4dPlcTfJz7rijAGbmbFW06iCmWXPdeaX1lUrkTnL5m5YQHdFJrvKjM46IOntJKHGUkQQ+E2OYe/fFIMzyD2Sj2FiyOpRRBzulJG9BapHIVhVrzImxxa3VNvhxgtsGXlbVsXNW2MVQ==; 5:8NeEasjxNQUgsyE5D39simqvrYsfvsind+BMo+9x6IMDROSyve/R26158aUFuIYyiXFOdSbn5FCFx8F4Aj3pIqopY0UbLb3lkKpYxANrx0zYszh0zgNbZUkit5G8UGs57zjVGDK9BR5muIf2LlyRhkciOCNKc+X2IM/DRyi0SdI=; 7:2tNciRH+VPqChRflK+UjnWoRuVkkitfhigixqwNEJBFEB4InzAX0xkvTGqIOtsF5iS3eVblS+UFc74ozG/kCDxvBaSLZJd7tOAIBgr712xzkOln/OfDq8Llafgs0e1Kkdri0totZDMfk/1IxpXnrLXVybbmb/JAJEh9pQ6750PBNfJdFWxONxY/XimwR6UECluXc76tmpDN8NJZl0xKPwqbqv8lrSRRMhvvjYkqmVVtipbDdPQOA4xxhC+cY02+0 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Sep 2018 18:06:18.9764 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 627593e6-b725-4840-ad2b-08d623dac37d X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4679 Subject: [dpdk-dev] [PATCH v2 15/15] net/dpaa2: support Rx checksum offload in slow parsing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
[v2,01/15] net/dpaa2: fix IOVA conversion for congestion memory
|
expand
|
diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index bc8b9ff89..eab943dcf 100644 --- a/drivers/net/dpaa2/dpaa2_rxtx.c +++ b/drivers/net/dpaa2/dpaa2_rxtx.c @@ -157,6 +157,11 @@ dpaa2_dev_rx_parse_slow(struct rte_mbuf *mbuf, goto parse_done; } + if (BIT_ISSET_AT_POS(annotation->word8, DPAA2_ETH_FAS_L3CE)) + mbuf->ol_flags |= PKT_RX_IP_CKSUM_BAD; + else if (BIT_ISSET_AT_POS(annotation->word8, DPAA2_ETH_FAS_L4CE)) + mbuf->ol_flags |= PKT_RX_L4_CKSUM_BAD; + if (BIT_ISSET_AT_POS(annotation->word4, L3_IP_1_FIRST_FRAGMENT | L3_IP_1_MORE_FRAGMENT | L3_IP_N_FIRST_FRAGMENT |