[dpdk-dev] [PATCH v4 1/4] eventdev: add port attribute function

Van Haaren, Harry harry.van.haaren at intel.com
Thu Sep 14 18:19:36 CEST 2017


> From: Van Haaren, Harry
> Sent: Thursday, September 14, 2017 5:09 PM
> To: dev at dpdk.org
> Cc: jerin.jacob at caviumnetworks.com; Van Haaren, Harry
> <harry.van.haaren at 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 :)


More information about the dev mailing list