Skip to contentSkip to conversation

ethdev: remove experimental flag from getting intr fd API

PATCH Applied Xiaoyun Li 5 participants 7 messages Sep 1, 2021 – Sep 14, 2021

lore
Share & tools
lore

Xiaoyun Li

author
#0 lore raw

PATCH 1/1 ethdev: remove experimental flag from getting intr fd API

Remove the experimental tag for rte_eth_dev_rx_intr_ctl_q_get_fd API that was introduced in 18.11 and have been around for 11 releases.

---
 lib/ethdev/rte_ethdev.h | 4 ----
 lib/ethdev/version.map  | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)
lib/ethdev/rte_ethdev.h +0 -4
index d2b27c351f..2ccd651490 100644
@@ -3647,9 +3647,6 @@ int rte_eth_dev_rx_intr_ctl_q(uint16_t port_id, uint16_t queue_id,
 			      int epfd, int op, void *data);
 
 /**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice.
- *
  * Get interrupt fd per Rx queue.
  *
  * @param port_id
@@ -3663,7 +3660,6 @@ int rte_eth_dev_rx_intr_ctl_q(uint16_t port_id, uint16_t queue_id,
  *           successful.
  *   - (-1) on error.
  */
-__rte_experimental
 int
 rte_eth_dev_rx_intr_ctl_q_get_fd(uint16_t port_id, uint16_t queue_id);
 
lib/ethdev/version.map +1 -1
index 3eece75b72..a0fc4826a1 100644
@@ -42,6 +42,7 @@ DPDK_22 {
 	rte_eth_dev_rss_reta_update;
 	rte_eth_dev_rx_intr_ctl;
 	rte_eth_dev_rx_intr_ctl_q;
+	rte_eth_dev_rx_intr_ctl_q_get_fd;
 	rte_eth_dev_rx_intr_disable;
 	rte_eth_dev_rx_intr_enable;
 	rte_eth_dev_rx_offload_name;
@@ -154,7 +155,6 @@ EXPERIMENTAL {
 	rte_eth_dev_get_module_info;
 
 	# added in 18.11
-	rte_eth_dev_rx_intr_ctl_q_get_fd;
 	rte_flow_conv;
 
 	# added in 19.05
Signature · 1 line
2.25.1
Acked-by
#3 lore raw
Quoted 5 lines · Ferruh Yigit
Quoted 4 lines · Andrew Rybchenko
Quoted 3 lines · Xiaoyun Li

Remove the experimental tag for rte_eth_dev_rx_intr_ctl_q_get_fd API that was introduced in 18.11 and have been around for 11 releases.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Applied
#4 lore raw
Quoted 8 lines · Ray
Quoted 5 lines · Ferruh Yigit
Quoted 4 lines · Andrew Rybchenko
Quoted 3 lines · Xiaoyun Li

Remove the experimental tag for rte_eth_dev_rx_intr_ctl_q_get_fd API that was introduced in 18.11 and have been around for 11 releases.

Quoted 9 lines
Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Applied to dpdk-next-net/main, thanks.

Acked-by on v1 1/1
#5 lore raw
In reply to Xiaoyun Li
Quoted 5 lines · Xiaoyun Li

Remove the experimental tag for rte_eth_dev_rx_intr_ctl_q_get_fd API that was introduced in 18.11 and have been around for 11 releases.

Odd that this API is used nowhere in-tree but it provides a simple alternative to the DPDK interrupt builtin framework.
I had a go with this in OVS, and it seems to work as described (once fixed virtio-user).

Signature · 1 line
David Marchand
Acked-by
#6 lore raw
Quoted 5 lines · David Marchand
Quoted 4 lines · Xiaoyun Li

Remove the experimental tag for rte_eth_dev_rx_intr_ctl_q_get_fd API that was introduced in 18.11 and have been around for 11 releases.

Quoted 9 lines
Quoted 1 line

Odd that this API is used nowhere in-tree but it provides a simple alternative to the DPDK interrupt builtin framework.
I had a go with this in OVS, and it seems to work as described (once fixed virtio-user).

FD.io VPP uses it, in its interrupt mgmt framework.

Ray K