[ovs-dev] [PATCH] netdev-dpdk: Allow changing NON_PMD_CORE_ID for testing purpose.

Alex Wang alexw at nicira.com
Wed Feb 11 01:34:36 UTC 2015


Thx everyone for the help and review,

I apply the patch with following comment:

diff --git a/lib/netdev-dpdk.h b/lib/netdev-dpdk.h
index 9a47165..694899c 100644
--- a/lib/netdev-dpdk.h
+++ b/lib/netdev-dpdk.h
@@ -5,6 +5,9 @@

 struct dpif_packet;

+/* Reserves cpu core 0 for all non-pmd threads.  Changing the value of this
+ * macro will allow pmd thread to be pinned on cpu core 0.  This may not be
+ * ideal since the core may be non-isolated. */
 #define NON_PMD_CORE_ID 0


On Mon, Feb 9, 2015 at 3:07 PM, Pravin Shelar <pshelar at nicira.com> wrote:

> On Mon, Feb 9, 2015 at 2:24 PM, Alex Wang <alexw at nicira.com> wrote:
> > Pravin,
> >
> > Based on my test and Kevin's confirmation, I think it is safe to apply
> this
> > patch for now.  What do you think?
> >
>
> If you already have done test with CONFIG_RTE_LIBRTE_MBUF_DEBUG then I
> am ok with the patch.
>
> Acked-by: Pravin B Shelar <pshelar at nicira.com>
>



More information about the dev mailing list