From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0059.outbound.protection.outlook.com [104.47.1.59]) by dpdk.org (Postfix) with ESMTP id C29A61B7C9 for ; Mon, 9 Apr 2018 12:25:56 +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; bh=bkJ+KJd22RWH4lVf5ooxgB+tYlT9k/JSgbRUm7ZwMJA=; b=JpuzQSeWBa2P0w6Z0ZUITRAKLMjVFS8W8iusLisdtX6VJOWCeus8bZjize0a0pj+vxlKAhxO8Ijoy8eS2k1W0tpbHE4pSHkmkPG9k+1fFegkOAuhDQ671EIuDbrJmEIVgghXhpvlfqHZv2cm6S2Puny0PnF8z6V9Z0Bx8VKXEhA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by AM2PR04MB0756.eurprd04.prod.outlook.com (2a01:111:e400:8411::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.653.12; Mon, 9 Apr 2018 10:25:54 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: ferruh.yigit@intel.com, Akhil Goyal Date: Mon, 9 Apr 2018 15:52:49 +0530 Message-Id: <1523269371-28799-6-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523269371-28799-1-git-send-email-hemant.agrawal@nxp.com> References: <1522918464-4586-1-git-send-email-hemant.agrawal@nxp.com> <1523269371-28799-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR0101CA0067.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:d::29) To AM2PR04MB0756.eurprd04.prod.outlook.com (2a01:111:e400:8411::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 14184fa9-6e94-4b8e-2b4d-08d59e044768 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM2PR04MB0756; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0756; 3:dk8YnPevtrOulLUTrcCXqV4sk3+dnpG13fA5vVXd0UsIK84y2juApYGw404AhPEdzuLn/KBSptFoQPwGgLvXB0Pd/1pBvgNn1APXmapadqLr4gZV6JWKpWKyLQYt3scYhA5s7tGlXeM0RLBdwo4qkTSYfqQLt5FUCihzYWJaWYL0dg+/fRb3gttolSFcW7xczjma3Q5JDTbt0YeW2HGGHryEpaYCoRCpItkKZ2uL85SmTGhYrq23fER6czl8qxsM; 25:QBKkW+zDkJzr2zRwnSvENdIDXaWuVwC0N506p+o1fLUZPxHpizYHUpOmE/hPdqPic04vrqu38Vi+6qs8jd5i46q6nupTnDPFtj/5JWeabbJhOg9vfJNG7E4VeLrbKsC4xDYMFJRlDatPeSaBOGabmuoazQwpzpn5JF8kWqhh7fzuYXgtaqzstR8FfMihla5R0lisNpwi1FmQZr1SUA7cf5xr/cxanz5FkP8KxfDVL4Hyz0AOHJPhamGrlmQ3iHsl4g3DTCUyx/BwUnEB5Y0mBcEhWFZZH1+6WMwB5iUk/PFrxiuElrHOJaQkUQ6wlocU7IJB2gEUTLETkn0ib8Z0UQ==; 31:SVfTUUR60nDnPqX4AoMPvb0xujSeFlLdUEsIIgvlJ8ZC7TFIDE6QQe8Wbe1yHTok0YZWp61fsjJR1sxM4RkPmV6s6lYS+A06UhBtsxXBPa7gBjH9blT5OzCA8laKP3AEexVq9KSoizBw1rRQELYyQon7ukpBJh43HdBM9Qe55iFdyPAqRh1Uw85QR93PGVKwSe8C2SWDtcbAo3tAemq5F9NCUaRuC5EwCJuwdi8b9gQ= X-MS-TrafficTypeDiagnostic: AM2PR04MB0756: X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0756; 20:P2DAubenVRHg/Y97inVR2QyRR8ynlE095SPo0HsEwf/IxmE/X3Ax65ydS205HZDvnJGc6tAjR+q+riGFmv1AccW/VPq4ICiC0HAZ0H2z/kga4QjJLIK+m/kdp/Xz1oOcaJ6J/Az8sgRZx/kASe9AY5Nh4FDrji+Pv5PkOe7+/T1lxKmZVcKr/MXuNGyWWj7qhwuaEIcjynH3nA7fbW/OGbxuVbBigtMIPzxGg1hXGB5A5HLLcmmOOQaaMi1TiMuFJSSoWiJr9yMcRpLJH08XW/7wg5q8yuypAcIYhIHH1izFwwyNs/821bn40z/DzhLpDRcbliNMzrjsbumQsxXjDwYZuCiJBmuchsVDRD0QR1mt44PdiPAG0bNmbquKkUxRlO8Y51zzeiTfAe9oumtRX1UT4elLpIAlUtwTZVtyt+gZign+7hNbOIfBjVWdmzpjuCf7tiHH+9ecS5k30HqqMS1BTm9z9Xv+RSM/bsMR0IiYn5wB7ZYEZV/apzgtPvbU; 4:dnslpezPCmxldO85tAccBrMuG/9dC5EAcCsk1eSHYRC2fOvguylMy1RrZHJ/EsSEb0UtIquUbv1O63k11H0sHFINLjplKYr/x0+oLKU+MbjxwIDxKNX/C/i1Tb9QPr28r4O9lLDzMzQfvGaIqgGYEAm9iNj4AyapFog6I8BSzgvm8gkFvHDxWU4P7uQYHQUfqFi3L4EYzxmCCEGI8bhW/M70Re3jBup+MoYI+YrnFRXPqyi3UGudYKWb/bZzbBjoXWyvyGXIgvV+9BQtVtxQTQh8leCw6DGzCMJmhBe6HUQOxQJRvAXQmOOQ1bTM+IIv X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(3231221)(944501327)(52105095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:AM2PR04MB0756; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0756; X-Forefront-PRVS: 0637FCE711 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39380400002)(39860400002)(396003)(366004)(199004)(189003)(36756003)(48376002)(50466002)(8936002)(6486002)(6916009)(81156014)(50226002)(6666003)(81166006)(8676002)(106356001)(68736007)(316002)(16526019)(3846002)(16586007)(2351001)(2361001)(47776003)(2616005)(26005)(6506007)(386003)(55236004)(66066001)(6116002)(305945005)(97736004)(76176011)(7736002)(956004)(52116002)(51416003)(476003)(486006)(53936002)(186003)(2906002)(86362001)(4326008)(6512007)(25786009)(446003)(5660300001)(478600001)(105586002)(5009440100003)(11346002)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0756; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR04MB0756; 23:Z/ANOexpx8Ht8TeqXa8B2kq95y0Ux7R740zJqe0xX?= =?us-ascii?Q?ujM1tFTq/l+x1ktK38F5WFLv0gX2Wogh7EH56sypOE3AQlflyeKC6WQ9OHZa?= =?us-ascii?Q?7GJQ+TmZ9GbM8Rx5R6OXFRTdVlYBCNAghonYIIerLhYcPNRk+Z3NSzXwuZP0?= =?us-ascii?Q?gUHIaQ7RmAQj0ETuP/nm1Ic4DHstWyZiznIOEDVCu3+6sqFp5Svt5OY7u+JD?= =?us-ascii?Q?VQr5dekTv1StZxUZQv7UBVmWVSzwmtY3cuxvnrPMwB967lOXYBs4XLgWSPOw?= =?us-ascii?Q?tkuxBeL60tPb7es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f/mGluB7Hx0LKvaJ7CgIdWdsbaW7iBLIjEPpuonPmXgtLc00sY2SrmCQzeCNWFcb5j0Qykn2zGLqAtzL9bSpmqUlzBT4NQ8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0756; 7:50bwI8l0ROQt4kLuZXxAPBhLY29cELPOjcifGv6QPFkEspFtreeuP7Gkzi7pNEJTzSIeSKsnP4+mNQPF/P4X5JjnBvJTPFW8xlY+NDtaVrs1X0GZcmr5E7TIM8cqCsKp3ZzD47XmipnxSGEjWAcsHj9/bMa5PQx76iCaLvusDOoZyw5AKjEy2VRFLjZbfYpOw0qYejVD4IBEY1l/GEWvUVCfEeaJLNTp5yU5GrYADmXiIPF1IhE5QeTQxGjn/+wx X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2018 10:25:54.9891 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 14184fa9-6e94-4b8e-2b4d-08d59e044768 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0756 Subject: [dpdk-dev] [PATCH v2 6/8] net/dpaa: update checksum for external pool obj 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: , X-List-Received-Date: Mon, 09 Apr 2018 10:25:57 -0000 From: Akhil Goyal Signed-off-by: Akhil Goyal --- drivers/net/dpaa/dpaa_rxtx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c index bdb7f66..1316d2a 100644 --- a/drivers/net/dpaa/dpaa_rxtx.c +++ b/drivers/net/dpaa/dpaa_rxtx.c @@ -825,6 +825,8 @@ tx_on_external_pool(struct qman_fq *txq, struct rte_mbuf *mbuf, } DPAA_MBUF_TO_CONTIG_FD(dmable_mbuf, fd_arr, dpaa_intf->bp_info->bpid); + if (mbuf->ol_flags & DPAA_TX_CKSUM_OFFLOAD_MASK) + dpaa_unsegmented_checksum(mbuf, fd_arr); return 0; } -- 2.7.4