From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 11FB91E25; Fri, 29 Jun 2018 15:36:53 +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 fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jun 2018 06:36:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,285,1526367600"; d="scan'208";a="241703250" Received: from sivswdev01.ir.intel.com (HELO localhost.localdomain) ([10.237.217.45]) by fmsmga006.fm.intel.com with ESMTP; 29 Jun 2018 06:36:50 -0700 From: Ian Stokes To: dev@dpdk.org Cc: Ian Stokes , stable@dpdk.org Date: Fri, 29 Jun 2018 14:36:49 +0100 Message-Id: <1530279409-2960-1-git-send-email-ian.stokes@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [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:36:54 -0000 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 */ -- 2.7.5