Re: [dpdk-dev] [PATCH v5 1/2] eal: allow user to override default pool handle

2017-10-06 Thread Thomas Monjalon
06/10/2017 05:31, santosh: > > On Friday 06 October 2017 05:59 AM, Thomas Monjalon wrote: > > 01/10/2017 11:14, Santosh Shukla: > >> --- a/lib/librte_eal/common/eal_common_options.c > >> +++ b/lib/librte_eal/common/eal_common_options.c > >> @@ -98,6 +98,7 @@ eal_long_options[] = { > >>{OPT_VFI

Re: [dpdk-dev] [PATCH v5 1/2] eal: allow user to override default pool handle

2017-10-05 Thread santosh
On Friday 06 October 2017 05:59 AM, Thomas Monjalon wrote: > 01/10/2017 11:14, Santosh Shukla: >> --- a/lib/librte_eal/common/eal_common_options.c >> +++ b/lib/librte_eal/common/eal_common_options.c >> @@ -98,6 +98,7 @@ eal_long_options[] = { >> {OPT_VFIO_INTR, 1, NULL, OPT_VFIO_INTR_

Re: [dpdk-dev] [PATCH v5 1/2] eal: allow user to override default pool handle

2017-10-05 Thread Thomas Monjalon
01/10/2017 11:14, Santosh Shukla: > --- a/lib/librte_eal/common/eal_common_options.c > +++ b/lib/librte_eal/common/eal_common_options.c > @@ -98,6 +98,7 @@ eal_long_options[] = { > {OPT_VFIO_INTR, 1, NULL, OPT_VFIO_INTR_NUM}, > {OPT_VMWARE_TSC_MAP,0, NULL, OPT_VMWARE

Re: [dpdk-dev] [PATCH v5 1/2] eal: allow user to override default pool handle

2017-10-02 Thread Olivier MATZ
On Sun, Oct 01, 2017 at 02:44:39PM +0530, Santosh Shukla wrote: > DPDK has support for both sw and hw mempool and > currently user is limited to use ring_mp_mc pool. > In case user want to use other pool handle, > need to update config RTE_MEMPOOL_OPS_DEFAULT, then > build and run with desired pool

[dpdk-dev] [PATCH v5 1/2] eal: allow user to override default pool handle

2017-10-01 Thread Santosh Shukla
DPDK has support for both sw and hw mempool and currently user is limited to use ring_mp_mc pool. In case user want to use other pool handle, need to update config RTE_MEMPOOL_OPS_DEFAULT, then build and run with desired pool handle. Introducing eal option to override default pool handle. Now use