Re: [dpdk-dev] [PATCH v3 1/2] eal: add additional info if core list too long

2021-09-21 Thread David Hunt
On 21/9/2021 2:51 PM, David Marchand wrote: On Tue, Sep 21, 2021 at 1:50 PM David Hunt wrote: static int eal_parse_coremask(const char *coremask, int *cores) { @@ -839,54 +880,89 @@ eal_parse_service_corelist(const char *corelist) static int eal_parse_corelist(const char *corelist,

Re: [dpdk-dev] [PATCH v3 1/2] eal: add additional info if core list too long

2021-09-21 Thread David Marchand
On Tue, Sep 21, 2021 at 1:50 PM David Hunt wrote: > static int > eal_parse_coremask(const char *coremask, int *cores) > { > @@ -839,54 +880,89 @@ eal_parse_service_corelist(const char *corelist) > static int > eal_parse_corelist(const char *corelist, int *cores) > { > - unsigned count

Re: [dpdk-dev] [PATCH v3 1/2] eal: add additional info if core list too long

2021-09-21 Thread Bruce Richardson
On Tue, Sep 21, 2021 at 02:16:35PM +0100, David Hunt wrote: >On 21/9/2021 1:04 PM, David Hunt wrote: > > On 21/9/2021 12:57 PM, Bruce Richardson wrote: > > On Tue, Sep 21, 2021 at 12:50:14PM +0100, David Hunt wrote: > > If the user requests to use an lcore above 128 using -l,

Re: [dpdk-dev] [PATCH v3 1/2] eal: add additional info if core list too long

2021-09-21 Thread David Hunt
On 21/9/2021 1:04 PM, David Hunt wrote: On 21/9/2021 12:57 PM, Bruce Richardson wrote: On Tue, Sep 21, 2021 at 12:50:14PM +0100, David Hunt wrote: If the user requests to use an lcore above 128 using -l, the eal will exit with "EAL: invalid core list syntax" and very little else useful infor

Re: [dpdk-dev] [PATCH v3 1/2] eal: add additional info if core list too long

2021-09-21 Thread David Hunt
On 21/9/2021 12:57 PM, Bruce Richardson wrote: On Tue, Sep 21, 2021 at 12:50:14PM +0100, David Hunt wrote: If the user requests to use an lcore above 128 using -l, the eal will exit with "EAL: invalid core list syntax" and very little else useful information. THis patch adds some extra inform

Re: [dpdk-dev] [PATCH v3 1/2] eal: add additional info if core list too long

2021-09-21 Thread Bruce Richardson
On Tue, Sep 21, 2021 at 12:50:14PM +0100, David Hunt wrote: > If the user requests to use an lcore above 128 using -l, > the eal will exit with "EAL: invalid core list syntax" and > very little else useful information. > > THis patch adds some extra information suggesting to use --lcores > so that

[dpdk-dev] [PATCH v3 1/2] eal: add additional info if core list too long

2021-09-21 Thread David Hunt
If the user requests to use an lcore above 128 using -l, the eal will exit with "EAL: invalid core list syntax" and very little else useful information. THis patch adds some extra information suggesting to use --lcores so that physical cores above RTE_MAX_LCORE (default 128) can be used. This is a