From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 10E3A6835 for ; Thu, 30 Oct 2014 07:08:38 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 29 Oct 2014 23:17:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="408294586" Received: from pgsmsx101.gar.corp.intel.com ([10.221.44.78]) by FMSMGA003.fm.intel.com with ESMTP; 29 Oct 2014 23:09:24 -0700 Received: from pgsmsx107.gar.corp.intel.com (10.221.44.105) by PGSMSX101.gar.corp.intel.com (10.221.44.78) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 30 Oct 2014 14:16:35 +0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by PGSMSX107.gar.corp.intel.com (10.221.44.105) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 30 Oct 2014 14:16:34 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.202]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.174]) with mapi id 14.03.0195.001; Thu, 30 Oct 2014 14:16:33 +0800 From: "Xie, Huawei" To: "Ouyang, Changchun" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] vhost: Remove the check between mergeable and vector pmd Thread-Index: AQHP8+bpUVj8qaZ1XkCrgTRyREzL+pxIKgVA Date: Thu, 30 Oct 2014 06:16:33 +0000 Message-ID: References: <1414635076-3267-1-git-send-email-changchun.ouyang@intel.com> In-Reply-To: <1414635076-3267-1-git-send-email-changchun.ouyang@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] vhost: Remove the check between mergeable and vector pmd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 06:08:40 -0000 Acked-by Huawei Xie > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ouyang Changchun > Sent: Wednesday, October 29, 2014 7:11 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] vhost: Remove the check between mergeable and > vector pmd >=20 > Since the commit 33e79bed3edc2bcf59 has fixed the issue in vector PMD, > and then it can receive jumbo frame by scatter-gather mode, so remove thi= s > check. >=20 > Signed-off-by: Changchun Ouyang > --- > examples/vhost/main.c | 7 ------- > 1 file changed, 7 deletions(-) >=20 > 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 =3D us_vhost_parse_args(argc, argv); > if (ret < 0) > rte_exit(EXIT_FAILURE, "Invalid argument\n"); > -#ifdef RTE_IXGBE_INC_VECTOR > - if (mergeable =3D=3D 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 >=20 > for (lcore_id =3D 0; lcore_id < RTE_MAX_LCORE; lcore_id ++) > if (rte_lcore_is_enabled(lcore_id)) > -- > 1.8.4.2