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 73CAAA0C57; Mon, 1 Nov 2021 14:19:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F039740E28; Mon, 1 Nov 2021 14:19:40 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 75E9140DF6 for ; Mon, 1 Nov 2021 14:19:39 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10154"; a="291849516" X-IronPort-AV: E=Sophos;i="5.87,199,1631602800"; d="scan'208";a="291849516" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Nov 2021 06:19:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,199,1631602800"; d="scan'208";a="488652671" Received: from silpixa00399752.ir.intel.com (HELO silpixa00399752.ger.corp.intel.com) ([10.237.222.27]) by orsmga007.jf.intel.com with ESMTP; 01 Nov 2021 06:19:34 -0700 From: Ferruh Yigit To: Jiawen Wu , Jian Wang Cc: Ferruh Yigit , dev@dpdk.org Date: Mon, 1 Nov 2021 13:19:32 +0000 Message-Id: <20211101131932.3398023-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] net/txgbe: fix link macro 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" Macro is changed unintentionally while adding RTE_ prefix, fixing the original value. Fixes: 295968d17407 ("ethdev: add namespace") Signed-off-by: Ferruh Yigit --- drivers/net/txgbe/txgbe_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/txgbe/txgbe_ethdev.c b/drivers/net/txgbe/txgbe_ethdev.c index 169272ded5b0..fde9914e493f 100644 --- a/drivers/net/txgbe/txgbe_ethdev.c +++ b/drivers/net/txgbe/txgbe_ethdev.c @@ -2693,7 +2693,7 @@ txgbe_dev_link_update_share(struct rte_eth_dev *dev, link.link_speed = RTE_ETH_SPEED_NUM_NONE; link.link_duplex = RTE_ETH_LINK_HALF_DUPLEX; link.link_autoneg = !(dev->data->dev_conf.link_speeds & - RTE_ETH_LINK_AUTONEG); + RTE_ETH_LINK_SPEED_FIXED); hw->mac.get_link_status = true; -- 2.31.1