From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Stokes Subject: Re: [PATCH] net/e1000: Support mtu set for igbvf. Date: Fri, 29 Jun 2018 14:42:22 +0100 Message-ID: <6cbb0182-c532-92ea-e2f5-7c5aaa91947d@intel.com> References: <1530279409-2960-1-git-send-email-ian.stokes@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@dpdk.org To: dev@dpdk.org Return-path: In-Reply-To: <1530279409-2960-1-git-send-email-ian.stokes@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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