From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id E30767ED7; Tue, 10 Jul 2018 03:03:42 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jul 2018 18:03:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,332,1526367600"; d="scan'208";a="63457878" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 09 Jul 2018 18:03:40 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 9 Jul 2018 18:03:40 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 9 Jul 2018 18:03:40 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.124]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.81]) with mapi id 14.03.0319.002; Tue, 10 Jul 2018 09:03:39 +0800 From: "Lu, Wenzhuo" To: "Stokes, Ian" , "dev@dpdk.org" CC: "Stokes, Ian" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] net/e1000: Support mtu set for igbvf. Thread-Index: AQHUD7BCGih4021TEk2B332TavtgpqSHsvHw Date: Tue, 10 Jul 2018 01:03:38 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B8027C1@shsmsx102.ccr.corp.intel.com> References: <1530280253-10370-1-git-send-email-ian.stokes@intel.com> In-Reply-To: <1530280253-10370-1-git-send-email-ian.stokes@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] net/e1000: Support mtu set for igbvf. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jul 2018 01:03:43 -0000 Hi Ian, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ian Stokes > Sent: Friday, June 29, 2018 9:51 PM > To: dev@dpdk.org > Cc: Stokes, Ian ; stable@dpdk.org > Subject: [dpdk-dev] [PATCH v2] net/e1000: Support mtu set for igbvf. >=20 > This patch enables setting the MTU of an igbvf device by re-using the > eth_igb_mtu_set() in igbvf_eth_dev_ops. >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: Ian Stokes > --- > drivers/net/e1000/igb_ethdev.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethde= v.c > index edc7be3..650e831 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 =3D > { > .txq_info_get =3D igb_txq_info_get, > .mac_addr_set =3D igbvf_default_mac_addr_set, > .get_reg =3D igbvf_get_regs, > + .mtu_set =3D eth_igb_mtu_set, I think "eth_igb_mtu_set" is PF specific function that cannot be used on VF= . As it touches PF specific registers. Looks like MTU setting even not supported by igb VF.