From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 15278199B3 for ; Thu, 14 Sep 2017 18:19:39 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Sep 2017 09:19:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,393,1500966000"; d="scan'208";a="1195115605" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by fmsmga001.fm.intel.com with ESMTP; 14 Sep 2017 09:19:37 -0700 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX108.ger.corp.intel.com (163.33.3.3) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 14 Sep 2017 17:19:37 +0100 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.59]) by irsmsx112.ger.corp.intel.com ([169.254.1.110]) with mapi id 14.03.0319.002; Thu, 14 Sep 2017 17:19:37 +0100 From: "Van Haaren, Harry" To: "dev@dpdk.org" CC: "jerin.jacob@caviumnetworks.com" Thread-Topic: [PATCH v4 1/4] eventdev: add port attribute function Thread-Index: AQHTLXPCo6j6Cw0dGEq1JnjLeiuA+KK0jqSg Date: Thu, 14 Sep 2017 16:19:36 +0000 Message-ID: References: <1504885015-44642-1-git-send-email-harry.van.haaren@intel.com> <1505405343-18234-1-git-send-email-harry.van.haaren@intel.com> <1505405343-18234-2-git-send-email-harry.van.haaren@intel.com> In-Reply-To: <1505405343-18234-2-git-send-email-harry.van.haaren@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTlkMWU3ODYtMDg3OS00N2VkLWEwOGMtZjBhMWIxMzcwYzI1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6Imp0RzV4Rkk3Y1BxZzlVN2V5WjB6cmJ5YjNtcnRZT3M2ZXJLT2U5YTBMbG89In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 1/4] eventdev: add port attribute function 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, 14 Sep 2017 16:19:40 -0000 > From: Van Haaren, Harry > Sent: Thursday, September 14, 2017 5:09 PM > To: dev@dpdk.org > Cc: jerin.jacob@caviumnetworks.com; Van Haaren, Harry > > Subject: [PATCH v4 1/4] eventdev: add port attribute function >=20 > This commit reworks the port functions to retrieve information > about the port, like the enq or deq depths. Note that "port count" > is a device attribute, and is added in a later patch for dev attributes. Just to clarify the "Note", the rte_event_port_count() function exists before this patchset. This patch itself doesn't change/update it to the new style attr API yet, the 2/4 patch does. Based on how git made the diff, it *looks* like the port_count() function is changed. See patch 2/4 where the function is *actually* updated to dev_attr() API :)