Re: [dpdk-dev] [PATCH v3 2/4] eventdev: add dev attribute get function

2017-09-11 Thread Jerin Jacob
-Original Message- > Date: Fri, 8 Sep 2017 16:36:53 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: jerin.ja...@caviumnetworks.com, Harry van Haaren > > Subject: [PATCH v3 2/4] eventdev: add dev attribute get function > X-Mailer: git-send-email 2.7.4 > > This commit adds a devic

[dpdk-dev] [PATCH v3 2/4] eventdev: add dev attribute get function

2017-09-08 Thread Harry van Haaren
This commit adds a device attribute function, allowing flexible fetching of device attributes, like port count or queue count. The unit tests and .map file are updated to the new function. Signed-off-by: Harry van Haaren --- lib/librte_eventdev/rte_eventdev.c | 24 -- lib/librt