Loading
ut/crypto: redirect mock rte_lcore_count
With DPDK 19.11 rte_eal_get_configuration() and rte_config structure were made private. Those were only used in the inline rte_lcore_count() included from DPDK. After the update they were no longer available. Since only rte_lcore_count() was used directly in crypto, mock that and return 1, as was done previously. This was tested with DPDK 19.08 and DPDK 19.11. Change-Id: I13e4d9743b17a34ad786283f8b567d01e036d368 Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477841 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com>