array in struct priority_worker
wasn't useful and should be removed. This allows us
to also remove num_dequeue_pkts_prev and pc from
struct priority_worker since they are only used in
conjunction with the ppi_av array.
Signed-off-by: Jim Harris
---
lib/power/rte_power_empty_poll.c | 12 +--
clang-13 rightfully complains that the total_deq_ops
variable in cperf_cyclecount_op_setup is set but not
used, since the final accumulated total_deq_ops
results isn't used anywhere. So just remove the
total_deq_ops variable.
Signed-off-by: Jim Harris
---
app/test-compress
clang-13 rightfully complains that the tot_ppi
variable in update_stats is set but not used, since
the final accumulated tot_ppi results isn't used
anywhere. So just remove the tot_ppi variable.
Signed-off-by: Jim Harris
---
lib/power/rte_power_empty_poll.c | 3 +--
1 file changed, 1 inse
clang-13 rightfully complains that the total_mem
variable in eal_parse_socket_arg is set but not
used, since the final accumulated total_mem
result isn't used anywhere. So just remove the
total_mem variable.
Signed-off-by: Jim Harris
---
lib/eal/linux/eal.c | 2 --
1 file changed, 2 dele
When a device is inserted into an existing BDF slot
that has not been probed, we must overwrite the old
PCI ID with the ID of the new function. Otherwise
we may not probe the function with the correct driver,
if at all.
Signed-off-by: Jim Harris
---
drivers/bus/pci/linux/pci.c | 4 +++-
1 file
When a device is inserted into an existing BDF slot
that has not been probed, we must overwrite the old
PCI ID with the ID of the new function. Otherwise
we may not probe the function with the correct driver,
if at all.
Signed-off-by: Jim Harris
---
drivers/bus/pci/linux/pci.c | 4 +++-
1 file
When a device is inserted into an existing BDF slot
that has not been probed, we must overwrite the old
PCI ID with the ID of the new function. Otherwise
we may not probe the function with the correct driver,
if at all.
Signed-off-by: Jim Harris
---
drivers/bus/pci/linux/pci.c | 4 +++-
1 file
When a device is inserted into an existing BDF slot
that has not been probed, we must overwrite the old
PCI ID with the ID of the new function. Otherwise
we may not probe the function with the correct driver,
if at all.
Signed-off-by: Jim Harris
---
drivers/bus/pci/linux/pci.c | 4 +++-
1 file
When a device is inserted into an existing BDF slot
that has not been probed, we must overwrite the old
PCI ID with the ID of the new function. Otherwise
we may not probe the function with the correct driver,
if at all.
Signed-off-by: Jim Harris
---
drivers/bus/pci/linux/pci.c | 4 +++-
1 file
ned-off-by: Jim Harris
---
kernel/freebsd/contigmem/contigmem.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/kernel/freebsd/contigmem/contigmem.c
b/kernel/freebsd/contigmem/contigmem.c
index 64e0a7fec..abb76f241 100644
--- a/kernel/freebsd/contigmem/contigmem.c
+++ b/kern
;s just remove it.
While the warning has no functional meaning, the
/proc/cpuinfo parsing consumes a non-trivial amount
of time which is especially noticeable in secondary
processes. On my test system, it consumes
21ms out of the 66ms total execution time for
rte_eal_init() in a secondary pro
sc_hz without ABI breakage
concerns.
Reduces rte_eal_init() execution time in a secondary
process from 165ms to 66ms on my test system.
Signed-off-by: Jim Harris
---
lib/librte_eal/common/eal_common_timer.c | 15 +++
lib/librte_eal/common/eal_memcfg.h |3 +++
2 files ch
case, since the function is
declared __rte_always_inline.
This also requires updating the vhost_scsi example to allow
use of this newly marked experimental API.
Signed-off-by: Jim Harris
---
examples/vhost_scsi/Makefile|2 ++
examples/vhost_scsi/meson.build |1 +
lib/librte_vhost/rte_vh
sc_hz without ABI breakage
concerns.
Reduces rte_eal_init() execution time in a secondary
process from 165ms to 66ms on my test system.
Signed-off-by: Jim Harris
---
lib/librte_eal/common/eal_common_timer.c | 15 +++
lib/librte_eal/common/eal_memcfg.h |3 +++
2 files ch
process can lookup.
Reduces rte_eal_init() execution time in a secondary
process from 165ms to 66ms on my test system.
Signed-off-by: Jim Harris
---
lib/librte_eal/common/eal_common_timer.c | 20 ++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/lib/librte_eal
process can lookup.
Reduces rte_eal_init() execution time in a secondary
process from 165ms to 66ms on my test system.
Signed-off-by: Jim Harris
---
lib/librte_eal/common/eal_common_timer.c | 24 +---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/lib/librte_eal
primary process
instead using rte_mp_msg. This is much faster than
100ms.
Reduces rte_eal_init() execution time in a secondary
process from 165ms to 66ms on my test system.
Signed-off-by: Jim Harris
---
lib/librte_eal/common/eal_common_timer.c | 62 ++
1 file
primary process
instead using rte_mp_msg. This is much faster than
100ms.
Reduces rte_eal_init() execution time in a secondary
process from 165ms to 66ms on my test system.
Signed-off-by: Jim Harris
Change-Id: I584419ed1c7d6f47841e0a0eb23f34c9f1186d35
---
lib/librte_eal/common
primary process
instead using rte_mp_msg. This is much faster than
100ms.
Reduces rte_eal_init() execution time in a secondary
process from 165ms to 66ms on my test system.
Signed-off-by: Jim Harris
Change-Id: I584419ed1c7d6f47841e0a0eb23f34c9f1186d35
---
lib/librte_eal/common
;s just remove it.
While the warning has no functional meaning, the
/proc/cpuinfo parsing consumes a non-trivial amount
of time which is especially noticeable in secondary
processes. On my test system, it consumes
21ms out of the 66ms total execution time for
rte_eal_init() in a secondary pro
s no functional meaning, the
/proc/cpuinfo parsing consumes a non-trivial amount
of time which is especially noticeable in secondary
processes. On my test system, it consumes
21ms out of the 66ms total execution time for
rte_eal_init() in a secondary process.
Signed-off-by: Jim Harris
---
lib/librt
case, since the function is
declared __rte_always_inline.
Signed-off-by: Jim Harris
---
lib/librte_vhost/rte_vhost.h |1 +
1 file changed, 1 insertion(+)
diff --git a/lib/librte_vhost/rte_vhost.h b/lib/librte_vhost/rte_vhost.h
index 7fb172912..fc27bc21e 100644
--- a/lib/librte_vhost/rte_vhost.h
-finstrument-functions.
Signed-off-by: Jim Harris
---
lib/librte_vhost/rte_vhost_version.map |1 -
1 file changed, 1 deletion(-)
diff --git a/lib/librte_vhost/rte_vhost_version.map
b/lib/librte_vhost/rte_vhost_version.map
index 5f1d4a75c..4908b9b21 100644
--- a/lib/librte_vhost
e for
rte_eal_init().
So let's just skip checking these flags in secondary
processes. Since the primary process is already
parsing the entirety of /proc/cpuinfo, the warning
printed in the primary process should be sufficient.
Signed-off-by: Jim Harris
---
lib/librte_eal/linux/eal/eal_time
e for
rte_eal_init().
So let's just skip checking these flags in secondary
processes. Since the primary process is already
parsing the entirety of /proc/cpuinfo, the warning
printed in the primary process should be sufficient.
Signed-off-by: Jim Harris
---
lib/librte_eal/linux/eal/eal_time
the TSC hz from the primary process.
This cuts rte_eal_init() execution time in a secondary
process from 165ms to 66ms in my test program.
Signed-off-by: Jim Harris
---
lib/librte_eal/common/eal_common_timer.c | 70 +-
1 file changed, 68 insertions(+), 2 deletion
template for using
rte_mp_request_sync().
Signed-off-by: Jim Harris
---
lib/librte_eal/linux/eal/eal_vfio.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/lib/librte_eal/linux/eal/eal_vfio.c
b/lib/librte_eal/linux/eal/eal_vfio.c
index 501c74f23..d9541b122
e for
rte_eal_init().
So let's just skip checking these flags in secondary
processes. Since the primary process is already
parsing the entirety of /proc/cpuinfo, the warning
printed in the primary process should be sufficient.
Signed-off-by: Jim Harris
---
lib/librte_eal/linux/eal/eal_time
the TSC hz from the primary process.
This cuts rte_eal_init() execution time in a secondary
process from 165ms to 66ms in my test program.
Signed-off-by: Jim Harris
---
lib/librte_eal/common/eal_common_timer.c | 70 +-
1 file changed, 68 insertions(+), 2 deletion
the TSC hz from the primary process.
This cuts rte_eal_init() execution time in a secondary
process from 165ms to 66ms in my test program.
Signed-off-by: Jim Harris
---
lib/librte_eal/common/eal_common_timer.c | 70 +-
1 file changed, 68 insertions(+), 2 deletion
e for
rte_eal_init().
So let's just skip checking these flags in secondary
processes. Since the primary process is already
parsing the entirety of /proc/cpuinfo, the warning
printed in the primary process should be sufficient.
Signed-off-by: Jim Harris
---
lib/librte_eal/linux/eal/eal_time
) exactly as it was originally
allocated.
Since part of this patch is extending the size of struct
malloc_elem, we also fix up the malloc autotests so they
do not assume its size exactly fits in one cacheline.
Signed-off-by: Jim Harris
---
doc/guides/linux_gsg/linux_eal_parameters.rst | 4
doc
callback) exactly as it was originally
allocated.
Since part of this patch is extending the size of struct
malloc_elem, we also fix up the malloc autotests so they
do not assume its size exactly fits in one cacheline.
Signed-off-by: Jim Harris
---
doc/guides/prog_guide/env_abstraction_layer.rst | 13
tered - implementation of one
of those is deferred pending feedback on this RFC.
Signed-off-by: Jim Harris
---
lib/librte_eal/common/malloc_elem.c | 14 ++
lib/librte_eal/common/malloc_elem.h | 6 +-
lib/librte_eal/common/malloc_heap.c | 7 ++-
3 files changed, 21 insertions(+), 6 dele
Verkamp
Tested-by: Daniel Verkamp
Acked-by: Sergio Gonzalez Monroy
Signed-off-by: Jim Harris
---
lib/librte_eal/bsdapp/contigmem/contigmem.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/librte_eal/bsdapp/contigmem/contigmem.c
b/lib/librte_eal/bsdapp/contig
was OK on Linux
because the kernel zeroes the pages during app start,
but this broke FreeBSD. So this patch explicitly
zeroes the pages before they are mmap'd, to ensure
equivalent behavior to Linux
Reported-by: Daniel Verkamp
Tested-by: Daniel Verkamp
Signed-off-by: Jim Harris
---
Fix the descriptor initialization loop, so that it initializes
the i40e_tx_desc::cmd_type_offset_bsz for the correct index
into the tx_ring array.
Previously it would use the index once to initialize the txd
local variable, then again when setting cmd_type_offset_bsz.
Signed-off-by: Jim Harris
37 matches
Mail list logo