From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cmailsend20.nm.naver.com (cmailsend20.nm.naver.com [125.209.223.229]) by dpdk.org (Postfix) with ESMTP id F30CF958D for ; Wed, 6 Jan 2016 11:49:54 +0100 (CET) Received: (qmail 24866 invoked by uid 100); 6 Jan 2016 10:49:52 -0000 Received: from 10.114.49.78 (HELO cweb11.nm.nhnsystem.com) (10.114.49.78) by cmailsend20.nm.naver.com with SMTP;6 Jan 2016 10:49:52 -0000 Date: Wed, 6 Jan 2016 19:49:51 +0900 (KST) From: =?UTF-8?B?7LWc7J217ISx?= To: PattanReshma , dev@dpdk.org Message-ID: <22c5221b6ca812e178b61eb251f9e11@cweb11.nm.nhnsystem.com> In-Reply-To: <3AEA2BF9852C6F48A459DA490692831FFA2B22@IRSMSX109.ger.corp.intel.com> References: <751f5a8892d7d504dd843a1a26ac3ac@cweb02.nm.nhnsystem.com> <3AEA2BF9852C6F48A459DA490692831FFA2B22@IRSMSX109.ger.corp.intel.com> MIME-Version: 1.0 Importance: normal X-Priority: 3 (Normal) X-Naver-CIP: 129.254.173.105 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] =?utf-8?q?Is_there_any_example_application_to_used_DPD?= =?utf-8?q?K_packet_distributor_library=3F?= X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: =?UTF-8?B?7LWc7J217ISx?= List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2016 10:49:56 -0000 IERlYXIgUmVzaG1hLgpUaGFuayB5b3UgdmVyeSBtdWNoIGZvciB5b3VyIGFuc3dlci4KSSBmb3Vu ZCB0aGUgcmVsYXRlZCBjb2Rlcy4KSSBoYXZlIGRvbmUgc29tZSBjb2RpbmcgcmVsYXRlZCB0aGVt ICBhbmQgSSBmaW5pc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N0cmlidXRvciBsaWJyYXJ5LgoKJmd0OyAKCiZndDsgSXMgdGhlcmUgYW55IGV4YW1wbGUgYXBw bGljYXRpb24gdG8gdXNlZCBEUERLIHBhY2tldCBkaXN0cmlidXRvciBsaWJyYXJ5PwoKJmd0OyAK CiZndDsgSSBhbSB0cnlpbmcgdG8gZXhwZXJpbWVudCBzaW1wbGUgZnVuY3Rpb24gdXNpbmcgRFBE SyBwYWNrZXQgZGlzdHJpYnV0b3IgbGlicmFyeS4KCiZndDsgCgoKCkhpLAoKCgpleGFtcGxlcy9k aXN0cmlidXRvci9tYWluLmMgaXMgdGhlIGV4YW1wbGUgd2hpY2ggZXhwbGFpbnMgZGlzdHJpYnV0 b3IgbGlicmFyeSB1c2FnZS4KCkFsc28sIHlvdSBjYW4gcmVmZXIgdW5pdCB0ZXN0cyBhcHAvdGVz dC90ZXN0X2Rpc3RyaWJ1dG9yLmMgYW5kICBhcHAvdGVzdC90ZXN0X2Rpc3RyaWJ1dG9yLmMvdGVz dF9kaXN0cmlidXRvcl9wZXJmLmMKCgoKVGhhbmtzLAoKUmVzaG1hCgo= >From wojciechx.andralojc@intel.com Wed Jan 6 12:47:33 2016 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id DAA449591 for ; Wed, 6 Jan 2016 12:47:32 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 06 Jan 2016 03:47:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,528,1444719600"; d="scan'208";a="854559682" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga001.jf.intel.com with ESMTP; 06 Jan 2016 03:47:30 -0800 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.143]) by IRSMSX106.ger.corp.intel.com ([169.254.8.88]) with mapi id 14.03.0248.002; Wed, 6 Jan 2016 11:47:29 +0000 From: "Andralojc, WojciechX" To: "dev@dpdk.org" Thread-Topic: [PATCH] Patch introducing API to read/write Intel Architecture Model Specific Registers (MSR), rte_msr_read and rte_msr_write functions. Thread-Index: AQHROMRLkZc9CS0xI02Z6t5+V4XqAJ7ueqcQ Date: Wed, 6 Jan 2016 11:47:28 +0000 Message-ID: <3FD2C4106EAA5C43838688C653B6E2AFDB8422@IRSMSX103.ger.corp.intel.com> References: <1450354363-102022-1-git-send-email-wojciechx.andralojc@intel.com> In-Reply-To: <1450354363-102022-1-git-send-email-wojciechx.andralojc@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2QwZjA3MWItMDE4ZC00YmJhLTk2ZjktNWRjZjZkMjI0ZTY2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjQuMTAuMTkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVk1VMEw0THQrUEJWdHJZOTgrTFdHVUsyRGRucml1djJQSDYySjRWbFF3TT0ifQ== x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH] Patch introducing API to read/write Intel Architecture Model Specific Registers (MSR), rte_msr_read and rte_msr_write functions. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2016 11:47:33 -0000 > From: Andralojc, WojciechX > Sent: Thursday, December 17, 2015 12:13 PM > To: dev@dpdk.org > Cc: Andralojc, WojciechX > Subject: [PATCH] Patch introducing API to read/write Intel Architecture M= odel > Specific Registers (MSR), rte_msr_read and rte_msr_write functions. > = > There is work in progress to implement Intel Cache Allocation Technology = (CAT) > support in DPDK, this technology is programmed through MSRs. > In the future it will be possible to program CAT through Linux cgroups an= d DPDK > CAT implementation will take advantage of it. > = > MSR R/W's are privileged ring 0 operations and they must be done in kernel > space. For this reason implementation utilizes Linux MSR driver. > = > Signed-off-by: Wojciech Andralojc I've got suggestion offline that as MSRs are IA specific, I should not give the dummy APIs for the other arches and move MSR access functions into the EAL specific APIs or some place more arch specific. = Do you find submitted MSR patch OK? or do you agree with the above feedback and patch should be re-worked? I am looking forward to your feedback Thank you! Wojciech Andralojc -------------------------------------------------------------- Intel Research and Development Ireland Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 This e-mail and any attachments may contain confidential material for the s= ole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact = the sender and delete all copies.