From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 7C6CCA0471 for ; Thu, 20 Jun 2019 07:57:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2A1FC1D067; Thu, 20 Jun 2019 07:57:45 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00057.outbound.protection.outlook.com [40.107.0.57]) by dpdk.org (Postfix) with ESMTP id 9D5491D065 for ; Thu, 20 Jun 2019 07:57:44 +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=rEsMMAlalC0N67hltmGJ1CQjWk6J+x5I/MF3Y+8lP/4=; b=C3ThVj6/13Y6425SeSq0x9kvzPacwhihf8UfwlfNQzg2CgZIlWzMQx9UhT3bHmOqiAR8vgc9aWRdU6uxRYsqgtvX4Nx52g+5mneif7tgBsfsP0MJT7rSBqFsdbI3v/yOLodTdu+e1qf2/1uqnjB/DVZOghKrWrPMNhprRV75tuI= Received: from AM0PR05MB4388.eurprd05.prod.outlook.com (52.134.94.17) by AM0PR05MB5810.eurprd05.prod.outlook.com (20.178.116.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.15; Thu, 20 Jun 2019 05:57:43 +0000 Received: from AM0PR05MB4388.eurprd05.prod.outlook.com ([fe80::5d41:246a:adce:4a30]) by AM0PR05MB4388.eurprd05.prod.outlook.com ([fe80::5d41:246a:adce:4a30%7]) with mapi id 15.20.1987.014; Thu, 20 Jun 2019 05:57:43 +0000 From: Noa Ezra To: Maxime Coquelin CC: Matan Azrad , "dev@dpdk.org" Thread-Topic: [PATCH 2/2] net/vhost: support mrg-rxbuf disabling Thread-Index: AQHVJn7W5VnFEBaEU0S/aSkIFwrqhKakC5jQ Date: Thu, 20 Jun 2019 05:57:43 +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> In-Reply-To: <29a8bedb-2363-d595-001b-577fdfc7318c@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=noae@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7ee6f268-6401-4304-440b-08d6f5443618 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:AM0PR05MB5810; x-ms-traffictypediagnostic: AM0PR05MB5810: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0074BBE012 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(376002)(39860400002)(346002)(136003)(396003)(13464003)(199004)(189003)(52536014)(478600001)(6436002)(102836004)(4326008)(14454004)(7696005)(66066001)(9686003)(54906003)(53546011)(25786009)(229853002)(7736002)(76176011)(8676002)(5660300002)(6916009)(6506007)(6246003)(26005)(8936002)(33656002)(14444005)(316002)(256004)(71190400001)(66476007)(2906002)(73956011)(76116006)(66446008)(11346002)(86362001)(446003)(186003)(81166006)(305945005)(81156014)(53936002)(66556008)(66946007)(71200400001)(476003)(6116002)(64756008)(486006)(3846002)(99286004)(55016002)(74316002)(561944003)(68736007); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB5810; H:AM0PR05MB4388.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: yJKpyJL4iK1WApbnpSTMaLYvWkRP2AYfjNAiCHTmLQoVi2uJn/MMn3WbtdjwhL1qxoAixVmeWsVa0CaacReNlCEm0bGnOZDh9HQcqpWBkhWlfMtqomDUl1MSaw2nc4puGOaakuENbHIsnNwQgj9MY9SCE9EQyJYyr8+tr4GpQY+6N4LrwZCxqf4gPzW4y8vwHT6ijBsuCzB4HaQRa31lS9xzfjr4YnkDtAVPtyh1dZoOjX1jFdV6PypCGv2vTfbQGoct078ycg37Or0o6Nb00phRpZtt+J8iCTPNVfClI9EZ97bKQZoTi8N1wH1WoKNqHn7QnaTChABUZn3XzznV03HEjvwUwtRqOG2KP+H21XXvUaY662DoB+2vw+NKIoBxvzbkBkBi7lii7Sjz+WNujdQbRvQUZVuO6Po2/UmZ6ic= 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: 7ee6f268-6401-4304-440b-08d6f5443618 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2019 05:57:43.2385 (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: noae@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5810 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" SGkgTWF4aW1lLA0KVGhhbmtzIGZvciB5b3VyIGN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