From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id B6B2A8E7D for ; Tue, 17 Apr 2018 12:38:20 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2018 03:38:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,463,1517904000"; d="scan'208";a="46810948" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 17 Apr 2018 03:38:19 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Apr 2018 03:38:19 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Apr 2018 03:38:19 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.79]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.109]) with mapi id 14.03.0319.002; Tue, 17 Apr 2018 18:38:17 +0800 From: "Zhang, Qi Z" To: "Wu, Yanglong" , "dev@dpdk.org" CC: "Dai, Wei" , "Yao, Lei A" Thread-Topic: [PATCH] net/i40e: fix I40e start failing for missing JUMBO_FRAME offload Thread-Index: AQHT1h5rE8ezs5SPGUOXK+ksQ2240aQEwv4g Date: Tue, 17 Apr 2018 10:38:16 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153199D9D@shsmsx102.ccr.corp.intel.com> References: <20180417072830.55890-1-yanglong.wu@intel.com> In-Reply-To: <20180417072830.55890-1-yanglong.wu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzkwYzc0YTgtMzcxMC00MzUwLWI4OGItMDU1ODdjOTI1NTFlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiJ1SnVka0JPK21cL05DZ0pBSjA0ODFvejFZdjR1Tm9xdUYzU2YxZlE1Rjhla0dUNDZyVEVWVEtkTzJ6OTJQdzR2YSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 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/i40e: fix I40e start failing for missing JUMBO_FRAME offload 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, 17 Apr 2018 10:38:21 -0000 > -----Original Message----- > From: Wu, Yanglong > Sent: Tuesday, April 17, 2018 3:29 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Dai, Wei ; Yao= , > Lei A ; Wu, Yanglong > Subject: [PATCH] net/i40e: fix I40e start failing for missing JUMBO_FRAME > offload >=20 > JUMBO_FRAME offload should be set as default, missing it will lead to sta= rt > failing for I40e. >=20 Please add fixed commit here. > Signed-off-by: Yanglong Wu > --- > drivers/net/i40e/i40e_ethdev.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethde= v.c > index 180ac7449..c3bd254ae 100644 > --- a/drivers/net/i40e/i40e_ethdev.c > +++ b/drivers/net/i40e/i40e_ethdev.c > @@ -3228,7 +3228,8 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct > rte_eth_dev_info *dev_info) > DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM | > DEV_RX_OFFLOAD_CRC_STRIP | > DEV_RX_OFFLOAD_VLAN_EXTEND | > - DEV_RX_OFFLOAD_VLAN_FILTER; > + DEV_RX_OFFLOAD_VLAN_FILTER | > + DEV_RX_OFFLOAD_JUMBO_FRAME; >=20 > dev_info->tx_queue_offload_capa =3D 0; > dev_info->tx_offload_capa =3D > -- > 2.11.0