From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 6FD961B43F; Fri, 29 Jun 2018 15:42:25 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jun 2018 06:42:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,285,1526367600"; d="scan'208";a="241704339" Received: from istokes-mobl1.ger.corp.intel.com (HELO [10.252.9.208]) ([10.252.9.208]) by fmsmga006.fm.intel.com with ESMTP; 29 Jun 2018 06:42:23 -0700 To: dev@dpdk.org Cc: stable@dpdk.org References: <1530279409-2960-1-git-send-email-ian.stokes@intel.com> From: Ian Stokes Message-ID: <6cbb0182-c532-92ea-e2f5-7c5aaa91947d@intel.com> Date: Fri, 29 Jun 2018 14:42:22 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1530279409-2960-1-git-send-email-ian.stokes@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH] net/e1000: Support mtu set for igbvf. X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2018 13:42:26 -0000 On 6/29/2018 2:36 PM, Ian Stokes wrote: > This patch enables setting the MTU of an igbvf device by re-using the > eth_igb_mtu_set() in igbvf_eth_dev_ops. > > Cc: stable@dpdk.org > > Signed-off-by: Ian Stokes > --- > drivers/net/e1000/igb_ethdev.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c > index edc7be3..1a0f543 100644 > --- a/drivers/net/e1000/igb_ethdev.c > +++ b/drivers/net/e1000/igb_ethdev.c > @@ -442,6 +442,7 @@ static const struct eth_dev_ops igbvf_eth_dev_ops = { > .txq_info_get = igb_txq_info_get, > .mac_addr_set = igbvf_default_mac_addr_set, > .get_reg = igbvf_get_regs, > + .mtu_set = eth_igb_mtu_set, > }; > > /* store statistics names and its offset in stats structure */ > Just spotted that this uses spaces instead of tabs, please ignore and I will send a v2 with the correction. Thanks Ian