> From: Van Haaren, Harry > Sent: Thursday, September 14, 2017 5:09 PM > To: dev@dpdk.org > Cc: jerin.ja...@caviumnetworks.com; Van Haaren, Harry > <harry.van.haa...@intel.com> > Subject: [PATCH v4 1/4] eventdev: add port attribute function > > 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 :)