ethdev: add supported hash function check
authorXueming Li <xuemingl@mellanox.com>
Fri, 20 Apr 2018 14:30:22 +0000 (22:30 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 16:34:41 +0000 (17:34 +0100)
commit8863a1fbfc66f762f70eb486431c23cc55f2cc3c
treece88206c4b09841274fa21d91daacac411be3eb4
parentd863f19efa4f8b4878221846f17e2d04fe5a7457
ethdev: add supported hash function check

Add supported RSS hash function check in device configuration to
have better error verbosity for application developers.

Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
lib/librte_ether/rte_ethdev.c