Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> For non-EAL thread, bypass per lcore cache, directly use ring pool.
> It allows using rte_mempool in either EAL thread or any user pthread.
> As in non-EAL thread, it directly rely on rte_ring and it's none preemptive.
> It doesn't suggest to run
Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> For those none EAL thread, *_lcore_id* shall always be LCORE_ID_ANY.
> The libraries using *_lcore_id* as index need to take care.
> *_socket_id* always be SOCKET_ID_ANY unitl the thread changes the affinity
unitl -> until
> by rte_thread_set_af
Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> For those non-EAL thread, *_lcore_id* is invalid and probably larger than
> RTE_MAX_LCORE.
> The patch adds the check and allows only EAL thread using EAL per thread log
> level and log type.
> Others shares the global log level.
>
> Signed-off
Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> Add check for rte_socket_id(), avoid get unexpected return like (-1).
>
> Signed-off-by: Cunming Liang
> ---
> lib/librte_malloc/malloc_heap.h | 7 ++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/lib/librte_malloc/mal
Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> Some macro already been defined by freebsd 'sys/param.h'.
>
> Signed-off-by: Cunming Liang
> ---
> lib/librte_pmd_enic/enic.h| 1 +
> lib/librte_pmd_enic/enic_compat.h | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/lib/libr
Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> EAL threads use assigned cpuset to set core affinity during startup.
> It keeps 1:1 mapping, if no '--lcores' option is used.
>
> [...]
>
> lib/librte_eal/bsdapp/eal/eal.c | 13 ---
> lib/librte_eal/bsdapp/eal/eal_thread.c | 63 ++
Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> The rte_gettid() wraps the linux and freebsd syscall gettid().
> It provides a persistent unique thread id for the calling thread.
> It will save the unique id in TLS on the first time.
>
> [...]
>
> +/**
> + * A wrap API for syscall gettid.
> +
Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> The API works for both EAL thread and none EAL thread.
> When calling rte_thread_set_affinity, the *_socket_id* and
> *_cpuset* of calling thread will be updated if the thread
> successful set the cpu affinity.
>
> [...]
> +int
> +rte_thread_set_
Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> 1. add two TLS *_socket_id* and *_cpuset*
> 2. add two external API rte_thread_set/get_affinity
> 3. add one internal API eal_thread_dump_affinity
To me, it's a bit strage to add an API withtout the associated code.
Maybe you have a good reason t
Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> It returns the socket_id if all cpus in the cpuset belongs
> to the same NUMA node, otherwise it will return SOCKET_ID_ANY.
>
> Signed-off-by: Cunming Liang
> ---
> lib/librte_eal/bsdapp/eal/eal_lcore.c | 7 +
> lib/librte_eal/common/eal
Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> The problem is that strnlen() here may return invalid value with 32bit icc.
> (actually it returns it?s second parameter,e.g: sysconf(_SC_ARG_MAX)).
> It starts to manifest hwen max_len parameter is > 2M and using icc ?m32 ?O2
> (or above).
>
>
Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> It supports one new eal long option '--lcores' for EAL thread cpuset
> assignment.
>
> The format pattern:
> --lcores='lcores[@cpus]<,lcores[@cpus]>'
> lcores, cpus could be a single digit/range or a group.
> '(' and ')' are necessary if i
Hi,
On 02/02/2015 03:02 AM, Cunming Liang wrote:
> The patch adds 'cpuset' into per-lcore configure 'lcore_config[]',
> as the lcore no longer always 1:1 pinning with physical cpu.
> The lcore now stands for a EAL thread rather than a logical cpu.
>
> It doesn't change the default behavior of 1:1
Hi Robert,
On 02/06/2015 06:26 PM, Robert Sanford wrote:
> Hi Olivier,
>
> Thanks for reviewing this patch.
> Please see my responses to your comments, below.
>
> I also have one request for you. You probably use git almost every day.
> For people who only use git maybe once per year, could you
From: Stephen Hemminger
Silence is normal. drivers should speak only when spoken to and not
be chatty.
Signed-off-by: Stephen Hemminger
---
lib/librte_pmd_enic/enic_main.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/librte_pmd_enic/enic_main.c b/lib/librte_pmd_enic/enic_main.c
ind
From: Stephen Hemminger
Silence is normal. drivers should speak only when spoken to and not
be chatty.
Signed-off-by: Stephen Hemminger
---
lib/librte_pmd_enic/enic_main.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/librte_pmd_enic/enic_main.c b/lib/librte_pmd_enic/enic_main.c
ind
From: Stephen Hemminger
Silence is normal. drivers should speak only when spoken to and not
be chatty.
Signed-off-by: Stephen Hemminger
---
lib/librte_pmd_enic/enic_main.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/librte_pmd_enic/enic_main.c b/lib/librte_pmd_enic/enic_main.c
ind
On Fri, Feb 06, 2015 at 03:05:59PM +, Sergio Gonzalez Monroy wrote:
> This series introduces the new reorder library along with unit tests,
> sample app and a new entry in the programmers guide describing the library.
>
> The library provides reordering of mbufs based on their sequence number.
On Sun, Feb 08, 2015 at 04:31:39AM -0300, Ariel Rodriguez wrote:
> "virtual" is a reserved word in c++. When the c++ compiler "g++" use that
> header in a "extern way (just generate standard typo for function
> identifiers)", there`s not way that the compiler posible "turn off" the
> "virtual" rese
"virtual" is a reserved word in c++. When the c++ compiler "g++" use that
header in a "extern way (just generate standard typo for function
identifiers)", there`s not way that the compiler posible "turn off" the
"virtual" reserved word. If, for example, you guys use the "new" word ...
its just the
Thanks Stephen for all the info!
Do you expect this pmd driver will be in sync with FreeBSD repo in the future,
or it's going to be diverged? I am just asking from a maintenance stand point.
On Sat, Feb 7, 2015 at 11:15 PM, Stephen Hemminger
wrote:
> Source was from FreeBSD.
>
> changes were to
21 matches
Mail list logo