rawdev: add attribute get and set
authorShreyansh Jain <shreyansh.jain@nxp.com>
Wed, 31 Jan 2018 09:13:10 +0000 (14:43 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 31 Jan 2018 14:35:18 +0000 (15:35 +0100)
commit919be8321e1ad80fc2f9e52100a8a65037196028
tree4edca8035cf779f992dde3911de43f977ab06eb1
parentc88b3f2558ed09738d29913169bb865531dcb067
rawdev: add attribute get and set

A rawdevice can have various attributes. This patch introduce support
for transparently setting attribute value or getting current attribute
state. This is done by allowing an opaque set of key and value to be
passed through rawdev library.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
lib/librte_rawdev/rte_rawdev.c
lib/librte_rawdev/rte_rawdev.h
lib/librte_rawdev/rte_rawdev_pmd.h
lib/librte_rawdev/rte_rawdev_version.map