From: Ciara Loftus <ciara.loftus@intel.com>
To: dev@dpdk.org
Cc: Ciara Loftus <ciara.loftus@intel.com>
Subject: [PATCH 04/10] net/idpf: prevent Rx path selection after device start
Date: Thu, 5 Feb 2026 10:30:02 +0000 [thread overview]
Message-ID: <20260205103008.190493-5-ciara.loftus@intel.com> (raw)
In-Reply-To: <20260205103008.190493-1-ciara.loftus@intel.com>
To fall in line with other drivers using the Rx path selection
infrastructure, prevent Rx path selection after the device has started.
Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
---
drivers/net/intel/idpf/idpf_rxtx.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/net/intel/idpf/idpf_rxtx.c b/drivers/net/intel/idpf/idpf_rxtx.c
index cee454244f..de880bdc5f 100644
--- a/drivers/net/intel/idpf/idpf_rxtx.c
+++ b/drivers/net/intel/idpf/idpf_rxtx.c
@@ -783,6 +783,10 @@ idpf_set_rx_function(struct rte_eth_dev *dev)
struct idpf_rx_queue *rxq;
int i;
+ /* If the device has started the function has already been selected. */
+ if (dev->data->dev_started)
+ goto out;
+
if (idpf_rx_vec_dev_check_default(dev) == IDPF_VECTOR_PATH &&
rte_vect_get_max_simd_bitwidth() >= RTE_VECT_SIMD_256)
req_features.simd_width = idpf_get_max_simd_bitwidth();
@@ -814,6 +818,7 @@ idpf_set_rx_function(struct rte_eth_dev *dev)
}
#endif
+out:
dev->rx_pkt_burst = idpf_rx_path_infos[ad->rx_func_type].pkt_burst;
PMD_DRV_LOG(NOTICE, "Using %s Rx (port %d).",
idpf_rx_path_infos[ad->rx_func_type].info, dev->data->port_id);
--
2.43.0
next prev parent reply other threads:[~2026-02-05 10:30 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-05 10:29 [PATCH 00/10] Fix multi process path selection in Intel drivers Ciara Loftus
2026-02-05 10:29 ` [PATCH 01/10] net/i40e: permit secondary process Rx path selection Ciara Loftus
2026-02-05 10:30 ` [PATCH 02/10] net/iavf: " Ciara Loftus
2026-02-05 10:30 ` [PATCH 03/10] net/ice: " Ciara Loftus
2026-02-05 10:30 ` Ciara Loftus [this message]
2026-02-05 10:30 ` [PATCH 05/10] net/cpfl: prevent Rx path selection after device start Ciara Loftus
2026-02-05 10:30 ` [PATCH 06/10] net/i40e: permit secondary process Tx path selection Ciara Loftus
2026-02-05 10:30 ` [PATCH 07/10] net/iavf: " Ciara Loftus
2026-02-05 10:30 ` [PATCH 08/10] net/ice: " Ciara Loftus
2026-02-05 10:30 ` [PATCH 09/10] net/idpf: " Ciara Loftus
2026-02-05 10:30 ` [PATCH 10/10] net/cpfl: " Ciara Loftus
2026-02-05 12:46 ` [PATCH v2 00/10] Fix multi process path selection in Intel drivers Ciara Loftus
2026-02-05 12:46 ` [PATCH v2 01/10] net/i40e: permit secondary process Rx path selection Ciara Loftus
2026-02-13 13:15 ` Bruce Richardson
2026-02-17 11:38 ` Loftus, Ciara
2026-02-05 12:46 ` [PATCH v2 02/10] net/iavf: " Ciara Loftus
2026-02-05 12:46 ` [PATCH v2 03/10] net/ice: " Ciara Loftus
2026-02-05 12:46 ` [PATCH v2 04/10] net/idpf: prevent Rx path selection after device start Ciara Loftus
2026-02-05 12:46 ` [PATCH v2 05/10] net/cpfl: " Ciara Loftus
2026-02-05 12:46 ` [PATCH v2 06/10] net/i40e: permit secondary process Tx path selection Ciara Loftus
2026-02-05 12:46 ` [PATCH v2 07/10] net/iavf: " Ciara Loftus
2026-02-05 12:46 ` [PATCH v2 08/10] net/ice: " Ciara Loftus
2026-02-05 12:46 ` [PATCH v2 09/10] net/idpf: " Ciara Loftus
2026-02-05 12:46 ` [PATCH v2 10/10] net/cpfl: " Ciara Loftus
2026-02-18 9:49 ` [PATCH v3 00/10] Fix multi process path selection in Intel drivers Ciara Loftus
2026-02-18 9:49 ` [PATCH v3 01/10] net/i40e: permit secondary process Rx path selection Ciara Loftus
2026-02-18 10:03 ` Bruce Richardson
2026-02-18 9:49 ` [PATCH v3 02/10] net/iavf: " Ciara Loftus
2026-02-18 10:03 ` Bruce Richardson
2026-02-18 9:49 ` [PATCH v3 03/10] net/ice: " Ciara Loftus
2026-02-18 10:04 ` Bruce Richardson
2026-02-18 9:49 ` [PATCH v3 04/10] net/idpf: prevent Rx path selection after device start Ciara Loftus
2026-02-18 10:04 ` Bruce Richardson
2026-02-18 9:49 ` [PATCH v3 05/10] net/cpfl: " Ciara Loftus
2026-02-18 10:05 ` Bruce Richardson
2026-02-18 9:49 ` [PATCH v3 06/10] net/i40e: permit secondary process Tx path selection Ciara Loftus
2026-02-18 10:05 ` Bruce Richardson
2026-02-18 9:49 ` [PATCH v3 07/10] net/iavf: " Ciara Loftus
2026-02-18 10:06 ` Bruce Richardson
2026-02-18 9:49 ` [PATCH v3 08/10] net/ice: " Ciara Loftus
2026-02-18 10:08 ` Bruce Richardson
2026-02-18 9:49 ` [PATCH v3 09/10] net/idpf: " Ciara Loftus
2026-02-18 10:08 ` Bruce Richardson
2026-02-18 9:49 ` [PATCH v3 10/10] net/cpfl: " Ciara Loftus
2026-02-18 10:09 ` Bruce Richardson
2026-02-18 12:29 ` [PATCH v3 00/10] Fix multi process path selection in Intel drivers 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=20260205103008.190493-5-ciara.loftus@intel.com \
--to=ciara.loftus@intel.com \
--cc=dev@dpdk.org \
/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