Commit Message
mergeable feature doesn't work with latest mbuf change.
find that we could disable IXGBE_INC_VECTOR as a workaround.
root cause is WIP.
Signed-off-by: Huawei Xie <huawei.xie@intel.com>
---
examples/vhost/main.c | 7 +++++++
1 file changed, 7 insertions(+)
@@ -2862,7 +2862,14 @@ MAIN(int argc, char *argv[])
ret = us_vhost_parse_args(argc, argv);
if (ret < 0)
rte_exit(EXIT_FAILURE, "Invalid argument\n");
+#ifdef RTE_IXGBE_INC_VECTOR
+ if (mergeable == 1) {
+ rte_exit(EXIT_FAILURE,
+ "sorry, mergeable feature doesn't work with vec sg recv, " \
+ "please disable it in cfg as a workaround\n");
+ }
+#endif
for (lcore_id = 0; lcore_id < RTE_MAX_LCORE; lcore_id ++)
if (rte_lcore_is_enabled(lcore_id))
lcore_ids[core_id ++] = lcore_id;