From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 600ADA046B for ; Wed, 26 Jun 2019 13:18:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 31757F64; Wed, 26 Jun 2019 13:18:57 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50080.outbound.protection.outlook.com [40.107.5.80]) by dpdk.org (Postfix) with ESMTP id 4AFC8F04 for ; Wed, 26 Jun 2019 13:18:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WZB3dX8IskZ82zbWZr9ygV9dvAFGXLu1qCeUx6CBDxY=; b=SfvtjeGO/FVrEPe8AUtQG4qx/7NQPvo2KpwE3TNT89DM8fJk1zUgWpT++j4NeuE6/gmzBzLsD1DYHBk773iV+B3XeaI0zy1bczNMgBEK6O5KpjmDjZG/xLABQxWx9mZXHoC8/4GPpkiYa7ZKVI/bNshzfCU4NBoMCLuOD1Ei4CA= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0SPR01MB0030.eurprd05.prod.outlook.com (52.135.152.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.16; Wed, 26 Jun 2019 11:18:55 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a81f:9e35:487d:d788]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a81f:9e35:487d:d788%7]) with mapi id 15.20.2008.014; Wed, 26 Jun 2019 11:18:55 +0000 From: Matan Azrad To: Maxime Coquelin , Noa Ezra CC: "dev@dpdk.org" , Tiwei Bie Thread-Topic: [PATCH 2/2] net/vhost: support mrg-rxbuf disabling Thread-Index: AQHVJn7W5VYHFaMqLU2RhkMjZhWsvqakDSmAgAAK18CAAAv6gIAABSYggAlpMiCAADQ6gIAADC7g Date: Wed, 26 Jun 2019 11:18:55 +0000 Message-ID: References: <1560924825-220648-1-git-send-email-noae@mellanox.com> <1560924825-220648-3-git-send-email-noae@mellanox.com> <29a8bedb-2363-d595-001b-577fdfc7318c@redhat.com> <59bce0c1-6f04-b743-c5fc-508b30e42075@redhat.com> <01a391c2-f68d-38fc-909b-3fc06100d1f7@redhat.com> In-Reply-To: <01a391c2-f68d-38fc-909b-3fc06100d1f7@redhat.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 49d32860-1cd8-47df-ce00-08d6fa281376 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:AM0SPR01MB0030; x-ms-traffictypediagnostic: AM0SPR01MB0030: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 00808B16F3 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(376002)(366004)(346002)(39860400002)(13464003)(199004)(53754006)(189003)(71200400001)(6506007)(99286004)(508600001)(6116002)(76176011)(64756008)(66066001)(6436002)(86362001)(186003)(66446008)(5660300002)(2906002)(53546011)(66556008)(14454004)(74316002)(73956011)(446003)(68736007)(476003)(52536014)(81156014)(305945005)(229853002)(486006)(7696005)(110136005)(66476007)(53936002)(76116006)(54906003)(102836004)(26005)(8936002)(6636002)(71190400001)(256004)(14444005)(9686003)(6246003)(66946007)(7736002)(81166006)(3846002)(316002)(8676002)(33656002)(25786009)(11346002)(55016002)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0SPR01MB0030; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: DaegG7QL13xrKe7GpQBN33FopDhil6ns/xlW2JGxT45xTNI3joqZ++urckhegqlK8rk76SMdkWFOoTOY4SM1CZgqdx6DYbPpcxJZ/uP7dG+UXWBBtB/sZF5YO9aL/hia8FEgjufy7OPbRh7kltEOjzB9dAG8u8+BV3LmV2ctSJIOob/PSZRUteEGGf9mjJ/kKmYgVUojvLffSGv6D5Nv5M2w08h/qwRD5ny+aJGJb8RttL5UX0HRRRsXfYPT0NUtgZ9f84B8uBl0v1Kd/UjG9llDWjESQMsjnHu350gLjYo/7nP6cg6m7xlnpDObiLLHuL9FBkq4zDP9ECRJgBAIJeYR1iExPRGm3OrILDvBOd0gSFbQpD3/OqC8Ubj4sMKX0jvLePqXltGIRxFxA2jp0KVLTj+0nITO/Mou5+UgQ2s= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 49d32860-1cd8-47df-ce00-08d6fa281376 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jun 2019 11:18:55.1123 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: matan@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0SPR01MB0030 Subject: Re: [dpdk-dev] [PATCH 2/2] net/vhost: support mrg-rxbuf disabling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCkZyb206IE1heGltZSBDb3F1ZWxpbg0KPiBPbiA2LzI2LzE5IDk6NTAgQU0sIE1hdGFuIEF6 cmFkIHdyb3RlOg0KPiA+IEhpIE1heGltDQo+ID4NCj4gPiBBbnkgcmVzcG9uc2UgaGVyZT8NCj4g Pg0KPiA+IEJlc2lkZXMgdGhhdCwNCj4gPg0KPiA+IFJlZ2FyZGluZyB0aGUgVFNPIGFuZCB0aGlz IHBhdGNoOg0KPiA+IEkgdGhpbmsgd2Ugc2hvdWxkbid0IGJlIHNvIHN0cmljdCB0byBub3QgdGFr ZSB0aGVtIGZvciB0aGlzIHZlcnNpb246DQo+ID4gMS4gVGhlIGxhdGVyIHRpbWUgd2FzIGEgdGVj aG5pY2FsIGlzc3VlIHdpdGggdGhlIG1haWxlciAtIGEgbWlzdGFrZS4NCj4gPiAyLiBUaGUgcGF0 Y2hlcyBkb24ndCBjaGFuZ2UgYW55IGRlZmF1bHQgYW5kIG1ha2VzIHNlbnNlIC0gd2lsbCBub3Qg aHVydA0KPiBhbnlvbmUuDQo+ID4NCj4gPiBTbyBJIHRoaW5rIHdlIGNhbiBkbyBpdCBiZXlvbmQg dGhlIGxldHRlciBvZiB0aGUgbGF3Lg0KPiA+DQo+ID4gICBGcm9tOiBNYXhpbWUgQ29xdWVsaW4N Cj4gPiAgID4gU2VudDogVGh1cnNkYXksIEp1bmUgMjAsIDIwMTkgMTA6MTkgQU0NCj4gPiAgID4g VG86IE1hdGFuIEF6cmFkIDxtYXRhbkBtZWxsYW5veC5jb20+OyBOb2EgRXpyYQ0KPiA+ICAgPG5v YWVAbWVsbGFub3guY29tPg0KPiA+ICAgPiBDYzogZGV2QGRwZGsub3JnDQo+ID4gICA+IFN1Ympl Y3Q6IFJlOiBbUEFUQ0ggMi8yXSBuZXQvdmhvc3Q6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