From patchwork Tue Jan 30 15:06:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreyansh Jain X-Patchwork-Id: 126263 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3458548ljd; Tue, 30 Jan 2018 07:25:33 -0800 (PST) X-Google-Smtp-Source: AH8x226kH9z7doJANOlF8wWxUY+fb2skbxaP3qPdz0wHVqek2Htv11w7rvU2QuiweitRN68nwVmB X-Received: by 10.28.109.10 with SMTP id i10mr23201397wmc.107.1517325933291; Tue, 30 Jan 2018 07:25:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517325933; cv=none; d=google.com; s=arc-20160816; b=pFvzmIgQWa8fVJIRrBRfknLcdv/BeKVPc+YMbpcEpNAdUVoQzPbtigUXArymrYwwiu Elk8jrAP54Owhi63YwVVQr6g0EEIdUAFpbsjvAmfDVUgRHwzmqYuYJR+AKE/KC5f/SaT kJb5vXhUuhvVrMRyvnTD4gF/NBPa7MwALLnti1qc3ISuvdIOkuflmqazeIYizxsUnwog 5JgIiHXMusjTkozgArKwUs2lkGPPOlgrz3abCYeW+ritM17zOMCD1PXKumMnlyGXT6H2 6SVk6Ct7ep3g9HQPxFLryPeCjh6LbnYk18fRMtN5Ro/j/GvVHETlAHv5z4kft3pK7EWh KuXA== 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:message-id:date:cc:to:from :arc-authentication-results; bh=DQAOsgQPOCwqPjHox9bVfBtlv4Rmi8sYWI4earYgqj4=; b=PB+Br9cHLOp/Tc+OtTbQqx8uG+M/1ycWLIlm6/DaW6cBLGFvEBVtd+EehLSDePFNy/ 8ME3aG6z2xdZk97XnFnTyPuXNpfc2qTrPUlVld2mRRpXB/p3tlrnDbH0tpmtFifP7Oqx 7uT4JyOqtmsQgB5Bf5oVU+y+aQXM0BjC6/Ztq0Y2cYsMS3BlkA7TrOFfn6wCGJ6ptr0s Hu/0Ts9aIy2IOLkM0XH1kLNq+MJDbbYISBzIKMmQw7sXKPy1D4GNafwJelnbMEPwHIgp z2uJp+u+3QWyXlPlwIOI/yRXF3CgvrfgR47R4ja9pz5Pdp7CfLlOhwT9xn8G0XwHlAP7 T4sA== 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 s12si1475016wrb.351.2018.01.30.07.25.33; Tue, 30 Jan 2018 07:25:33 -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 159911B659; Tue, 30 Jan 2018 16:25:02 +0100 (CET) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0044.outbound.protection.outlook.com [104.47.32.44]) by dpdk.org (Postfix) with ESMTP id E09531B637 for ; Tue, 30 Jan 2018 16:24:49 +0100 (CET) Received: from BN6PR03CA0070.namprd03.prod.outlook.com (2603:10b6:404:4c::32) by BL2PR03MB467.namprd03.prod.outlook.com (2a01:111:e400:c27::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Tue, 30 Jan 2018 15:24:48 +0000 Received: from BY2FFO11FD016.protection.gbl (2a01:111:f400:7c0c::153) by BN6PR03CA0070.outlook.office365.com (2603:10b6:404:4c::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.464.11 via Frontend Transport; Tue, 30 Jan 2018 15:24:48 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD016.mail.protection.outlook.com (10.1.14.148) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.444.13 via Frontend Transport; Tue, 30 Jan 2018 15:24:46 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w0UEqIHL001232; Tue, 30 Jan 2018 07:52:19 -0700 From: Shreyansh Jain To: CC: , Date: Tue, 30 Jan 2018 20:36:19 +0530 Message-ID: <20180130150621.29253-1-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.14.1 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131617994878247390; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(376002)(346002)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(189003)(199004)(105606002)(68736007)(4326008)(5660300001)(50466002)(50226002)(36756003)(6916009)(305945005)(48376002)(356003)(336011)(97736004)(53936002)(1076002)(51416003)(77096007)(104016004)(54906003)(106466001)(86362001)(498600001)(2351001)(2906002)(16586007)(85426001)(47776003)(8936002)(316002)(59450400001)(8676002)(81166006)(81156014)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB467; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD016; 1:EWDDsQspwQCYATH7P/JrwRNsAQSfuEjUWtKWSlnrSOAxVX0NF1v0zAOHSJXMJT+Fg6UCunDrjCdrU82Xqo1J4QsMqts32iiGCPVA+mfQMrLBJpw/OpiCBtIgzSwvAjfh MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 64e36c06-c79e-40b0-56d6-08d567f59928 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:BL2PR03MB467; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB467; 3:J54FJTOfmuWAmqz7SorrqEnPXOdvQevezbGuUEH0Rov2I/lt9jaakPGjaeR0s9JdRZIlMPcQe/Dtt7y76EYDu/jkWcTFs1GDH9RUc/NTy/Vf74Ijd+2t2rZx/PM6llL/Tc2tBbZDX80u4OJH4S+Exv10eO42YlR8Gmg+Yiy54mWksjW5LLsmkiu8QtajLsujqVkPDNM7wGK8p/N5+i21uNOBQCbgGuX0gGAx7BhNX07W2XjmPchRL7YfQm39bkjp23OX2N9AAn3JlxAOERlya+BIkyQZ2t9hVc3iB0ECzJkXlQzen7lIjTPx5ro6g6F5IGEBF7T0QF48aIIqYhkKkvFc72jfNHZIZPhJQNzS7kg=; 25:oJwY+oPfLbAn0U841gzN43Jg3X/zf3Ufgd+uuILYbRzNs5OmSunEdBs3zt41g0hiMwFQYUJdprUqewY+f6H/8C6wTURHFspS94UR6M3e580hOysEjmpQ9+af+qwDlhjuVNV69MKsa3UizzYWIiUMWkkztb/o6OVGniGmClKImK9mIRsYLSNofCsVFUItg8si9WjLtZG8Hm1CMHA9rQESRsjbh9+XzhUvyb8XbnsO5R4sdP/SdTwqkA/j5bW84ntZAX3c3QWT7fXIkr734qWEfQMy3V6KukcGqfv/Vj6JVnzXdGqMne7BuD3726t3do8mLGVuhV+VDonMFvwzZLbgsw== X-MS-TrafficTypeDiagnostic: BL2PR03MB467: X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB467; 31:VwbhQW+snvXdBYOZ3RjmiJyL8zTIXE3VNyBl/fMGhavcwOaH51pa+vyCjvWWYvhDS6YCET04LDdl0QEnMWw3aq84hql9bRlXs22NclPf057JzVPMljtsWbkk7kqXjF8uA2mDgM2gYelB+MgFU2jiWCHrvNBzGTB9uJt+l2TPGzEFzj+xQDXuuzjXotXeUR1UAvZsyvBTi3dOY88B6zpf4KJ749fL+4zhEKrsrPOeh9M=; 4:OH+9RSDIvJbRQv+QcUYezsu4HFWq8KtgEiBucTyBnOo5l2t+4F8aKv39WYRFg58DfBCpyj9ty6kKVmR2OKnmQgV+yaOyt9V3OctgGI2OvR4CwjazM7iifGSgfbYEQ9ZCIqb+AeE/4Z6hbq/XTNDCZ6FcqfqZUGc2SHEDQtHu+1KqBsCbpYtjmQQ7tKkHccdeRACo6DD1qGQtKTT6GPg+domULwoH3w6E1WxuJnWnjDQuOrDRC4L7ti7umPIoZ7tgzvlwdPmCh0BskrP/gUllm5Y2OWCyZjhX437aeNUesd5vXcx7Ypfk/UoAIxnRToGH X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(8121501046)(5005006)(3231101)(944501161)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123565025)(20161123556025)(20161123561025)(20161123563025)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(20161123559100)(201708071742011); SRVR:BL2PR03MB467; BCL:0; PCL:0; RULEID:(400006); SRVR:BL2PR03MB467; X-Forefront-PRVS: 0568F32D91 X-Microsoft-Exchange-Diagnostics: =?us-asc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UvLo= X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB467; 6:l8wWjlQ2TnV+L4/m0+qau+vGo751jXsTFsxG2q4YPVWo6J4HqPJD2n4PpdmtoPmAyF06eVa9ITPb50apPOCIvgsyy8sHud3a27LpBfbL5Cfp0q+xv/Krwmp2oPNOfcaNQu3L5jE9msSCclQL8eOoRfQ/SSmJvt1DFCwMF8Ct26ih8+HP05d0rgkRGCjOO/oOWlgUeJeyxnNE+ZNIWtcXr4LslGlqhvQgyWGgKMoe0t/aGIU3B528DD9oJ3V3/hQMIEF6QMOlF0xj3KbGMW9mzwjLgrt5x9EifOpEEdzLFO4PGcSW2MyIb7xgiOkgS07HZ0f1f7UWzmAqh49bcHX8lzwIENpGhPug5jywaGalTBs=; 5:jBCfgKt73wFOVRepTZSKSOdCwDnLn2An1gL18m2fCQIrLbR9c1Bh0o64N7pLCHJkRQQ4zUf38hDhUZEORpjPIwzVtFEFqlUdzTmuVSezEUrZsMiWHtcbwL2IxhwJgaymko67LGoVJBT252Uo9+lyJ1NpAvwRc5hYIT3RAhIdDjg=; 24:fKx8LLHtUFlPlRYImVjqYqjgv4HGPlenMD+XsP+jrf6UZTrWs/N+7T3TvMbmavTD8oCBa6jzXtPz1iGMucZRY4eR+8eunPgXviH4cyGp0+4=; 7:YKcm/UF6CpiJmA6B0ozkVYhr8nR60fOdb/TOfjo41EjULYNCbvY+yosn9Ro91rx3U2VcpVEtTB79ePpTv1YW+oPU/aKgg5KPZVPbb+uSnJrA/ST9i/jyuKwrLsLnw3I+FBX7/2vnFwiKX13wBvQBr1N/yVds4OMX7mgwYrJyfKde5bqS9G3HAjnWAwqu77gBm14E/9D3CxlWJiOQvQv9lXJUhRJb3j9qqnY5QCodGWXJ8XZkXYkPK+L8/MSJogzr SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2018 15:24:46.6703 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 64e36c06-c79e-40b0-56d6-08d567f59928 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB467 Subject: [dpdk-dev] [PATCH 1/3] config: change dpaa2 mbuf headroom size to 128 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" From: Hemant Agrawal Signed-off-by: Hemant Agrawal --- config/defconfig_arm64-dpaa2-linuxapp-gcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.14.1 diff --git a/config/defconfig_arm64-dpaa2-linuxapp-gcc b/config/defconfig_arm64-dpaa2-linuxapp-gcc index 5d4437ca5..aa135caab 100644 --- a/config/defconfig_arm64-dpaa2-linuxapp-gcc +++ b/config/defconfig_arm64-dpaa2-linuxapp-gcc @@ -16,7 +16,7 @@ CONFIG_RTE_MAX_LCORE=16 CONFIG_RTE_MAX_NUMA_NODES=1 CONFIG_RTE_CACHE_LINE_SIZE=64 -CONFIG_RTE_PKTMBUF_HEADROOM=256 +CONFIG_RTE_PKTMBUF_HEADROOM=128 # Doesn't support NUMA CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n From patchwork Tue Jan 30 15:06:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreyansh Jain X-Patchwork-Id: 126264 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp3459052ljd; Tue, 30 Jan 2018 07:26:15 -0800 (PST) X-Google-Smtp-Source: AH8x227gDa2mOLpm3I6DiRIcaHm3PSakMZLZnTig63iBBb1pxWecvtJxWBrbvmoXgZuz4aublVKF X-Received: by 10.223.182.165 with SMTP id j37mr11148114wre.85.1517325975119; Tue, 30 Jan 2018 07:26:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517325975; cv=none; d=google.com; s=arc-20160816; b=M4hjh9j9odWD81k1t92m7j5s17yN8cvF0fcV1hipGw9UJF3804ltTUL+EhXi7stNSU XZShm0dnVqWuEPNiM5qrpE4cP6R+aU+mtV0dHwVlj4TuXNaiBAKySl08yQ+OSliGMeaQ 8rBmZF9Hqv6gyqQCdBPmH1+Ir9vUi1/uI3Ern1ZVe+Q0cgrdhnvYh9/5N002BqAR61bO I/SeNovR+regjNxMFZrg0chPICwGgRGmnvWsikcBxwLf3E9Wxk49zN2naXFUDpam8a8Y uPGpcirAveLVLQi3yUvRE1WhbwzmunMZ6pnEwRO+QLpHtjaquE8Ey0A4zriL9rUA9jd7 AH/A== 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:arc-authentication-results; bh=hv7xh/i2VqdZtmCIWv+P2mhHdC2mX4Hm/zRybNu+AI0=; b=jcYc6KD924EUXlig8nx90r0yUzTkVu8/S74Pr/2qWkQ/Mh5uAi926y4HMcJLo1hMUn fUuOew9fjMGz+48nfhwJsWrLMIpGW4N1DojnMsaaQv5WyX39AMrPJB7MKOMwIcl4wWpe DdL6LiORRQhkQjYj1R64EfWeEnxhze6wZA7ntTyW5H+H0JPNN5G4tM+l6Uj/GzOBBd8S ORIW6Yioj5UM3unsnYETgm2KkuIorVj078AXXKJB5TXHMHPj/h+pL2O3m/Erv7xrwcNs /2xBVtiZ1k1R/FRyKAyHkJFzKypDfNwEpmwfI0+U1nAuKBZ3dt/8i0FBUzc/LSeDz6rN R8iQ== 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 g12si9603191wmc.162.2018.01.30.07.26.14; Tue, 30 Jan 2018 07:26:15 -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 AE0B71B66B; Tue, 30 Jan 2018 16:25:04 +0100 (CET) Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0089.outbound.protection.outlook.com [104.47.34.89]) by dpdk.org (Postfix) with ESMTP id A18821B3CA for ; Tue, 30 Jan 2018 16:24:49 +0100 (CET) Received: from DM5PR03CA0047.namprd03.prod.outlook.com (2603:10b6:4:3b::36) by BL2PR03MB465.namprd03.prod.outlook.com (2a01:111:e400:c27::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Tue, 30 Jan 2018 15:24:48 +0000 Received: from BN1AFFO11FD018.protection.gbl (2a01:111:f400:7c10::136) by DM5PR03CA0047.outlook.office365.com (2603:10b6:4:3b::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Tue, 30 Jan 2018 15:24:47 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD018.mail.protection.outlook.com (10.58.52.78) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.444.13 via Frontend Transport; Tue, 30 Jan 2018 15:24:46 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id w0UEqIHM001232; Tue, 30 Jan 2018 07:52:23 -0700 From: Shreyansh Jain To: CC: , Date: Tue, 30 Jan 2018 20:36:20 +0530 Message-ID: <20180130150621.29253-2-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180130150621.29253-1-shreyansh.jain@nxp.com> References: <20180130150621.29253-1-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131617994880175287; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(346002)(376002)(396003)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(199004)(189003)(305945005)(53936002)(1076002)(26005)(2906002)(336011)(97736004)(77096007)(85426001)(81156014)(4326008)(104016004)(50226002)(8936002)(498600001)(8676002)(81166006)(68736007)(51416003)(76176011)(47776003)(50466002)(86362001)(106466001)(48376002)(105606002)(2351001)(2950100002)(16586007)(316002)(6916009)(356003)(54906003)(36756003)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2PR03MB465; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD018; 1:EUzokKnRQF26nPM+famCBhHKzv9o7vx9yoVvozyKchcXDION0XoS20pIg4z0JTO6tBRhembdiTwuTYEupoaDy/OTf19wMhhcpsXPRDG8ngUqatfAzB7Bu5Y9whLCegcH MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b2bb05ae-6c94-4368-6b56-08d567f59956 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(5600026)(4604075)(2017052603307); SRVR:BL2PR03MB465; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB465; 3:ZS273AVvigpbRjgFK+me9/J2owPBBzX+3zt3/8kmnQn9+0doSMJdSTCpqvMrMrPdvoD7XJlyIFSK66MDFvaQM6Qh9ecPez/XAdSdzOjjL3No9x3NUq5nwHpAIM3X0Ggn+wDSE11cFvtM9MQFixNgH6D1spLe79TtXh1i9ZFiKMzR1qH8JhyLOZ/KYY1ZUF/WpnPix4bpCCSyXji0Klc+wNDF3qF8I74VWCJfiE1kNmSPouDltyYsuNazE2itA/7gL+7D3N20qYE6TZfASVfMteG+z7DVOggH2SX83f2Y7YXhwS0ROBDrzpNA77wjsGok2xSOCxYfwBBF7CVGrUrbvRboPWULH8SLKKgJKu6R7ck=; 25:YwgMB8o8OWFI/Ij+WlmCQNairUdbkSZEVjGvJSCnA/UA/Dq1Km20d9cRVh7FqxAaHyFAlADQD912qu8/AMuQYzzh+OXMTFW29nOO6Hmy+pL2WRsFiYFn0yvqeIF2K5jCUMhS0WOH0Uex3fHvxCaabLvCTbhAZ7Sen5ayufkNF7+u1rA/MaNtyPMinnDwjeaGS75iYVCMfjPlzLh6Ot+k88fckaKTOx55quIpy54462TY30RIsNY12+JKDa3RJ93yGrVoNRh1IypEUOMKmKDXsVWa3PoBSDg6cuKMlOwZHLoZbYeqGDGCiuq8bhfSx1opuJ/URT4mJM8ISb3W+BZQMA== X-MS-TrafficTypeDiagnostic: BL2PR03MB465: X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB465; 31:4b0r0/ogBO8uITDnpkdwQ3WgXB/EWF8u4ewBmwh95bpqYmjD7F2Nh/eojKX+9XfQz8k3G/ShqkYJTMv/q+jvd5STGycqJlatPrmGC1ZeKJoukiLhTIMyRpdqZFMthK75CEwigXDn0HmsAiz7QCKDWiHpv7jRRfYxRke1GNU2XnMYgmDKM7U9PJPWWJJJtKSEg3/roYnXEMOzerDJjBTiy+c1CBF1dYEblqv6XptWLNM=; 4:AOlkpnpBOY08n/N4MkpUm4Bt4nCv1TdhG/x0cppy2CE8V5rgV1P1QFPUp0bu2gOHsyn56fid2aBdAlJEHzFhGVGcMJyK9KwCsDtJgTXRIYDrZN2xdYYSGkf60O/rYuQIDOpMRv7GlrCAybz4uO6xU5kVUDPgZf8Qh7j3DEl8UGHtS6tZDGzZWjaKwynfYqDCZHdxbLnufoW02wkpi+NQKwRZi2LRpL/BiAbXZsjxeUHkjVh7aI1gRQwbYAGH0ZzzZuMGtywu2HNhp3Iy5LjPmeU9Og4Cu2DlOGTkww5/c0DyR8O4PBBn1PIr1/iJJGQI X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095135)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231101)(944501161)(6055026)(6096035)(20161123563025)(201703131430075)(201703131448075)(201703131433075)(201703151042153)(20161123559100)(20161123556025)(20161123561025)(20161123565025)(201708071742011); SRVR:BL2PR03MB465; BCL:0; PCL:0; RULEID:(400006); SRVR:BL2PR03MB465; X-Forefront-PRVS: 0568F32D91 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR03MB465; 23:VI94TYD9qrzAfbCQ7rpETxnN1tQ+gesSkZNFCT3NUk?= eH2t1xw5IkIsyjkVijMuAuMYvdYdcg2sxMhqwNJ8OJnoSWt8O9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WRauegeTJeUtvLkrEngdaLfkBkHM3K4tudoIbYViO2bxlRyUP6Gg1gtbuymkaHHH1jqMlogMt6rO4SFsuXxxrgtABxrzEQBJYQfLmZJ6HamG72gGC2sA69YWAxoWYiG9r72ZIxXrW4wtZV87Ra0as8vkN8uwqvdG+wpUXUG/ZP2Pb+BRnq3Vd/5gB0IYJwICNj7ZigOjzmj+hOINArNHLrfsY6tlGo3ahj+I+oivRVsQhPRxQwEYG0677LAGEio5bJQEQMaAjGj+/beMyG6ybGgbCVMv121VBk4ceSqbQZL4bz36t8/KgH2QjnjWhHk=; 5:KCXYH1u1t8TQpgOSrUV3JJXVJjHCgL3rH/46xSWgcXVH1nHsbRfSE9CfTnNzgvyGKEiUFpA8Zu6fSbwkaN9cpkcozfHl/Be9MHqQBb4qclPlz4twXOJ0EcvAJnXmoVrN2F8Neokkutm8Lvf7bNKwrsdK890X39Y7Dk/K6lMUPF8=; 24:tXVC5jPYl9YWUiUVpSadTFnQOiy/gdOayzyocY3qElpLU92lceQKr/mQmVWXKJhmEsf6MyqL0j7YsKKQ3HM4mWoMefwF7UDwOZzreXz7Qws=; 7:S+S4C/R5KfvkfLoo+g3+5b1xTdMiu/fQJbr03d8cLt8G3BAy1SyU7M1w5ibiZc5oZjFHUmlZylAk7sxRWtK+RtA3gwlrvnHkG2Djfjwm+B2BH2ovnnVmQS2AVpSGdK9DjebzlnGvqc1E5XMLy1/DA+ZZ3QIVPk6akb3s1LgMxgDAs6abOVISGBQopxRlSKO9edl4sNVHNYdLf2oXc1ERM4kUsm1BvKc60iEM2rT8CfWrqCZUhoXWc9CnPbBENqvH SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jan 2018 15:24:46.9411 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b2bb05ae-6c94-4368-6b56-08d567f59956 X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB465 Subject: [dpdk-dev] [PATCH 2/3] net/dpaa2: fix the bpid offset 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" From: Hemant Agrawal Fixes: 774e9ea91992 ("net/dpaa2: add support for multi seg buffers") Cc: hemant.agrawal@nxp.com Fixes: d2ef05d5c13e ("net/dpaa2: optimize Rx/Tx path") Cc: hemant.agrawal@nxp.com Signed-off-by: Hemant Agrawal --- drivers/net/dpaa2/dpaa2_rxtx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.14.1 diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index 3d4566988..898cf3bd6 100644 --- a/drivers/net/dpaa2/dpaa2_rxtx.c +++ b/drivers/net/dpaa2/dpaa2_rxtx.c @@ -334,8 +334,8 @@ eth_mbuf_to_sg_fd(struct rte_mbuf *mbuf, DPAA2_SET_FD_ADDR(fd, DPAA2_MBUF_VADDR_TO_IOVA(temp)); DPAA2_SET_FD_LEN(fd, mbuf->pkt_len); + DPAA2_SET_ONLY_FD_BPID(fd, bpid); DPAA2_SET_FD_OFFSET(fd, temp->data_off); - DPAA2_SET_FD_BPID(fd, bpid); DPAA2_SET_FD_ASAL(fd, DPAA2_ASAL_VAL); DPAA2_FD_SET_FORMAT(fd, qbman_fd_sg); /*Set Scatter gather table and Scatter gather entries*/ @@ -776,7 +776,6 @@ dpaa2_dev_tx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) (*bufs)->seqn = DPAA2_INVALID_MBUF_SEQN; } - fd_arr[loop].simple.bpid_offset = 0; fd_arr[loop].simple.frc = 0; DPAA2_RESET_FD_CTRL((&fd_arr[loop])); DPAA2_SET_FD_FLC((&fd_arr[loop]), NULL);