eventdev: add capabilities API
authorNikhil Rao <nikhil.rao@intel.com>
Tue, 10 Oct 2017 22:21:31 +0000 (03:51 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Tue, 10 Oct 2017 16:32:51 +0000 (18:32 +0200)
commit2b5c7409ec1a97d345a95ff0271c1b8a23a7cf5f
tree8840b8f5bb830f341fc0df87733c3061294a72d8
parentbe1bf6077ec9580e460d5558b56008845f1195b2
eventdev: add capabilities API

The caps API allows application to retrieve capability information
needed to configure the ethernet Rx adapter for the eventdev and
ethdev pair.

For e.g., the ethdev, eventdev pairing maybe such that all of the
ethdev Rx queues can only be connected to a single event queue, in
this case the application is required to pass in -1 as the queue id
when adding a receive queue to the adapter.

Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/Makefile
lib/librte_eventdev/rte_eventdev.c
lib/librte_eventdev/rte_eventdev.h
lib/librte_eventdev/rte_eventdev_pmd.h
lib/librte_eventdev/rte_eventdev_version.map