All can be applied.
On 20/03/2013 17:04, Thomas Monjalon wrote:
> Here are some patches which were not integrated by Intel in their 1.2.3
> version.
>
> ---
>
> Adrien Mazarguil (3):
>lib: fix non-C99 macros definitions in exported headers
>pci: reference driver structure for each device
From: Nicolas Dichtel
__devinit has been removed in linux commit 54b956b903
("Remove __dev* markings from init.h", 3.8-rc4).
Acked-by: Ivan Boule
Acked-by: Thomas Monjalon
Signed-off-by: Nicolas Dichtel
---
lib/librte_eal/linuxapp/igb_uio/igb_uio.c |4
1 files changed, 4 insertions(
From: Damien Millescamps
Allow to run without igb_uio if probed devices don't require it.
The condition for exiting with an error is:
- Tested driver is needed by a probed device
AND
- Tested driver needs igb_uio
Acked-by: Adrien Mazarguil
Signed-off-by: Damien Millescamps
---
lib/librte_
From: Adrien Mazarguil
Drivers with the flag RTE_PCI_DRV_MULTIPLE enabled will be bound several
times to the same device until they return an error.
These drivers must internally keep track of each device state in order for
this to work reliably.
This flag is currently required for Ethernet ada
From: Adrien Mazarguil
Add a driver reference (if available) to every PCI devices,
even when blacklisted. This information is made available in the global
device_list variable so users know which network devices are managed or
ignored.
Acked-by: Ivan Boule
Acked-by: Damien Millescamps
Signed-o
From: Damien Millescamps
The VMware TSC mapping uses a hook to RDPMC to read the physical TSC
in the case of VMware ESXi.
Introduce new option --vmware-tsc-map, ignored if
CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT is not set.
Default is CONFIG_RTE_LIBRTE_EAL_VMWARE_TSC_MAP_SUPPORT=y.
if CON
Frequency was guessed by sleeping 1 sec.
Now, read frequency from cpuinfo first.
Keep sleep method as fallback.
Acked-by: Ivan Boule
Signed-off-by: Thomas Monjalon
---
lib/librte_eal/linuxapp/eal/eal_hpet.c | 47 ---
1 files changed, 42 insertions(+), 5 deletions(-
From: Ivan Boule
Read flags from /proc/cpuinfo and warn if constant_tsc or nonstop_tsc is
not found.
Acked-by: Ivan Boule
Signed-off-by: Thomas Monjalon
---
lib/librte_eal/linuxapp/eal/eal_hpet.c | 37
1 files changed, 37 insertions(+), 0 deletions(-)
diff
The returned value of lseek is a virtual address
which can be different from the offset.
Indeed, if the return address has a 64-bit canonical form,
the 16 higher bits are all 1 if bit 47 is 1.
So the check was wrong. It is better to test against an error value.
Acked-by: Damien Millescamps
Signe
From: Adrien Mazarguil
The original definitions prevent external programs/libraries from compiling
without warnings when using these headers and -std=gnu99 (relaxed C99 mode).
Acked-by: Ivan Boule
Acked-by: Damien Millescamps
Signed-off-by: Adrien Mazarguil
---
lib/librte_cmdline/cmdline_cir
From: Zijie Pan
Fix compilation errors caused by uninitialized variables.
Acked-by: Ivan Boule
Acked-by: Adrien Mazarguil
Signed-off-by: Krzysztof Witek
Signed-off-by: Zijie Pan
---
lib/librte_pmd_igb/e1000_rxtx.c |4 ++--
lib/librte_pmd_igb/igb/e1000_vf.c |3 ++-
lib/librte_pmd_i
From: Zijie Pan
Fix warnings of type "Value stored to 'xxx' is never read".
Acked-by: Ivan Boule
Acked-by: Adrien Mazarguil
Signed-off-by: Zijie Pan
---
lib/librte_cmdline/cmdline_parse_ipaddr.c |1 -
lib/librte_eal/linuxapp/eal/eal_thread.c |2 --
lib/librte_lpm/rte_lpm.c
It was reporting "All test OK" even if previous tests (except the last
one) were failed.
Acked-by: Ivan Boule
Signed-off-by: Thomas Monjalon
---
app/test/autotest.py |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/app/test/autotest.py b/app/test/autotest.py
index
From: Damien Millescamps
A chained topology must always have an increment of 1.
Here, it was 2 if ports number is even.
Acked-by: Ivan Boule
Acked-by: Thomas Monjalon
Signed-off-by: Damien Millescamps
---
app/test-pmd/config.c | 20 +---
1 files changed, 9 insertions(+), 11
From: Ivan Boule
Build mbuf and lists of mbufs in a way compliant with the checks performed
by the function __rte_mbuf_sanity_check() when CONFIG_RTE_LIBRTE_MBUF_DEBUG=y
Acked-by: Olivier Matz
Signed-off-by: Ivan Boule
---
app/test-pmd/testpmd.c |1 +
app/test-pmd/txonly.c |1 +
2 fi
From: Olivier Matz
When compiling with llvm-clang, the notation "variable = variable"
produces a warning. We shall use "(void)variable" instead.
Acked-by: Ivan Boule
Signed-off-by: Olivier Matz
---
app/test/test_hash.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --gi
From: Zijie Pan
Fix warnings of type "Value stored to 'xxx' is never read".
Acked-by: Ivan Boule
Acked-by: Adrien Mazarguil
Signed-off-by: Zijie Pan
---
app/test-pmd/config.c |1 -
app/test/test.c |1 -
app/test/test_lpm.c |4 +---
app/test/test_ring.c |4 +---
4 fil
From: Ivan Boule
When a memory address must be read, for instance a [mapped] PCI register,
the read value is assigned to a local variable that is not used after,
as for instance:
x = *((uint8_t *) mem_addr);
Such instructions do not compile with gcc 4.6.
The fix consists in adding the "volat
From: Zijie Pan
In rte.toolchain-compat.mk, ensure MACHINE_CFLAGS is initialized when
using GCC 4.7. Update the GCC 4.6 test to also include GCC 4.7.
Acked-by: Ivan Boule
Acked-by: Adrien Mazarguil
Signed-off-by: Krzysztof Witek
Signed-off-by: Zijie Pan
---
mk/toolchain/gcc/rte.toolchain-co
From: Didier Pallard
Add mk/rte.shared.mk and mk/rte.extshared.mk in framework to
allow shared libraries compilation through framework
Acked-by: Ivan Boule
Signed-off-by: Didier Pallard
---
mk/rte.extshared.mk | 54 +++
mk/rte.shared.mk| 141 +
From: Didier Pallard
Correctly display executed install command in
rte.install-post.mk install rules
Acked-by: Ivan Boule
Signed-off-by: Didier Pallard
---
mk/internal/rte.install-post.mk |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mk/internal/rte.install-post.
From: Thierry Herbelot
Enable compilation for 32-bit architecture.
Acked-by: Ivan Boule
Signed-off-by: Thierry Herbelot
---
mk/arch/i686/rte.vars.mk |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mk/arch/i686/rte.vars.mk b/mk/arch/i686/rte.vars.mk
index 6f8e474..d6a
From: Samuel Gauthier
Using gcc is wrong, we should use the cross gcc to detect the
version of gcc.
Acked-by: Thomas Monjalon
Signed-off-by: Samuel Gauthier
---
mk/toolchain/gcc/rte.toolchain-compat.mk |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mk/toolchain/gc
Here are some patches which were not integrated by Intel in their 1.2.3 version.
---
Adrien Mazarguil (3):
lib: fix non-C99 macros definitions in exported headers
pci: reference driver structure for each device
pci: allow drivers to be bound several times to the same PCI device
Damien Mill
24 matches
Mail list logo