For virtual device, the rte_intr_handle struct is
initialized by the virtual device driver, including
the event fd assignment. If the event fd need to be
read for clean, an argument is required for the proper
event fd read.
This patch adds efd_counter_size in rte_intr_handle
struct to tell the rx
64bit load and store will be an atomic operation on all the
64bit processors.
Change RTE_ARCH_X86_64 to RTE_ARCH_64 to reflect the case.
Fixes: 9b15ba895b9f ("timer: use a skip list")
Cc: sta...@dpdk.org
Signed-off-by: Jerin Jacob
---
lib/librte_timer/rte_timer.c | 2 +-
1 file changed, 1 insert
The corrupted code doesn't return error when probe function
fails due to error in device mac address getting.
By this way, the probe function may return success even if the
ETH dev is not allocated.
Hence, the probe caller, for example failsafe PMD, fails when it
tries to get ETH dev after the dev
Extend the LSC event handling to support the device removal as well.
The Verbs library may send several related events, which are
different from LSC event.
The mlx5 event handling has been made capable of receiving and
signaling several event types at once.
This support includes next:
1. Removal
When calibrating the tsc frequency, first, probe the architecture specific
rdtsc hz function. if not available, use the existing calibrate scheme
to calibrate the tsc frequency.
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/eal_common_timer.c | 5 -
1 file changed, 4 insertions(+), 1
Use cntvct_el0 system register to get the system counter frequency.
If the system is configured with RTE_ARM_EAL_RDTSC_USE_PMU then
return 0(let the common code calibrate the tsc frequency).
CC: Jianbo Liu
Signed-off-by: Jerin Jacob
---
.../common/include/arch/arm/rte_cycles_64.h| 30 +
CC: Jan Viktorin
CC: Jianbo Liu
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/arm/rte_cycles_32.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/lib/librte_eal/common/include/arch/arm/rte_cycles_32.h
b/lib/librte_eal/common/include/arch/arm/rte_cycles_32
CC: Chao Zhu
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h
b/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h
index 8fa6fc60b..
CC: Bruce Richardson
CC: Konstantin Ananyev
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/x86/rte_cycles.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/lib/librte_eal/common/include/arch/x86/rte_cycles.h
b/lib/librte_eal/common/include/arch/x86/rte_cy
Some architecture like armv8 provides an architecture specific function
to get the rdtsc frequency. The existing rdtsc calibration scheme uses
OS serivce like sleep(1) to calibrate the frequency which may not
produce the accurate result. Introducing an architecture specific hook
to get the rdtsc fr
10 matches
Mail list logo