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 615A845DA7; Tue, 26 Nov 2024 04:00:48 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A16614025F; Tue, 26 Nov 2024 04:00:47 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id E7371400EF for ; Tue, 26 Nov 2024 04:00:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1732590046; x=1764126046; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=QpTArb9HZLv1HkHDTyIrw/DHW9kUIzDgNlEBHaSuhsE=; b=QAcGD1hVX8wYI/ZjRZU2WQjQW7yMOiunD/Vo+9PVqWgood1Tjfdne4Wx Av87m7VQbblpkLWC7gHRUl+MjlTlUlo96OofGuej7Sdf+rAxTDwdLjRwV LCmFUIGagc52/1+N3irciVgGQA6Gyr3txnsHppdPMK9aYBXV69IJAaF8e Bt+hfSnIJ/mNEpQ0WXNme/qJDyZYvrMq6L2sZiaqugX90+EchOGepnTXt b1+O93/43IiTZcTQKByg3KGZIjq8+SP1VOpaRtDF/qAsGmPMjZxcKaQJO QWtEl/zVcVm2oBYCyB75O1o+Yvvg3Ur7w9QeFumgMSLlHhsuJ+r9l0Iol Q==; X-CSE-ConnectionGUID: M7mbFEbFQQyYEyekdB6wlA== X-CSE-MsgGUID: BIjJFnFYSUWmZLGIJeljXA== X-IronPort-AV: E=McAfee;i="6700,10204,11267"; a="50136267" X-IronPort-AV: E=Sophos;i="6.12,184,1728975600"; d="scan'208";a="50136267" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2024 19:00:45 -0800 X-CSE-ConnectionGUID: M4/J6ylSQjiZl1TOTA50qQ== X-CSE-MsgGUID: nc7nTzzFTfierDe9QWWnfQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,184,1728975600"; d="scan'208";a="91413976" Received: from unknown (HELO zhichao-dpdk..) ([10.239.252.103]) by orviesa009-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2024 19:00:43 -0800 From: Zhichao Zeng To: dev@dpdk.org Cc: Zhichao Zeng , Anatoly Burakov , Vladimir Medvedkin Subject: [PATCH] net/ixgbe: add support for new device Date: Tue, 26 Nov 2024 11:16:17 +0800 Message-Id: <20241126031617.4164655-1-zhichaox.zeng@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Add support for loopback_mode for new device. Signed-off-by: Zhichao Zeng --- drivers/net/ixgbe/ixgbe_rxtx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c index 0d42fd8a3b..7d16eb9df7 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx.c +++ b/drivers/net/ixgbe/ixgbe_rxtx.c @@ -5359,7 +5359,8 @@ ixgbe_check_supported_loopback_mode(struct rte_eth_dev *dev) hw->mac.type == ixgbe_mac_X540 || hw->mac.type == ixgbe_mac_X550 || hw->mac.type == ixgbe_mac_X550EM_x || - hw->mac.type == ixgbe_mac_X550EM_a) + hw->mac.type == ixgbe_mac_X550EM_a || + hw->mac.type == ixgbe_mac_E610) return 0; return -ENOTSUP; -- 2.34.1