From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v7] net/virtio: add set_mtu in virtio Date: Sun, 9 Oct 2016 11:52:51 +0800 Message-ID: <20161009035251.GN1597@yliu-dev.sh.intel.com> References: <20160922135643.37636-1-sodey@sonusnet.com> <20160929203130.58712-1-sodey@sonusnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: mark.b.kavanagh@intel.com, stephen@networkplumber.org, dev@dpdk.org To: Dey Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 37E695599 for ; Sun, 9 Oct 2016 05:52:01 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20160929203130.58712-1-sodey@sonusnet.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Sep 29, 2016 at 04:31:30PM -0400, Dey wrote: > /* > * dev_ops for virtio, bare necessities for basic operation > */ > @@ -677,7 +685,6 @@ static const struct eth_dev_ops virtio_eth_dev_ops = { > .allmulticast_enable = virtio_dev_allmulticast_enable, > .allmulticast_disable = virtio_dev_allmulticast_disable, > + .mtu_set = virtio_mtu_set, > .dev_infos_get = virtio_dev_info_get, > .stats_get = virtio_dev_stats_get, > .xstats_get = virtio_dev_xstats_get, > -- > 2.9.3.windows.1 Your patch is malformed: I got an error while trying to apply it. patch: **** malformed patch at line 167: * dev_ops for virtio, bare necessities for basic operation Seems like the way you were generating the patch is wrong. Anyway, I applied it manually, with the "- frame_size" fix as well as few more minor coding style fixes. So applied to dpdk-next-virtio. --yliu