From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 18E4AA0547; Mon, 21 Jun 2021 17:03:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 905C5411B2; Mon, 21 Jun 2021 17:03:13 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 26EBB41158 for ; Mon, 21 Jun 2021 17:03:10 +0200 (CEST) IronPort-SDR: /iwrbVZvieTAI4krUaHRneGTjcE7QmT04FfcyEAJP1+V4wQPY7Ce4tvyjFLKM6sjsi5scPJyFr YS4xorjqPrCQ== X-IronPort-AV: E=McAfee;i="6200,9189,10022"; a="203844084" X-IronPort-AV: E=Sophos;i="5.83,289,1616482800"; d="scan'208";a="203844084" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2021 08:03:10 -0700 IronPort-SDR: Mj+cUBl2NKYtM6yQniv9go/nkeOysNmIlwrYBbKz1Q1tPxw4CzFi7R3k9qD0+WbmuhJbJXy4gP hi0l4kwSF2GQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,289,1616482800"; d="scan'208";a="453912021" Received: from dpdk51.sh.intel.com ([10.67.111.142]) by fmsmga008.fm.intel.com with ESMTP; 21 Jun 2021 08:03:09 -0700 From: Qi Zhang To: qiming.yang@intel.com Cc: dev@dpdk.org, Qi Zhang , Fabio Pricoco Date: Mon, 21 Jun 2021 23:06:19 +0800 Message-Id: <20210621150619.463430-5-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210621150619.463430-1-qi.z.zhang@intel.com> References: <20210621150619.463430-1-qi.z.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 4/4] net/ice/base: remove unncessary code X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Remove unnecessary jumbo frame configure. Signed-off-by: Fabio Pricoco Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_common.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c index cf0a7d4e7f..51fca7b166 100644 --- a/drivers/net/ice/base/ice_common.c +++ b/drivers/net/ice/base/ice_common.c @@ -830,10 +830,6 @@ enum ice_status ice_init_hw(struct ice_hw *hw) status = ice_aq_manage_mac_read(hw, mac_buf, mac_buf_len, NULL); ice_free(hw, mac_buf); - if (status) - goto err_unroll_fltr_mgmt_struct; - /* enable jumbo frame support at MAC level */ - status = ice_aq_set_mac_cfg(hw, ICE_AQ_SET_MAC_FRAME_SIZE_MAX, NULL); if (status) goto err_unroll_fltr_mgmt_struct; /* Obtain counter base index which would be used by flow director */ -- 2.26.2