From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30053.outbound.protection.outlook.com [40.107.3.53]) by dpdk.org (Postfix) with ESMTP id 13C575920 for ; Mon, 17 Sep 2018 13:18:53 +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=T4blfSPhReaEhkKyJu37JSNzt6MdleF05Lh8D5fhccI=; b=lo0wdxXDZq8Vx8XoJHqqXj2PxdxngT+AP0B8wyOeTKuGctEZvTDXZPaYp72JXG8QjmntKuXRJszuYnztdwYE4fPXaswPMtS1BqrGprw7prWH+zjtWGDCHW32y3VkPZ0Wzg94Vnnz2cAU5iEGrueN+iv+FLjB5pIgNTM6qCSY56c= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; Received: from [10.232.134.144] (14.143.30.134) by DB7PR04MB4891.eurprd04.prod.outlook.com (2603:10a6:10:18::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Mon, 17 Sep 2018 11:18:49 +0000 To: Anoob Joseph , Pablo de Lara , Thomas Monjalon Cc: Anoob Joseph , Jerin Jacob , Narayana Prasad , dev@dpdk.org, Ankur Dwivedi , Murthy NSSR , Nithin Dabilpuram , Ragothaman Jayaraman , Srisivasubramanian S , Tejasree Kondoj References: <1528476325-15585-1-git-send-email-anoob.joseph@caviumnetworks.com> <1536033560-21541-1-git-send-email-ajoseph@caviumnetworks.com> <1536033560-21541-8-git-send-email-ajoseph@caviumnetworks.com> From: Akhil Goyal Message-ID: Date: Mon, 17 Sep 2018 16:48:32 +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: <1536033560-21541-8-git-send-email-ajoseph@caviumnetworks.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: BM1PR0101CA0012.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::22) To DB7PR04MB4891.eurprd04.prod.outlook.com (2603:10a6:10:18::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e8f6833d-6430-469f-fdb4-08d61c8f58e4 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB7PR04MB4891; X-Microsoft-Exchange-Diagnostics: 1; DB7PR04MB4891; 3:qGCdvJsFwL4hdiHoeM895/TD9RNz0EDviFWqKAQ2m0aX0FPcxd5PKYT1myFK8nv+6HRQwlo/57xGoB36T8LFudGkNZl5XYF4cNi9F4j/dwv7szqk6oTF35I6HBEA3GatEh1xzZ70DhIaCU8+liYOo0UkMrPySE4Vy4ycW4bkrZ48MTBcwZLKyHpmB7fnzy+woVSKIxYa2EIXHVQFuogqEsiW9vMYQ6wnqkEOL5S2AW0jlBf/HjunDg7VqNXxlCS6; 25:UJczHpJLfU+Bar/0qO2A5OJcor4qfNPEYXjFnxfxUNdN78IwUuCCODwiCh/BDqc/UJqUWgkZnz7cM340/EksOPd1uOfB1Orvmt3cdssOZIDera8GTaXpFwOWoBEwhMdcgxJWHJyhtSNb82RIt43IEc6saaXh66m1VjutABoCY0HWIfUpsS1UkEOscAaPs6bwJD/iNKkwfCnXwnjhkaYwf+/Uc/fecB9zCxK9UjRvBzXjyVfhHZCUzYhHR4dtEt7x6WObeSPXB1ougBT+4bvKlcvUzuWiRyRvJ6a/jdB4ONjSuZ9J3fn8LS7Ce2pI/ZgSZOQigTM/JaMtUzgvPIev7A==; 31:M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CaBjqxFVQ3qg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231355)(944501410)(52105095)(3002001)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123564045)(201708071742011)(7699050); SRVR:DB7PR04MB4891; BCL:0; PCL:0; RULEID:; SRVR:DB7PR04MB4891; X-Forefront-PRVS: 0798146F16 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(346002)(39860400002)(136003)(376002)(366004)(396003)(199004)(189003)(3260700006)(25786009)(55236004)(26005)(8936002)(31696002)(64126003)(478600001)(11346002)(486006)(446003)(956004)(476003)(2616005)(16526019)(8676002)(186003)(77096007)(5660300001)(4326008)(65826007)(81166006)(86362001)(81156014)(44832011)(6666003)(2906002)(14444005)(47776003)(230700001)(68736007)(31686004)(50466002)(65956001)(65806001)(66066001)(105586002)(305945005)(16576012)(54906003)(229853002)(97736004)(2486003)(52116002)(23676004)(52146003)(58126008)(76176011)(316002)(7736002)(7416002)(386003)(67846002)(3846002)(36756003)(6116002)(53936002)(110136005)(6486002)(106356001)(6246003)(5009440100003)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB4891; H:[10.232.134.144]; 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: =?utf-8?B?MTtEQjdQUjA0TUI0ODkxOzIzOlJySFM0MUlsaEZhaDhhRjZ0N29CMjc5TzI0?= =?utf-8?B?RTkyd1hRRzRHUml6L1ZyM1RZWWo0aXJ3Z1NYb2FaV0pUSFFMVzRWUFFZT0M4?= =?utf-8?B?RmRX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fWbU7qFqGc5ZUFBHJXLRkJPbylUDn0sHbmpcXia9NkXYM4nVcZNNlz0qqfrq6m+brmpPERzYen+9eY7it8hJILicct8a0B3TmgvBzltQrQbs6zmNwBa3XNt9lcMhciNhHcYkcAqE/Fxg==; 5:gvRzky4eXMXCKdzBl+THUB39m74jGNhShbJFPLy5y9BdTOBxY3WzEPWo8y/EcQU1BJ2CYZCXEu52zLTtnQTjwoUmOYN3CGTBtDh5elL9SLsbGa3lyjq6E3udx0Fl03OAhr/6iOf7Bp3FIiTijqzbCwM469X+fNA9ikHgysgkKCw=; 7:9iOm6MUnLKEPkCDL7ZwLiUec4YK4Oxd1DZzxDGTgznzTRvR6N3pBc9twQu5CLnvaLDJ9VFF7wMH5YTrmsS5gUGSXWNhXJ+r9npXxhXSfPNvqVMrt20vawYuEAh1HX9wwhQGCrJGuiI4E6pbtdYnpodq8i48O+KY5QmSfuIC6/1mGdXdiEW9993eQ6WTJSfG75uQqAm9Re4p7aGLO3vaB7q0zz1UHKgsi6Urk1yjEqsi85h/6nbvxasHuHcp60+NM SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 11:18:49.3681 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e8f6833d-6430-469f-fdb4-08d61c8f58e4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4891 Subject: Re: [dpdk-dev] [PATCH v2 07/33] common/cpt: add hardware register defines 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, 17 Sep 2018 11:18:53 -0000 > +typedef union cpt_res_s { > + uint64_t u[2]; > + struct cpt_res_s_8s { > +#if (RTE_BYTE_ORDER == RTE_BIG_ENDIAN) /* Word 0 - Big Endian */ > + uint64_t reserved_17_63 : 47; > + uint64_t doneint : 1; > + /**< [ 16: 16] Done interrupt. This bit is copied from the > + * corresponding instruction's CPT_INST_S[DONEINT]. > + **/ > + uint64_t reserved_8_15 : 8; > + uint64_t compcode : 8; > + /**< [ 7: 0] Indicates completion/error status of the CPT > + * coprocessor for the associated instruction, as enumerated by > + * CPT_COMP_E. Core software may write the memory location > + * containing [COMPCODE] to 0x0 before ringing the doorbell, and > + * then poll for completion by checking for a nonzero value. > + > + Once the core observes a nonzero [COMPCODE] value in this case, > + the CPT coprocessor will have also completed L2/DRAM write > + operations. > + */ commenting style shall be uniform in the file. Half of the comments have * and half don't have. Please be consistent. -Akhil