[PATCH] ethdev: fix copy-paste error in fn parameter description

Bruce Richardson bruce.richardson at intel.com
Fri Oct 3 13:09:44 CEST 2025


The description of the rx_queue_id parameter was copy-pasted from the
queue mapping function without being updated. Fix the text.

Fixes: 81f9db8ecc2c ("ethdev: add vlan offload support")
Cc: stable at dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 lib/ethdev/rte_ethdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index a122df4e8e..6ab934b60c 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -3711,7 +3711,7 @@ int rte_eth_dev_vlan_filter(uint16_t port_id, uint16_t vlan_id, int on);
  * @param port_id
  *   The port identifier of the Ethernet device.
  * @param rx_queue_id
- *   The index of the receive queue for which a queue stats mapping is required.
+ *   The index of the receive queue on which to enable/disable VLAN stripping.
  *   The value must be in the range [0, nb_rx_queue - 1] previously supplied
  *   to rte_eth_dev_configure().
  * @param on
-- 
2.48.1



More information about the dev mailing list