- next part --
An HTML attachment was scrubbed...
URL:
<http://dpdk.org/ml/archives/dev/attachments/20130801/f78116b2/attachment.html>
Thanks Stephen for the hack.
Unfortunately, our main already has parameters, and are all
platform(architecture) agnostic, so this would break the assumption that
arguments should be platform agnostic.
But anyway thanks ;)
marc
On 01/08/13 19:06, Stephen Hemminger wrote:
> On Thu, 01 Aug 2013 1
ven't lost too much sleep over it.
>
> My only annoyance is that eal_init() takes a non-const.
>
> - antti
-- next part --
An HTML attachment was scrubbed...
URL:
<http://dpdk.org/ml/archives/dev/attachments/20130801/fcdeb568/attachment.html>
On 1.8.2013 19:13, Marc Sune wrote:
> Regarding the rte_eal_init(), if the concern is the number of parameters
> and backwards compatibility, a typical solution is to create a struct
> containing the parameters:
>
>
> typedef struct eal_init_params{
> uint64_t coremask;
> unsigned int nu
Dear Thomas,
Regarding the MAIN, then I understand is not really necessary for Linux
user-space applications, and that is there in the examples because they
can run both baremetal and userspace... this is fine.
Regarding the rte_eal_init(), if the concern is the number of parameters
and backwa
Hello,
01/08/2013 17:37, Marc Sune :
> In our case, we are right now simply faking the argv, which is a little
> bit ugly:
>
> //...
> 37 const char* argv[EAL_ARGS] = {"./fake", "-c",CORE_MASK,
> "-n",NUM_CACHE_LINES, ""};
> //...
> 53 ret = rte_eal_init(EAL_ARGS, (char**)argv
Dear all,
Sorry in advance if there is another API for this and I haven't found
it, or if there is a strong reason for having it this way. I've seen
that in the case of both baremetal and Linux applications, the way to
initialize EAL is passing argv:
//...
/* init EAL */
ret = rte_e
On Thu, 01 Aug 2013 20:17:43 +0200
Marc Sune wrote:
> Thanks Stephen for the hack.
>
> Unfortunately, our main already has parameters, and are all
> platform(architecture) agnostic, so this would break the assumption that
> arguments should be platform agnostic.
>
> But anyway thanks ;)
> mar
On Thu, 01 Aug 2013 17:37:35 +0200
Marc Sune wrote:
> Dear all,
>
> Sorry in advance if there is another API for this and I haven't found
> it, or if there is a strong reason for having it this way. I've seen
> that in the case of both baremetal and Linux applications, the way to
> initialize
9 matches
Mail list logo