hi Daniele,
I reviewed this patch. One question to ask: should we check the
hugepage mm before calling the rte_eal_init()? improvement on next version?


Thanks.
Nick

> On Jan 9, 2017, at 11:21 AM, Daniele Di Proietto <[email protected]> 
> wrote:
> 
> With this commit, we allow the user to set other_config:dpdk-init=true
> after the process is started.  This makes it easier to start Open
> vSwitch with DPDK using standard init scripts without restarting the
> service.
> 
> This is still far from ideal, because initializing DPDK might still
> abort the process (e.g. if there not enough memory), so the user must
> check the status of the process after setting dpdk-init to true.
> 
> Nonetheless, I think this is an improvement, because it doesn't require
> restarting the whole unit.
> 
> CC: Aaron Conole <[email protected] <mailto:[email protected]>>
> Signed-off-by: Daniele Di Proietto <[email protected] 
> <mailto:[email protected]>>
> ---
> v1->v2: No change, first non-RFC post.
> ---
> lib/dpdk-stub.c         |  8 ++++----
> lib/dpdk.c              | 30 ++++++++++++++++++++----------
> tests/ofproto-macros.at <http://ofproto-macros.at/> |  2 +-
> 3 files changed, 25 insertions(+), 15 deletions(-)

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to