From: Anatoly Burakov <anatoly.burakov@intel.com>
To: dev@dpdk.org, Vladimir Medvedkin <vladimir.medvedkin@intel.com>,
Jedrzej Jagielski <jedrzej.jagielski@intel.com>,
Carolyn Wyborny <carolyn.wyborny@intel.com>,
Piotr Kwapulinski <piotr.kwapulinski@intel.com>
Cc: bruce.richardson@intel.com, stable@dpdk.org
Subject: [PATCH v1 2/3] net/ixgbe: fix VF registers for E610
Date: Thu, 27 Mar 2025 14:24:12 +0000 [thread overview]
Message-ID: <d4abfd7295d5440eab3b481f20dca75034d9e406.1743085431.git.anatoly.burakov@intel.com> (raw)
In-Reply-To: <91f6e1e3f59faf66e6d5f32e4198bfd13b30a317.1743085431.git.anatoly.burakov@intel.com>
When adding E610 support, some case statements for VF definitions were
missing, resulting in picking incorrect registers to write to in certain
cases. Fix it by adding necessary case statements for E610 VF.
Fixes: 316637762a5f ("net/ixgbe/base: enable E610 device")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
---
drivers/net/intel/ixgbe/ixgbe_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/intel/ixgbe/ixgbe_ethdev.c b/drivers/net/intel/ixgbe/ixgbe_ethdev.c
index b80d5894f8..0fa4898aba 100644
--- a/drivers/net/intel/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/intel/ixgbe/ixgbe_ethdev.c
@@ -7515,6 +7515,7 @@ ixgbe_mrqc_reg_get(enum ixgbe_mac_type mac_type) {
case ixgbe_mac_X550_vf:
case ixgbe_mac_X550EM_x_vf:
case ixgbe_mac_X550EM_a_vf:
+ case ixgbe_mac_E610_vf:
return IXGBE_VFMRQC;
default:
return IXGBE_MRQC;
@@ -7527,6 +7528,7 @@ ixgbe_rssrk_reg_get(enum ixgbe_mac_type mac_type, uint8_t i) {
case ixgbe_mac_X550_vf:
case ixgbe_mac_X550EM_x_vf:
case ixgbe_mac_X550EM_a_vf:
+ case ixgbe_mac_E610_vf:
return IXGBE_VFRSSRK(i);
default:
return IXGBE_RSSRK(i);
--
2.47.1
next prev parent reply other threads:[~2025-03-27 14:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-27 14:24 [PATCH v1 1/3] net/ixgbe: use check for VF function Anatoly Burakov
2025-03-27 14:24 ` Anatoly Burakov [this message]
2025-03-27 14:24 ` [PATCH v1 3/3] net/ixgbe: support MDD on VF Tx path Anatoly Burakov
2025-03-27 15:12 ` [PATCH v2 1/3] net/ixgbe: use check for VF function Anatoly Burakov
2025-03-27 15:12 ` [PATCH v2 2/3] net/ixgbe: fix VF registers for E610 Anatoly Burakov
2025-03-27 15:12 ` [PATCH v2 3/3] net/ixgbe: support MDD on VF Tx path Anatoly Burakov
2025-03-28 15:24 ` [PATCH v2 1/3] net/ixgbe: use check for VF function Bruce Richardson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d4abfd7295d5440eab3b481f20dca75034d9e406.1743085431.git.anatoly.burakov@intel.com \
--to=anatoly.burakov@intel.com \
--cc=bruce.richardson@intel.com \
--cc=carolyn.wyborny@intel.com \
--cc=dev@dpdk.org \
--cc=jedrzej.jagielski@intel.com \
--cc=piotr.kwapulinski@intel.com \
--cc=stable@dpdk.org \
--cc=vladimir.medvedkin@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).