Message ID | 9ace232016dd866c1317aec34c16e92a6aba7457.1725270827.git.anatoly.burakov@intel.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Bruce Richardson |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D90AD458CD; Mon, 2 Sep 2024 11:56:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8AC3340697; Mon, 2 Sep 2024 11:55:26 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by mails.dpdk.org (Postfix) with ESMTP id 622EC40663 for <dev@dpdk.org>; Mon, 2 Sep 2024 11:55:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1725270906; x=1756806906; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=aqFKPlxA7ROCxzZuV9VxFPiiXAwH8CDAiS5qob1miVw=; b=F+TWGbyYPH3DOnXUP0Oyw1vWxw7cO0CwZ6rrvLLkxlaemIbLp7BhT73k QxW0fjRDZyfxq53HbQ5OHn76RO5psEA3O/hDUfML2UrYg6RbHLCv6wZwY x4VfgCdU4GuKSswbd217QGEGiB3902sOpfmzZlkSXdEy8e6Hr46vA/eZa zJ9BCFRFI98/TFRaEm/Rh/hrQLChEewat6ReSIu6Gbyb+Tc1KkdZHvugw iPZv590zwey8ZPxihLJkUNyrrBlI2Rrq2C2spdhDYVyS1AE+MvBiNng55 fUi3klRYBSbRPkzURp6c6Np3EHXkBwmzLaciQ0jIGKV6PxA1b+G2Cbfbs A==; X-CSE-ConnectionGUID: wArkDGhsTVqygt4XSzQ4HA== X-CSE-MsgGUID: oQ3VqOiBRT6e5Bfqisn6Lw== X-IronPort-AV: E=McAfee;i="6700,10204,11182"; a="26747206" X-IronPort-AV: E=Sophos;i="6.10,195,1719903600"; d="scan'208";a="26747206" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2024 02:55:06 -0700 X-CSE-ConnectionGUID: HJJePFVLRcqdI+ZcBNynEQ== X-CSE-MsgGUID: Pf9scGc7Sja1m4SejD6shA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.10,195,1719903600"; d="scan'208";a="64597899" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by fmviesa009.fm.intel.com with ESMTP; 02 Sep 2024 02:55:05 -0700 From: Anatoly Burakov <anatoly.burakov@intel.com> To: dev@dpdk.org, Qiming Yang <qiming.yang@intel.com>, Qi Zhang <qi.z.zhang@intel.com> Cc: bruce.richardson@intel.com Subject: [PATCH v1 09/30] net/i40e/base: fix setting MAC type for X722 Date: Mon, 2 Sep 2024 10:54:21 +0100 Message-ID: <9ace232016dd866c1317aec34c16e92a6aba7457.1725270827.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: <cover.1725270827.git.anatoly.burakov@intel.com> References: <cover.1725270827.git.anatoly.burakov@intel.com> 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
Update net/i40e base driver
|
|
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Burakov, Anatoly
Sept. 2, 2024, 9:54 a.m. UTC
In one of the earlier commits, definitions for X722 were added. However,
code enabling setting MAC type for a particular variant of X722 device
was missed. Add the missing case statement to set the MAC type for that
device.
Fixes: c0ce1c4677fd ("net/i40e: add new X722 device")
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
drivers/net/i40e/base/i40e_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c index 451cc2c1c7..be27cc9d0b 100644 --- a/drivers/net/i40e/base/i40e_common.c +++ b/drivers/net/i40e/base/i40e_common.c @@ -52,6 +52,7 @@ enum i40e_status_code i40e_set_mac_type(struct i40e_hw *hw) case I40E_DEV_ID_1G_BASE_T_X722: case I40E_DEV_ID_10G_BASE_T_X722: case I40E_DEV_ID_SFP_I_X722: + case I40E_DEV_ID_SFP_X722_A: hw->mac.type = I40E_MAC_X722; break; default: