From mboxrd@z Thu Jan 1 00:00:00 1970 From: Huawei Xie Subject: [PATCH 13/14] INC_VEC Date: Mon, 20 Oct 2014 12:38:25 +0800 Message-ID: <1413779906-28113-14-git-send-email-huawei.xie@intel.com> References: <1413779906-28113-1-git-send-email-huawei.xie@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1413779906-28113-1-git-send-email-huawei.xie-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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 --- examples/vhost/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index fb22df4..18ab82e 100644 --- a/examples/vhost/main.c +++ b/examples/vhost/main.c @@ -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; -- 1.8.1.4