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 B7152A32A2 for ; Fri, 25 Oct 2019 05:39:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8977A1E89A; Fri, 25 Oct 2019 05:39:58 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id C89441E899 for ; Fri, 25 Oct 2019 05:39:56 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Oct 2019 20:39:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,227,1569308400"; d="scan'208";a="398639730" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 24 Oct 2019 20:39:55 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 24 Oct 2019 20:39:55 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 24 Oct 2019 20:39:55 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.96]) by shsmsx102.ccr.corp.intel.com ([169.254.2.176]) with mapi id 14.03.0439.000; Fri, 25 Oct 2019 11:39:53 +0800 From: "Min, JiaqiX" To: "Ye, Xiaolong" CC: "dev@dpdk.org" , "Lu, Wenzhuo" , "Yang, Qiming" Thread-Topic: [dpdk-dev] [PATCH] net/ice: set max frame size Thread-Index: AQHVilyToUrijg/3aUeilv5Q3twa5qdqJ4KAgACOttA= Date: Fri, 25 Oct 2019 03:39:52 +0000 Message-ID: <88691F3C94B94D4584B3478B96DE5B740B05B293@SHSMSX101.ccr.corp.intel.com> References: <20191024190818.36524-1-jiaqix.min@intel.com> <20191025030619.GE2504@intel.com> In-Reply-To: <20191025030619.GE2504@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMDA1MGU0Y2UtNmUyNC00Njc4LTg2ZmItMmM4NWRkZDBlMzFjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWkZ0Q3ZmT2t0MUErNkFLVVwvNHVoZVBBcEU1NHJNeHdBd0hjd0hxUFpjMlNRVDEwc2dBQWx6Qk9RZGorVHp5TjcifQ== dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action 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] net/ice: set max frame size 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Xiaolong,=20 > -----Original Message----- > From: Ye, Xiaolong > Sent: Friday, October 25, 2019 11:06 AM > To: Min, JiaqiX > Cc: dev@dpdk.org; Lu, Wenzhuo ; Yang, Qiming > > Subject: Re: [dpdk-dev] [PATCH] net/ice: set max frame size >=20 > Hi, >=20 > Could you provide the Fixes tag and cc stable? > =20 It's a persistent issue, maybe it is an implementation miss. So Fixes tag can't be provided. Like this, need cc stable? > Thanks, >=20 >=20 > On 10/24, Min JiaqiX wrote: > >Max frame size is not set to HW, so packets above the MTU do not get > >dropped by HW. The patch fixed the issue. > > > >Signed-off-by: Min JiaqiX > >--- > > drivers/net/ice/ice_ethdev.c | 4 ++++ > > 1 file changed, 4 insertions(+) > > > >diff --git a/drivers/net/ice/ice_ethdev.c > >b/drivers/net/ice/ice_ethdev.c index 022b58c01..403305cfb 100644 > >--- a/drivers/net/ice/ice_ethdev.c > >+++ b/drivers/net/ice/ice_ethdev.c > >@@ -2506,6 +2506,10 @@ ice_dev_start(struct rte_eth_dev *dev) > > > > pf->adapter_stopped =3D false; > > > >+ /* Set the max frame size */ > >+ ice_aq_set_mac_cfg(hw, > >+ pf->dev_data->dev_conf.rxmode.max_rx_pkt_len, NULL); > >+ > > return 0; > > > > /* stop the started queues if failed to start all queues */ > >-- > >2.17.1 > >