From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0053.outbound.protection.outlook.com [104.47.38.53]) by dpdk.org (Postfix) with ESMTP id 84C341F5 for ; Fri, 2 Sep 2016 00:20:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SonusNetworks.onmicrosoft.com; s=selector1-sonusnet-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1eNGu+aTtolHoI1sHVQkCluCB7fb1rWDACqw7hQGKQ0=; b=T+trjJFMA7U3aFFLJY4s/5JkxCpk+QbRiWQhPdJFBI0GXRq9H1E6HDAFHkIta35AV9ArYW4U6Dor7i/XUiH+zeIdBnTzS8m3b15Hfq2EPgPCziFUSZMpABuCZVX/67YsEvHEc6LfnDCFVKXPkc9FM4vROTKob+HiakMPUVw9PlI= Received: from BN6PR03MB2740.namprd03.prod.outlook.com (10.173.144.135) by BN6PR03MB2740.namprd03.prod.outlook.com (10.173.144.135) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.587.13; Thu, 1 Sep 2016 22:20:04 +0000 Received: from BN6PR03MB2740.namprd03.prod.outlook.com ([10.173.144.135]) by BN6PR03MB2740.namprd03.prod.outlook.com ([10.173.144.135]) with mapi id 15.01.0587.018; Thu, 1 Sep 2016 22:20:04 +0000 From: "Dey, Souvik" To: Maxime Coquelin , "stephen@networkplumber.org" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] add mtu set in virtio Thread-Index: AQHSAkl6WQg/4EBiA0S3i2wQUSIyp6BhI8iAgAQTtoA= Date: Thu, 1 Sep 2016 22:20:04 +0000 Message-ID: References: <20160829230240.20164-1-sodey@sonusnet.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=sodey@sonusnet.com; x-originating-ip: [2601:191:8300:9cda:7c36:36bc:42e3:43e4] x-ms-office365-filtering-correlation-id: 64ae2011-e81a-4883-d05d-08d3d2b61f52 x-microsoft-exchange-diagnostics: 1; BN6PR03MB2740; 6:WVXatMDxabZ6t2futl4Qt+l5kjZoeDiraoXXVSWZyvuXWfoNgHJYPp+9MsGry8V3GhbUKBG9xMz5uTF69kPAKqon0jkzppKrB3YyPu1VWm2u2xSbSNwo9ssoomPSnlpip8HO1sqSmRKnEH5Oa8Tatv+Oglw8oZOzszs2JJdtP3/MwA97YIZp2x5aINce2iHvWuOyV2+ShlNhnEy+CjNYmZua/l8FoZPRtjWBG5E7Z6MBx61qYaHIawjhzhYbw8GHR56hgZjkSlAojrQWdXB2oFYW+thualOfLk2t6zByvmk=; 5:wWYgFL5ydYYfLmfNGzZmEHtbMmM4NrHrJr6UNJC9WNsCylCjiRtV6PLOfIrG71y9BU5FMPovHOBcV1TG9IxUG/vCfC2mHhuayBxNvm1R0HGvfALwRJAtHq3HWQ63jHobxbYQCSAu2pbEMBE3x2joSA==; 24:YMqMLInY038TyA5v+ejgcRjt8FckhmgmK+9o4XV1wViYvwdk6wMDcdoBtJ0b35aaA5QUpNLiB2LFOmzBqflJrY9pnNFq2olLzOgWD5VtyqY=; 7:K/Eixj3aZS82SRy859lxlSxlWv16CDlTwp02HBiJYqZneHu2VLFGbzWOZ09Po7YU/UbLKaH2h6kxVNu4fwEwyCtiHBOpgLH6wDUmSKbZBwi7yutVlqAN8SJ3KXtZFdHD67rblYXo3hM5O7DsYqcS6KzHFS/4P+gkv+zV3NKiHHgUsymIGAEie6eCMnva4vbG6EUXbmdzTunoZZBgmu5fNA90+DMTqP0Q1+fDZ6nE46NUkg6QBlzXUm4XZTvhw6qR x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2740; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:BN6PR03MB2740; BCL:0; PCL:0; RULEID:; SRVR:BN6PR03MB2740; x-forefront-prvs: 0052308DC6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(199003)(377454003)(189002)(13464003)(24454002)(69234005)(19580405001)(76576001)(2906002)(106116001)(2900100001)(2950100001)(105586002)(33656002)(87936001)(4326007)(8676002)(81156014)(81166006)(99286002)(92566002)(8936002)(86362001)(5002640100001)(19580395003)(10400500002)(3280700002)(101416001)(189998001)(9686002)(54356999)(2501003)(106356001)(586003)(3660700001)(102836003)(6116002)(7696003)(50986999)(76176999)(5001770100001)(7846002)(97736004)(74316002)(7736002)(5660300001)(122556002)(77096005)(11100500001)(305945005)(68736007)(3826002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR03MB2740; H:BN6PR03MB2740.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: sonusnet.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: sonusnet.com X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Sep 2016 22:20:04.0133 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 29a671dc-ed7e-4a54-b1e5-8da1eb495dc3 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2740 Subject: Re: [dpdk-dev] [PATCH v2] add mtu set in virtio 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, 01 Sep 2016 22:20:05 -0000 Hi Maxime, When is patches or new implementation going to come in the release ? if it= is not 16.11 then, can we keep this change till the new virtio changes com= e in the release. And if it is already planned for 16.11, then can I get a = little more information on that. -- Regards, Souvik -----Original Message----- From: Maxime Coquelin [mailto:maxime.coquelin@redhat.com]=20 Sent: Tuesday, August 30, 2016 3:58 AM To: Dey, Souvik ; stephen@networkplumber.org; huawei.xi= e@intel.com; yuanhan.liu@linux.intel.com Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] add mtu set in virtio Hi Souvik, On 08/30/2016 01:02 AM, souvikdey33 wrote: > Signed-off-by: Souvik Dey > > Fixes: 1fb8e8896ca8 ("Signed-off-by: Souvik Dey ") > Reviewed-by: Stephen Hemminger > > Virtio interfaces should also support setting of mtu, as in case of=20 > cloud it is expected to have the consistent mtu across the=20 > infrastructure that the dhcp server sends and not hardcoded to 1500(defau= lt). > --- > drivers/net/virtio/virtio_ethdev.c | 12 ++++++++++++ > 1 file changed, 12 insertions(+) FYI, there are some on-going changes in the VIRTIO specification so that th= e VHOST interface exposes its MTU to its VIRTIO peer. It may also be used as an alternative of what you patch achieves. I am working on its implementation in Qemu/DPDK, our goal being to reduce p= erformance drops for small packets with Rx mergeable buffers feature enable= d. Regards, Maxime