From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id B53182B96 for ; Thu, 29 Jun 2017 17:43:58 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP; 29 Jun 2017 08:43:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,281,1496127600"; d="scan'208";a="102793774" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.91]) ([10.237.220.91]) by orsmga004.jf.intel.com with ESMTP; 29 Jun 2017 08:43:56 -0700 To: Shreyansh Jain Cc: dev@dpdk.org, hemant.agrawal@nxp.com References: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> <1497591668-3320-26-git-send-email-shreyansh.jain@nxp.com> <05001c18-c27f-0469-c21a-fbf4238071e2@nxp.com> From: Ferruh Yigit Message-ID: Date: Thu, 29 Jun 2017 16:43:55 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <05001c18-c27f-0469-c21a-fbf4238071e2@nxp.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 25/38] net/dpaa: add support for MTU update 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: Thu, 29 Jun 2017 15:43:59 -0000 On 6/29/2017 3:56 PM, Shreyansh Jain wrote: > On Wednesday 28 June 2017 09:15 PM, Ferruh Yigit wrote: >> On 6/16/2017 6:40 AM, Shreyansh Jain wrote: >>> Signed-off-by: Hemant Agrawal >>> Signed-off-by: Shreyansh Jain <...> >>> + dev->data->dev_conf.rxmode.jumbo_frame = 0; >>> + >>> + dev->data->dev_conf.rxmode.max_rx_pkt_len = mtu; >> >> I think this only makes sense when jumbo_frame is 1, although not hurts >> to set... > > Yes, that is true. But, I though it would be better for debugging > purpose. Does it hurt keeping it? It is OK, specially since you are updating the code in jumbo frame patch to use this variable.. > >> >>> + return 0; >>> +} >> <...> >> >> >