From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60061.outbound.protection.outlook.com [40.107.6.61]) by dpdk.org (Postfix) with ESMTP id A04471B493 for ; Tue, 9 Oct 2018 13:02:09 +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=IPLekq56rzDafqo3BqXzrl0DIwnSuYjINm41da3mf+Y=; b=UDGLZ4+hYDjf5GvxsCb214Tf9a6Gn4mDqEWf1qvnsilb8jsQgr+6nXlMg0hZSckeconZDq8has0Yd8wLebp+LUNFKO/qCs3tKRnJbRiPsirSmCwH4Q/KYCAL8+EMEarsN6FeVdyUU/AHeBwBfL8454umIdwxyPILf/Bbkww+xtc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.134.144] (14.143.30.134) by VI1PR04MB4893.eurprd04.prod.outlook.com (2603:10a6:803:56::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.21; Tue, 9 Oct 2018 11:02:07 +0000 To: Fiona Trahe , dev@dpdk.org Cc: tomaszx.jozwiak@intel.com References: <1532108791-20683-1-git-send-email-fiona.trahe@intel.com> <1538756310-13472-1-git-send-email-fiona.trahe@intel.com> From: Akhil Goyal Message-ID: Date: Tue, 9 Oct 2018 16:31:49 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1538756310-13472-1-git-send-email-fiona.trahe@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: BM1PR0101CA0057.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::19) To VI1PR04MB4893.eurprd04.prod.outlook.com (2603:10a6:803:56::26) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 74195062-a761-4203-e6da-08d62dd6a82a X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4893; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4893; 3:sECU0jVzGQc4amVLLWRBmAaFYqwNZj3Jbd4/tmyjIZ3R1e9qHUEjTkbyXq66VjsCReq28v7c9pFO8CSAFFhw9VsOMWPfkJDlMH5yh1VY4bIsHs6gc3ymMgyNiXg2rD8xh1WXwBf+eam5nL+WTKYbSsJkFUFKTYkGtvU5p45rgNIXSACd+d+5C8TT5D1rtY++SFpE6/x4WE3ZEmcXI1975EzV2vCqDrYgNLoceuUCZLwg8Sps5GmSY+5X7Q6pXQm6; 25:NspfmhfBcEQk6/PNpMz99K+ARWUfaPVXdgjzOi1sUrYOT3XU4lg4fs3FNPxrO/dzmS2w8M9xS8gOH0eg0bVFrfcBuNX0s/uIdOv14WaKivNVXbpH+TKJXmXkkCNBVazU0rTcib2/ElDFQjjVa4D1UlrnPBNd0JP97XUCSE/s+BNJZ0WeMvm2QUCulqdlAmgAZklxJrosjiDMNeLMGLFGB+qCTJIKSfCNallR02YvW+g/PQU1u3CQE82bryQvwvLs6sQQXOdZLZaKKwRieEgmrpNYr4R07XFR1FTYh/lCRMvfcG0urZ/oIT8ya/3Ils5XzleO1nMK/08fcq02NOPF2A==; 31:ZLEfJJZIPnuy5Q85FhGePWauagANGqkJLDCByKX6L5wWbK485eI89n87hbu0bSxuLct1kljZq3m2JN2Cfhk/Q8HsupYXG4wA3eqo7YPptoiQOMGDCjx5guzuZBt1JF3BjwIlg0g0KJ2s7JghwojaRntyfUZtYDCpJYnb6Bif3TFyLd5srybQ6fmmvDTVeXFMgepm4J6YSYPBZbpXgW7hBk51vHfRyfqsZtizntmRcTU= X-MS-TrafficTypeDiagnostic: VI1PR04MB4893: X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4893; 20:G6mwtW8H6ztWlZi3khnNCzcVUxpU7/1/wWQrlJFrHng3gDjpmPmvj01JOwVPzrjMZmgLX0CmTz8KPDwiutijUUrRZ38z4YLRfDbM7lFHfCldoC8VhaqrXR0LSsEME82U9SHZRypGuOMCdvWi3ftYjJXDVGAv/qvSTR9/4gZOEqXcIpzOAbl/H4FsMm6OY1vRLTjZdr/OIkBIaNE3K1RMOkHA9f/8BiZXYnJw5JYNeTnugYnrAzcUokLe7deHSkGG2/FX/bskxlE1nct7oLgemCHvBkT7QDh6f8p9rGOKfy5IKz2FpvNlmAjQ5ZyRyu7VYNYZzPVDnegQkAamxgyZwQ+Dd3e+DqC5XbFIlMhJVPbwQDCm38mEJu8tJntuzSOhxlBXCt9c0gJLKhSik4oIylsdv+VVcGp++GC3Z1+fxqe5djXjJcEmtW9XWWy3uhLRWqCLSvkSG0mTqK27Pspc8Nf5ymXpAHjcEuimW4cLGJw/VwMKclw0M6N85lg9WwFp; 4:89dCMh8LA71kCWpZrPYFHYLLGq8GZ2jndzIj9UJZniNIMBs22o/EevAW8NVgDyv4xk5FlVacSCr9DWGDh3sK1KsV6coGyLBuFFJM7yLjeDqhgYxi1FuBBKnOc9icFzfOivXGBrVT0JJb0dqqEqnn832Vs+lNJAU4YkF1ChtIheUGCb9fIeCYgssx/LIshVvCPILIkoM2GLGnQrDUS95zO6xzhkO/pKHoFoaEQHdy8ugWNjGzphPjjUrfZlJRHClAv+zIL5vSlOds3m56jPrKwQhDqHrD4Bq7wz34wDOePpdn8ebI8LRRNjTtUxNSFYV1 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(201708071742011)(7699051)(76991055); SRVR:VI1PR04MB4893; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4893; X-Forefront-PRVS: 08200063E9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(396003)(136003)(346002)(376002)(366004)(39860400002)(43544003)(189003)(199004)(106356001)(68736007)(53546011)(386003)(97736004)(31696002)(305945005)(8936002)(7736002)(966005)(8676002)(81166006)(50466002)(81156014)(86362001)(58126008)(64126003)(6306002)(53936002)(316002)(16576012)(23676004)(52146003)(2486003)(6486002)(52116002)(76176011)(5009440100003)(67846002)(2906002)(65826007)(229853002)(31686004)(476003)(486006)(5660300001)(2616005)(956004)(11346002)(446003)(44832011)(47776003)(65806001)(65956001)(66066001)(230700001)(6246003)(478600001)(16526019)(186003)(26005)(3260700006)(25786009)(4326008)(77096007)(3846002)(6666003)(105586002)(36756003)(6116002)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4893; H:[10.232.134.144]; 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: =?utf-8?B?MTtWSTFQUjA0TUI0ODkzOzIzOk1QaHZ5d1VWTUxYNzQwN0xVQVRmcUFhVGk1?= =?utf-8?B?QTFzdi9aaUlWZFFycUd3SGdna3lWY2s3MVRsN1RkbnY0TVpXUUFHY1grM3Vn?= =?utf-8?B?UDJXM1ZWUmlNa1RGaytYR2xveXlVZ0hENHgvVEVoMmdzMjFOaTNyN1RBdCtz?= =?utf-8?B?MGdzZHNmNkdaaVVjK2dIN1pqdTVJbFNDdGNJR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N5Q==; 5:PWbH2WPpM+um65gHEVNKCDhSQRoLSH8/Foe2NrXhWvHfsB2DiWU8hzUrIS2PVVl1zqDBpgPQAVHpST/xxaPndKz1ejj5At9a2Rs6uwnQrRjD1AOLOs9bSy8Wih1nDq5B7rTlI9CwHrd7iVBjG0W13XogUjbps5GwNfOWMnNSf60=; 7:ghCZuTmroHGgyyhzRa38cqmK09T+lABVeHixWsIVunGhkagudBWYCPFMWjjeJmV2HXH17rwUil5I6k10fPApB2wMQhBdM9WHngO4SKZGKDStnilHc0ZeFPZVEe659eDhz2iZ6axcUL4JDi2sn5IuxLVtYuLftXPLPvT1gtfp2tp1b5ScboG9YoEjpdADMos/ylE9h6njqvzRjLyZIj+StvkfaY3rX61W0aN+rN5DtdqjtavM3RQtmSfUMHPMi1lc SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2018 11:02:07.7972 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 74195062-a761-4203-e6da-08d62dd6a82a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4893 Subject: Re: [dpdk-dev] [PATCH v2] compress/qat: enable dynamic huffman encoding 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: Tue, 09 Oct 2018 11:02:10 -0000 On 10/5/2018 9:48 PM, Fiona Trahe wrote: > Enable dynamic huffman encoding in the QAT comp PMD. > > Signed-off-by: Tomasz Jozwiak > Signed-off-by: Fiona Trahe > --- > v2 changes: > - allocate 2 buffers per intermediate buffer sgl > - Compile out trace for debugging intermediate buffers > > Depends on: > https://patches.dpdk.org/patch/45794/ > //snip > +#if 1 > + QAT_LOG(DEBUG, " : phys addr of sgl[%i] in array_of_pointers" > + "= %lx", i, array_of_pointers->pointer[i]); > + QAT_LOG(DEBUG, " : virt address of sgl[%i] = %p", i, sgl); > + QAT_LOG(DEBUG, " : sgl->buffers[0].addr = %lx, len=%d", > + sgl->buffers[0].addr, sgl->buffers[0].len); > + QAT_LOG(DEBUG, " : sgl->buffers[1].addr = %lx, len=%d", > + sgl->buffers[1].addr, sgl->buffers[1].len); > +#endif > + } > +#if 0 > + QAT_DP_HEXDUMP_LOG(DEBUG, "IM buffer memzone:", mz_start, 1504); > +#endif I believe #if 0 and #if 1 should be replaced with some debug macros, or else dynamic logging shall take care of that.