From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH 25/38] net/dpaa: add support for MTU update Date: Thu, 29 Jun 2017 16:43:55 +0100 Message-ID: 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, hemant.agrawal@nxp.com To: Shreyansh Jain 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) In-Reply-To: <05001c18-c27f-0469-c21a-fbf4238071e2@nxp.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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; >>> +} >> <...> >> >> >