eal/windows: add interrupt functions stub
PATCH 1/1 eal/windows: add interrupt functions stub
Add some missing interrupt implementations on Windows. Also add respestive functions to export file.
--- lib/librte_eal/rte_eal_exports.def | 11 ++++ lib/librte_eal/windows/eal_interrupts.c | 76 +++++++++++++++++++++++++ 2 files changed, 87 insertions(+)
lib/librte_eal/rte_eal_exports.def +11 -0
@@ -63,6 +63,17 @@ EXPORTS rte_get_tsc_hz rte_hexdump rte_hypervisor_get + rte_intr_ack + rte_intr_allow_others + rte_intr_callback_register + rte_intr_callback_unregister + rte_intr_cap_multiple + rte_intr_disable + rte_intr_dp_is_en + rte_intr_efd_disable + rte_intr_efd_enable + rte_intr_enable + rte_intr_free_epoll_fd rte_intr_rx_ctl rte_lcore_count rte_lcore_has_role
lib/librte_eal/windows/eal_interrupts.c +76 -0
79 lines not on this page · raw message
Signature · 1 line
2.18.0.windows.1
Quoted 11 lines · Pallavi Kadam
Add some missing interrupt implementations on Windows. Also add respestive functions to export file.
Signed-off-by Tal Shnaiderman <[email protected]>Signed-off-by Pallavi Kadam <[email protected]>Reviewed-by Ranjit Menon <[email protected]>--- lib/librte_eal/rte_eal_exports.def | 11 ++++ lib/librte_eal/windows/eal_interrupts.c | 76 +++++++++++++++++++++++++ 2 files changed, 87 insertions(+)
Quoted 20 lines · Pallavi Kadam
Add some missing interrupt implementations on Windows. Also add respestive functions to export file.
Signed-off-by Tal Shnaiderman <[email protected]>Signed-off-by Pallavi Kadam <[email protected]>Reviewed-by Ranjit Menon <[email protected]>--- lib/librte_eal/rte_eal_exports.def | 11 ++++ lib/librte_eal/windows/eal_interrupts.c | 76 +++++++++++++++++++++++++ 2 files changed, 87 insertions(+)lib/librte_eal/rte_eal_exports.def +1
-0@@ -63,6 +63,17 @@ EXPORTS rte_get_tsc_hz rte_hexdump rte_hypervisor_get + rte_intr_ack
lib/librte_eal/rte_eal_exports.def EXPORTS · line 76
Quoted 10 lines
lib/librte_eal/rte_eal_exports.def +10
-0+ rte_intr_allow_others + rte_intr_callback_register + rte_intr_callback_unregister + rte_intr_cap_multiple + rte_intr_disable + rte_intr_dp_is_en + rte_intr_efd_disable + rte_intr_efd_enable + rte_intr_enable + rte_intr_free_epoll_fd
Might as well add all remaining interrupt APIs:
rte_intr_callback_unregister_pending
rte_intr_tls_epfd
Quoted 3 lines
lib/librte_eal/rte_eal_exports.def +0
-0rte_intr_rx_ctl rte_lcore_count rte_lcore_has_role
PATCH v2 1/1 eal/windows: add interrupt functions stub
In reply to Pallavi KadamAdd some missing interrupt implementations on Windows. Also add respective functions to export file.
v2 changes:
Add remaining interrupt APIs (Dmitry Kozlyuk)
--- lib/librte_eal/rte_eal_exports.def | 16 +++ lib/librte_eal/windows/eal_interrupts.c | 126 ++++++++++++++++++++++++ 2 files changed, 142 insertions(+)
lib/librte_eal/rte_eal_exports.def +16 -0
@@ -56,6 +56,9 @@ EXPORTS rte_eal_tailq_register rte_eal_using_phys_addrs rte_eal_wait_lcore + rte_epoll_ctl + rte_epoll_wait + rte_epoll_wait_interruptible rte_exit rte_free rte_get_main_lcore
@@ -63,7 +66,20 @@ EXPORTS rte_get_tsc_hz rte_hexdump rte_hypervisor_get + rte_intr_ack + rte_intr_allow_others + rte_intr_callback_register + rte_intr_callback_unregister + rte_intr_callback_unregister_pending + rte_intr_cap_multiple + rte_intr_disable + rte_intr_dp_is_en + rte_intr_efd_disable + rte_intr_efd_enable + rte_intr_enable + rte_intr_free_epoll_fd rte_intr_rx_ctl + rte_intr_tls_epfd rte_lcore_count rte_lcore_has_role rte_lcore_index
lib/librte_eal/windows/eal_interrupts.c +126 -0
129 lines not on this page · raw message
Signature · 1 line
2.18.0.windows.1
Hi Dmitry,
Quoted 33 lines · Dmitry Kozlyuk
Quoted 20 lines · Pallavi Kadam
Add some missing interrupt implementations on Windows. Also add respestive functions to export file.
Signed-off-by Tal Shnaiderman <[email protected]>Signed-off-by Pallavi Kadam <[email protected]>Reviewed-by Ranjit Menon <[email protected]>--- lib/librte_eal/rte_eal_exports.def | 11 ++++ lib/librte_eal/windows/eal_interrupts.c | 76 +++++++++++++++++++++++++ 2 files changed, 87 insertions(+)lib/librte_eal/rte_eal_exports.def +1
-0@@ -63,6 +63,17 @@ EXPORTS rte_get_tsc_hz rte_hexdump rte_hypervisor_get + rte_intr_acklib/librte_eal/rte_eal_exports.def EXPORTS · line 76
Quoted 10 lines
lib/librte_eal/rte_eal_exports.def +10
-0+ rte_intr_allow_others + rte_intr_callback_register + rte_intr_callback_unregister + rte_intr_cap_multiple + rte_intr_disable + rte_intr_dp_is_en + rte_intr_efd_disable + rte_intr_efd_enable + rte_intr_enable + rte_intr_free_epoll_fdMight as well add all remaining interrupt APIs:
Quoted 2 lines
rte_intr_callback_unregister_pending
rte_intr_tls_epfd
Sent out v2 with additional interrupt APIs.
Please let me know if anything is missing.
Thanks,
Quoted 4 lines
Quoted 4 lines
lib/librte_eal/rte_eal_exports.def +0
-0rte_intr_rx_ctl rte_lcore_count rte_lcore_has_role
Quoted 7 lines · Pallavi Kadam
Add some missing interrupt implementations on Windows. Also add respective functions to export file.
Signed-off-by Tal Shnaiderman <[email protected]>Signed-off-by Pallavi Kadam <[email protected]>Reviewed-by Ranjit Menon <[email protected]>Acked-by Narcisa Vasile <[email protected]>
Thomas Monjalon
Applied15/12/2020 23:39, Dmitry Kozlyuk:
Quoted 10 lines · Pallavi Kadam
Quoted 7 lines
Add some missing interrupt implementations on Windows. Also add respective functions to export file.
Signed-off-by Tal Shnaiderman <[email protected]>Signed-off-by Pallavi Kadam <[email protected]>Reviewed-by Ranjit Menon <[email protected]>Acked-by Narcisa Vasile <[email protected]>Acked-by Dmitry Kozlyuk <[email protected]>
Applied, thanks
Note: rte_eal_exports.def is sorted as version.map to ease comparison.