From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 73ECC2B9F for ; Tue, 2 May 2017 02:52:07 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 May 2017 17:52:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,402,1488873600"; d="scan'208";a="963259258" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga003.jf.intel.com with ESMTP; 01 May 2017 17:52:05 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 1 May 2017 17:52:01 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.246]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.193]) with mapi id 14.03.0319.002; Tue, 2 May 2017 08:51:59 +0800 From: "Lu, Wenzhuo" To: Jia Yu , "Ananyev, Konstantin" CC: "dev@dpdk.org" Thread-Topic: [PATCH] ixgbe: check scatter_enable in set_mtu Thread-Index: AQHSv+hscCOCiEdHwEqOZx6CCwIfhqHgPJrg Date: Tue, 2 May 2017 00:51:59 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B59E550@shsmsx102.ccr.corp.intel.com> References: <1493359891-6323-1-git-send-email-jyu@vmware.com> In-Reply-To: <1493359891-6323-1-git-send-email-jyu@vmware.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] ixgbe: check scatter_enable in set_mtu 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, 02 May 2017 00:52:07 -0000 Hi,=20 > -----Original Message----- > From: Jia Yu [mailto:jyu@vmware.com] > Sent: Friday, April 28, 2017 2:12 PM > To: Lu, Wenzhuo; Ananyev, Konstantin > Cc: dev@dpdk.org; Jia Yu > Subject: [PATCH] ixgbe: check scatter_enable in set_mtu >=20 > There exists case that software sets mtu (i.e jumbo frame) of ixgbe devic= e > when it's stopped. Before the fix, scattered_rx is cleared during device = stop, > and setting jumbo frame mtu after device stop will always fail as > scattered_rx is 0. >=20 > Signed-off-by: Jia Yu Acked-by: Wenzhuo Lu