From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0043.outbound.protection.outlook.com [104.47.0.43]) by dpdk.org (Postfix) with ESMTP id C431A1CA07 for ; Thu, 5 Apr 2018 10:56:26 +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=WyObpCciwfzqaXMKkuCyJ6b1wq8jEZIge41ziktXJVxWs96dt8B49L3ZJh+6As9ubAV0mripwuIdT3QoxTiMKJMwCDY2ZpAVQLwQoIySQyk4VaBuxWu8972QcdN67Vpp8IMEBGJ1lqky0xuhu9oz0tCoLlDkY48rh5ga83Ckvb0= 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 DB3PR04MB0762.eurprd04.prod.outlook.com (2a01:111:e400:9440::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Thu, 5 Apr 2018 08:56:24 +0000 From: Hemant Agrawal To: ferruh.yigit@intel.com Cc: dev@dpdk.org, shreyansh.jain@nxp.com Date: Thu, 5 Apr 2018 14:24:22 +0530 Message-Id: <1522918464-4586-6-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522918464-4586-1-git-send-email-hemant.agrawal@nxp.com> References: <1522918464-4586-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: MA1PR0101CA0043.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:22::29) To DB3PR04MB0762.eurprd04.prod.outlook.com (2a01:111:e400:9440::25) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7f8a67ea-7c2e-4b34-dbd0-08d59ad31ce4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB3PR04MB0762; X-Microsoft-Exchange-Diagnostics: 1; DB3PR04MB0762; 3:IWm5T3tN0/7BmFpJI/4fHIw9ykmAV42LdDh/VdRHCv/4352bh7ih5XUzTq9di18bOzcuBO190kyCpEzTdQQg7v9lzzic4xYm846ERXY8eVrH+IDdaLLzLcIPr1Eeqfc7iZKE04OZRBQsiOM5wmzpN2RJaGFRTkU2ICykEldV9tLYV+pPi6OYydcB0U5pvPXCdla7ldDjY7/KafjETf7Bc64YIXBAQahTMPAKxg6Lzb8gEhRpk9bVRnyJCwKiThPS; 25:2lwnBn8bQRMDE27FPdM15txf5/uE+6HIwN6FV22+vVe0/IXQo4SVvHCXvC0zF5KonSOOe/36w+xhBTe8TdFtnTdKhKgiJw3L3IAKzXlRTxIjN2TXA6dbt9+ZUXlzSqfSZb4hkujQRWEOcru0gSiVyWhjdkVSRH5qMVyg0oGeDv3qwr46OmwsiTuJYjof/a+utC2n45mYtX8iCocUZaSIqllb15FM0lU+DoK1mAk0awgPkjg7CU3elJ+PhjJxOWYNwPCzoZTJg1xPogR78Fs479zAGXMmT4NLCZqDFMgGNXzJDcFPhISdfSgv/IICtVr8h4UKElChA9PVCVi/kgV0Og==; 31:sfiCBFJxTdyreq7lYUzDLGJPY6TLPqpIGdYvS5wxPkfkit2shzRYLpBdev9hb9zo8Bb+hotpANhYMrP9eAcLzfj4G8S1DkXAsLF4J/icth4LF+Q/2DkAL80AJ2f6pNIcm8VSAzumLPZyGiYujCYSoIE3OUgFKQej05cm1J7BHkH38DIm2J+ki//g/aCVQtpHbilBmQU+ujsMJ0hLfLaTFFbG5VwNpgTUoz618vnvLbA= X-MS-TrafficTypeDiagnostic: DB3PR04MB0762: X-Microsoft-Exchange-Diagnostics: 1; DB3PR04MB0762; 20:LadjFd0v9EiVHXZDQFlgAFrcBU2aE9/sC/Ko+2JlxDvDpk0wLTiy82Mm6MuHtk6KiKixpY7KgIjrrExmpWRiXecOw0SFxuQRLMnD0Wl4CZx7VaOOfShRHvQ4LHruGsxYsnPNy7C4yZyAefBJ4dYP8kFx0rBqdvxlr6yGVVXXXvjubm65tGW9wO0G9Is+nIzwskgy9kBVeQ6iXyJUNGw7OyoDe6IlbFldAexyzkLMyt9ZwTolfpXA9M+hvj5ViXit81Nr35IpQqt+rKdf6X4XGi4NUToWunBgBfMSRw24V4mMu9PdX1eY8AYliCTCBgYh9yiEhAVc3Jbb50rfplmbkhAbL+BgsvnnPxGNe6TzwXCC3vyRmTQB5Dj1RT9YwJVAocH0cDxjmTo0tGNKJnsZXMxsfWXmMQCntsopHXvTunQTfgCiRMotGYEnwnw1cqWqXbZ7IDxoKtMsQlF+6zCEFsq5CI6PJVajwOftBGNfSZFbpI4xjqFrlTKPzcc+oTDh; 4:zoiiOOzLaWUvNrOhJ0K1YSQwxTK3AlGw4qx66TxpM5f4HVITGFUdekJNBlzp7aX4F3MIIptxiwlFE4YJdsQzzmGLAn5wvlClhFNpNxJJE29h6tKUyRJTQ5exHH/pLSpQwrhBU20nepCzclTdfnviYXkUoE1Es1lVZ3iaUerFgrdQLtXRm/RKYjbWOwBET3NO3YEjrdUz5C1ARYUaWQ5ZMcjpnca/Mk1MKRHTZVU55yQzl7yQPsJMvEdCgVvsNv7u2ggL+dDcPwYqi5bfCYlpFPzAw/YHQLRFrUrSKQE2QZi/fJr1G6OFoOpn831e5GXG 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)(3002001)(3231221)(944501327)(52105095)(93006095)(93001095)(10201501046)(6055026)(6041310)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DB3PR04MB0762; BCL:0; PCL:0; RULEID:; SRVR:DB3PR04MB0762; X-Forefront-PRVS: 06339BAE63 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(366004)(376002)(346002)(39860400002)(39380400002)(189003)(199004)(76176011)(81166006)(53936002)(2361001)(2351001)(6916009)(25786009)(7736002)(476003)(50226002)(86362001)(81156014)(486006)(97736004)(105586002)(26005)(6512007)(52116002)(3846002)(11346002)(8936002)(446003)(16526019)(106356001)(51416003)(8676002)(386003)(48376002)(6486002)(47776003)(66066001)(68736007)(5660300001)(956004)(55236004)(478600001)(36756003)(6506007)(2906002)(2616005)(5009440100003)(305945005)(4326008)(6116002)(50466002)(186003)(316002)(16586007)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR04MB0762; H:bf-netperf1.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; DB3PR04MB0762; 23:0JOuvsmqwwq3za/1uzN6H1A100952igxAOvrl0t50?= =?us-ascii?Q?Mj7w/eW47miDq15ukJSngUeNK9UHz0wrcTXqazEgQop8xmJDmbn+jb6BK0xq?= =?us-ascii?Q?W+aXiJNCXug2UCZ/j18a0Ap1zpBGlJ8o1eI4ZQvloiMTmsYmT4QsmybkaWvZ?= =?us-ascii?Q?7PlK/yVnxLMy+f9TbuEGBId5aX5dc66THYy9SlbBkuRfBu+Z9Arf67dk+jvm?= =?us-ascii?Q?RZwJU7f2AFVsre6wqT0I8G275FWECZZCgr//Zsl5WuhP5XgF9DdGxsQytFd8?= =?us-ascii?Q?OWFtNd++ChQdjlnn+2RUVipf6K2YY9P8HrwxFows2AsmkwvPTrl6ALzfF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7vXJjU9N+MNv60g9c8+iluxSfj9aLBn8KbDh?= =?us-ascii?Q?JJpg85QCv+Mzb+r7eXSM1PvpoC6pOmiJij/4iEk?= X-Microsoft-Antispam-Message-Info: qzNuzjQkuklGORXc/0qI26IGZQzIxe7BJdBn2Rg7+aIdPo8QXXUmHQimQta/bD6p0Vu9aMWdM8xKpN94pwHqXk64uhfoQXAUvRqILnXKdsOCICTSWluegv1e+NPDaRtJo/X+YeqH+IgkTXXeSj2qlm24RoNKkMjcTneFIUyDNPnSTlpxwmsWh3MqOMnvncsc X-Microsoft-Exchange-Diagnostics: 1; DB3PR04MB0762; 6:I/MFkTTtp8HRPdu2dAnmW+AHfLcD/pZ+/ZYXfbv/q7JraC68Q2acwPt51JJMLLvlgwkZiOCPsu8IS0snczXoNKA+7mGuQSuPU9J03997UXTdlTzwPdG7fUCGqarZk2TsXCBGoaegp9d7knTglV8HMzHUItKnprShOurvMH0bAawU2GlaNzvpbBrChWqft0q9xi+/jnVp6vnEObIjMCPKlgraZAPKFZaB2bR02Sm28BKi1trE2YcIwVJWiekQbSqw3VVfuT1E5f/sYVzc+/Obz72qq7Prhltu6KUHn57vVFthV21gAiw3UZYn5FrwwDHc/BFpEoIb8lXctEOuD9NgGBZ1yrIpJOKLMWjVrSlwv+CLem/jpw/vqlTCyy/RirPF6fExv2BUGO4JAtPMZpeO5qYhesf5aBbYzO+B+Wzjus+c2o+7aexjLcV+kBmUAdM0eT716OQfyX4WSe0wRWRe7A==; 5:Ej7CBuN9AAg0b50DYYSOwv7qZgqfx9hAxKGKLefyoPW6vEDhAx7k8o1plBmScU9xZaEne3dMEpDQA7AIX2oVyS2E0UF5FTP7u78jmawP75qbXmqoTeQlccj/45nUBHULXv0t4nCTQ2MFaUyZ3R5kSbItYSxPuRK9FU+jHhxWACk=; 24:JGnZZ/wTQt2ZTK+P6uid+KXLCmXnRsEJXFt9O7w8BARLsPm+fm5jO01rJ1142QHgE/zZCn0QDR8Mq5EFlzO1b4FivvFU1dT807F4PD9R+QQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB3PR04MB0762; 7:JXO8UVGIP4CKwrsf2rFk8HCLQyxJCZ1usnd3IzKCwwS3aTVkAr/iUr/Mw7UFonir67V5UzKo2kUMK3WIlMtdVzSPnF1WByG4UY48d4bhdcjuCJN5vFeTOQkD21tQBr5omQfJBzcflug6kDmq0/RSYb7ENsijKEqxGU5XDcJy5V81PW3VZPz3ZZDSm4zAeGrDEcdfDWhJyZ6yVx3NHu1ODrBR0yvZ8MS2DZKVyO7J+Rfzc/AnYi9v16lGTimyJhDq X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2018 08:56:24.6799 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7f8a67ea-7c2e-4b34-dbd0-08d59ad31ce4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR04MB0762 Subject: [dpdk-dev] [PATCH 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: Thu, 05 Apr 2018 08:56:27 -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