* [PATCH] vhost: Remove the check between mergeable and vector pmd @ 2014-10-30 2:11 Ouyang Changchun [not found] ` <1414635076-3267-1-git-send-email-changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Ouyang Changchun @ 2014-10-30 2:11 UTC (permalink / raw) To: dev-VfR2kkLFssw Since the commit 33e79bed3edc2bcf59 has fixed the issue in vector PMD, and then it can receive jumbo frame by scatter-gather mode, so remove this check. Signed-off-by: Changchun Ouyang <changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> --- examples/vhost/main.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 291128e..57ef464 100644 --- a/examples/vhost/main.c +++ b/examples/vhost/main.c @@ -2863,13 +2863,6 @@ 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)) -- 1.8.4.2 ^ permalink raw reply related [flat|nested] 3+ messages in thread
[parent not found: <1414635076-3267-1-git-send-email-changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] vhost: Remove the check between mergeable and vector pmd [not found] ` <1414635076-3267-1-git-send-email-changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> @ 2014-10-30 6:16 ` Xie, Huawei [not found] ` <C37D651A908B024F974696C65296B57B0F2D893E-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Xie, Huawei @ 2014-10-30 6:16 UTC (permalink / raw) To: Ouyang, Changchun, dev-VfR2kkLFssw@public.gmane.org Acked-by Huawei Xie <huawei.xie-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> > -----Original Message----- > From: dev [mailto:dev-bounces-VfR2kkLFssw@public.gmane.org] On Behalf Of Ouyang Changchun > Sent: Wednesday, October 29, 2014 7:11 PM > To: dev-VfR2kkLFssw@public.gmane.org > Subject: [dpdk-dev] [PATCH] vhost: Remove the check between mergeable and > vector pmd > > Since the commit 33e79bed3edc2bcf59 has fixed the issue in vector PMD, > and then it can receive jumbo frame by scatter-gather mode, so remove this > check. > > Signed-off-by: Changchun Ouyang <changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> > --- > examples/vhost/main.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/examples/vhost/main.c b/examples/vhost/main.c > index 291128e..57ef464 100644 > --- a/examples/vhost/main.c > +++ b/examples/vhost/main.c > @@ -2863,13 +2863,6 @@ 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)) > -- > 1.8.4.2 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <C37D651A908B024F974696C65296B57B0F2D893E-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>]
* Re: [PATCH] vhost: Remove the check between mergeable and vector pmd [not found] ` <C37D651A908B024F974696C65296B57B0F2D893E-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> @ 2014-10-30 8:40 ` Thomas Monjalon 0 siblings, 0 replies; 3+ messages in thread From: Thomas Monjalon @ 2014-10-30 8:40 UTC (permalink / raw) To: dev-VfR2kkLFssw, Ouyang, Changchun > From: Ouyang Changchun > > Since the commit 33e79bed3edc2bcf59 has fixed the issue in vector PMD, > > and then it can receive jumbo frame by scatter-gather mode, so remove this > > check. > > > > Signed-off-by: Changchun Ouyang <changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> > > Acked-by: Huawei Xie <huawei.xie-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Applied Thanks -- Thomas ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-30 8:40 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-10-30 2:11 [PATCH] vhost: Remove the check between mergeable and vector pmd Ouyang Changchun [not found] ` <1414635076-3267-1-git-send-email-changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 2014-10-30 6:16 ` Xie, Huawei [not found] ` <C37D651A908B024F974696C65296B57B0F2D893E-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org> 2014-10-30 8:40 ` Thomas Monjalon
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).