ethdev: force offloading API rules
authorFerruh Yigit <ferruh.yigit@intel.com>
Thu, 31 May 2018 12:44:30 +0000 (13:44 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
commitf52f1a65e4616a1acd3ac85331fae0f4f6d0a01e
tree3f52206cb1975820c13d894f3dbe12aee1afc60f
parent01f65293ceb94921a35554fa7b17bc0ec1764c96
ethdev: force offloading API rules

The error path was disabled in previous release to let apps to be more
flexible.

But this release they are enabled, applications have to obey offload API
rules otherwise they will get errors from following APIs:
rte_eth_dev_configure
rte_eth_rx_queue_setup
rte_eth_tx_queue_setup

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
lib/librte_ethdev/rte_ethdev.c