From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3F388A04DB for ; Fri, 11 Dec 2020 03:32:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C1111BC88; Fri, 11 Dec 2020 03:32:33 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id A039A37B7; Fri, 11 Dec 2020 03:32:29 +0100 (CET) IronPort-SDR: 4bwo7kKfrLVoOO7KLGnjk+UXEbfsW49+LIUp8E1NKQ9KCuwKDUyBfRydsGdSlcaHtz78E2TZkP wbRehS5dCeDw== X-IronPort-AV: E=McAfee;i="6000,8403,9831"; a="174512569" X-IronPort-AV: E=Sophos;i="5.78,409,1599548400"; d="scan'208";a="174512569" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Dec 2020 18:32:27 -0800 IronPort-SDR: PjhD9hFLy+f0Vr/EtQrXrzEOOzu4VzCiXDSTHxLTnViYZnpdZW8wEa6Gey7tsyLEVQAa+V8q9w flTvhPqCxAhA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,409,1599548400"; d="scan'208";a="440320511" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga001.fm.intel.com with ESMTP; 10 Dec 2020 18:32:26 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 10 Dec 2020 18:32:25 -0800 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 11 Dec 2020 10:32:24 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Fri, 11 Dec 2020 10:32:24 +0800 From: "Zhang, Qi Z" To: "Wang, Haiyue" , "Zhang, AlvinX" , "Guo, Jia" CC: "dev@dpdk.org" , "Zhang, AlvinX" , "stable@dpdk.org" Thread-Topic: [PATCH] net/ixgbe: check the result of setting VF MTU Thread-Index: AQHWyJmiE3oToPz+eE+jYQhC9LqcranxOm0g Date: Fri, 11 Dec 2020 02:32:23 +0000 Message-ID: <63a241dffece4de09a5986f58201847b@intel.com> References: <20201202094806.11464-1-alvinx.zhang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH] net/ixgbe: check the result of setting VF MTU 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > -----Original Message----- > From: dev On Behalf Of Wang, Haiyue > Sent: Wednesday, December 2, 2020 6:55 PM > To: Zhang, AlvinX ; Guo, Jia > Cc: dev@dpdk.org; Zhang, AlvinX ; stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: check the result of setting VF= MTU >=20 > > -----Original Message----- > > From: Zhang,Alvin > > Sent: Wednesday, December 2, 2020 17:48 > > To: Guo, Jia ; Wang, Haiyue > > Cc: dev@dpdk.org; Zhang, AlvinX ; > > stable@dpdk.org > > Subject: [PATCH] net/ixgbe: check the result of setting VF MTU > > > > From: Alvin Zhang > > > > If a VF request to set a invalid maximum packet length value, The PF > > kernel driver may disable its reception. > > > > This patch add codes to output information and return the error status. > > > > Signed-off-by: Alvin Zhang > > > > Fixes: 12cd0cccc3db ("ixgbevf: allow to set MTU") > > Cc: stable@dpdk.org > > --- > > drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++- > > drivers/net/ixgbe/ixgbe_rxtx.c | 8 ++++++-- > > 2 files changed, 8 insertions(+), 3 deletions(-) > > >=20 > Acked-by: Haiyue Wang Applied to dpdk-next-net-intel. Thanks Qi >=20 > > -- > > 1.8.3.1