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>
local_conf.rxmode.offloads,
dev_info.rx_offload_capa,
__func__);
local_conf.rxmode.offloads,
dev_info.rx_offload_capa,
__func__);
- /* Will return -EINVAL in the next release */
}
if ((local_conf.txmode.offloads & dev_info.tx_offload_capa) !=
local_conf.txmode.offloads) {
}
if ((local_conf.txmode.offloads & dev_info.tx_offload_capa) !=
local_conf.txmode.offloads) {
local_conf.txmode.offloads,
dev_info.tx_offload_capa,
__func__);
local_conf.txmode.offloads,
dev_info.tx_offload_capa,
__func__);
- /* Will return -EINVAL in the next release */
}
/* Check that device supports requested rss hash functions. */
}
/* Check that device supports requested rss hash functions. */
local_conf.offloads,
dev_info.rx_queue_offload_capa,
__func__);
local_conf.offloads,
dev_info.rx_queue_offload_capa,
__func__);
- /* Will return -EINVAL in the next release */
}
ret = (*dev->dev_ops->rx_queue_setup)(dev, rx_queue_id, nb_rx_desc,
}
ret = (*dev->dev_ops->rx_queue_setup)(dev, rx_queue_id, nb_rx_desc,
local_conf.offloads,
dev_info.tx_queue_offload_capa,
__func__);
local_conf.offloads,
dev_info.tx_queue_offload_capa,
__func__);
- /* Will return -EINVAL in the next release */
}
return eth_err(port_id, (*dev->dev_ops->tx_queue_setup)(dev,
}
return eth_err(port_id, (*dev->dev_ops->tx_queue_setup)(dev,