Re: [lng-odp] pktgen DPDK question

2014-11-17 Thread Wiles, Roger Keith
I just sent you a response, it is a busy day as it is the first day after vacation. Pktgen needs two cores, one for display and timers and the other for packet send/receive try: ./app/build/pktgen -c 0x3 -n 4 -w 01:00.0 — -m “1.0” lcore 0 will be used for display/timers and lcore 1 will be us

Re: [lng-odp] Event update: Weekly ODP Design Discussion Call

2014-11-04 Thread Wiles, Roger Keith
Sorry, please ignore. The calendar in Mac Mail did not give me an option to not send this email when I moved it :-( > On Nov 4, 2014, at 11:02 AM, Wiles, Roger Keith > wrote: > > Wiles, Roger Keith has updated the event: Weekly ODP Design Discussion Call, > scheduled for July

[lng-odp] Event update: Weekly ODP Design Discussion Call

2014-11-04 Thread Wiles, Roger Keith
Wiles, Roger Keith has updated the event: Weekly ODP Design Discussion Call, scheduled for July 15, 2014 at 10:00 AM (US/Central). To acknowledge this invitation, click the link below. BEGIN:VCALENDAR CALSCALE:GREGORIAN VERSION:2.0 METHOD:REQUEST PRODID:-//Apple Inc.//Mac OS X 10.10//EN

Re: [lng-odp] Canceled: Weekly ODP Design Discussion Call

2014-10-12 Thread Wiles, Roger Keith
g list. > > Bill > > On Sun, Oct 12, 2014 at 5:45 PM, Wiles, Roger Keith > wrote: > > When: Tuesday, October 14, 2014 3:00 PM-4:00 PM. UTC > Where: 866-230-0007 > > *~*~*~*~*~*~*~*~*~* > > Your UberConference information is below. > > View

[lng-odp] Canceled: Weekly ODP Design Discussion Call

2014-10-12 Thread Wiles, Roger Keith
:16010101T02 TZOFFSETFROM:-0600 TZOFFSETTO:-0500 RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=2SU;BYMONTH=3 END:DAYLIGHT END:VTIMEZONE BEGIN:VEVENT ORGANIZER;CN="Wiles, Roger Keith":MAILTO:keith.wi...@windriver.com ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=lng-odp@li sts.linaro.org:MAIL

Re: [lng-odp] Relaxing merge process

2014-09-19 Thread Wiles, Roger Keith
On Sep 19, 2014, at 12:24 PM, Magnus Karlsson wrote: > Taras, > > Sounds good as long as we substitute the word branches with repositories. > Branches do not make much sense IMHO. Using branches could be easy, but just depends on how they are used. Having multiple repos only makes sense to

Re: [lng-odp] [PATCH v3 1/2] Use timer resolution

2014-09-03 Thread Wiles, Roger Keith
On Sep 3, 2014, at 11:27 AM, Maxim Uvarov wrote: > On 09/03/2014 05:35 PM, Petri Savolainen wrote: >> +#define USEC ODP_TIME_USEC >> +#define SEC ODP_TIME_SEC >> + > Are you defining them only to make lines short? Not critical but in example > it's better to not redefine. In my opinion of cour

Re: [lng-odp] [PATCH v2 1/2] Use timer resolution

2014-09-03 Thread Wiles, Roger Keith
On Sep 3, 2014, at 2:07 AM, Savolainen, Petri (NSN - FI/Espoo) wrote: > > >> -Original Message- >> From: ext Anders Roxell [mailto:anders.rox...@linaro.org] >> Sent: Tuesday, September 02, 2014 10:07 PM >> To: Petri Savolainen >> Cc: lng-odp@lists.linaro.org >> Subject: Re: [lng-odp]

Re: [lng-odp] Errno support

2014-09-02 Thread Wiles, Roger Keith
EINVAL, etc > > Instead I think ODP should have its own error codes, and either > return them during API calls (preferable to me) or introduce another > TLS variables like odp_errno and use it in the same style as errno is > used by POSIX. > > Thanks, > Victor &

[lng-odp] Errno support

2014-09-02 Thread Wiles, Roger Keith
For errno we are going to use POSIX errno values. Found this one from open group, which I believe to be the current IEEE std: http://pubs.opengroup.org/onlinepubs/9699919799/ Will the above reference be OK with everyone as a reference for ERRNO names? Linux man page seem to suggest it is follow

Re: [lng-odp] [PATCH] configure.ac display target platform

2014-09-01 Thread Wiles, Roger Keith
On Sep 1, 2014, at 3:58 PM, Bill Fischofer wrote: > Tabs are semantically meaningful in make files (terrible design choice, but > that's the way it is). Need to be careful about rules for them because of > this. The rule body’s in Makefile’s must be tabbed for the first character of each li

Re: [lng-odp] [PATCH v4] Add-global_init-paramiters

2014-09-01 Thread Wiles, Roger Keith
On Sep 1, 2014, at 3:07 AM, Savolainen, Petri (NSN - FI/Espoo) wrote: >> diff --git a/platform/linux-generic/odp_init.c b/platform/linux- >> generic/odp_init.c >> index 5b7e192..f595def 100644 >> --- a/platform/linux-generic/odp_init.c >> +++ b/platform/linux-generic/odp_init.c >> @@ -8,13 +8,1

Re: [lng-odp] [arch design discussion] Packet meta data

2014-08-31 Thread Wiles, Roger Keith
tforms to best match their needs. The goal of > ODP is not to require complete uniformity in performance (that's clearly > impossible) but rather to provide a portability baseline for applications and > a functional target for implementations that permits both to add value in > th

Re: [lng-odp] [arch design discussion] Packet meta data

2014-08-31 Thread Wiles, Roger Keith
Good write up, comments inline. Make sure you read to the bottom of my email as I do switch gears toward the bottom :-) On Aug 31, 2014, at 2:10 AM, Gilad Ben Yossef wrote: > Hi, > > Regarding the discussion about user meta data which was brought on during the > conf, call, I thought I would

Re: [lng-odp] [PATCH v4] Add-global_init-paramiters

2014-08-29 Thread Wiles, Roger Keith
I do like having the _s as it is more readable IMO. What happens when you have a self reference in another structure. #1 typedef struct odp__t { struct odp__t * name; } odp__t; OR #2 typedef struct odp__s { struct odp__s * name; } odp__t; OR #3 typedef struct odp_ {

Re: [lng-odp] [PATCH v4] Add-global_init-paramiters

2014-08-29 Thread Wiles, Roger Keith
On Aug 29, 2014, at 2:59 AM, Savolainen, Petri (NSN - FI/Espoo) wrote: > > >> -Original Message- >> From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp- >> boun...@lists.linaro.org] On Behalf Of ext Mike Holmes >> Sent: Thursday, August 28, 2014 9:26 PM >> To: lng-odp@lists.linaro.

Re: [lng-odp] [PATCH v3] Add-global_init-paramiters

2014-08-28 Thread Wiles, Roger Keith
On Aug 28, 2014, at 12:10 PM, Mike Holmes wrote: > I think the consensus was to fix up Stuarts comments and apply this, bearing > in mind that Taras will have to completely replace global_init for his > platform, and that may be true for others so only dpdk will benefit from the > refactoring

Re: [lng-odp] RFC odp_buffer_pool_create has no return code it calls exit(0)

2014-08-26 Thread Wiles, Roger Keith
On Aug 26, 2014, at 4:25 PM, Mike Holmes mailto:mike.hol...@linaro.org>> wrote: The odp_buffer_pool_create function has a return code that defaults to ODP_BUFFER_POOL_INVALID, although the API header file doxygen comment does not indicate that there is any error return code possible. I was

Re: [lng-odp] [PATCH] Add-global_init-paramiters

2014-08-21 Thread Wiles, Roger Keith
On Aug 21, 2014, at 1:24 PM, Maxim Uvarov wrote: > What do you about leaving original odp_init_global() without parameters? > > Something like: > > int odp_init_global_param(odp_global_init_t *params, >odp_global_platform_init_t *platform_params); > > int odp_init_global() { >

Re: [lng-odp] [PATCH] Add-global_init-paramiters

2014-08-21 Thread Wiles, Roger Keith
Comment inline. On Aug 21, 2014, at 11:01 AM, Mike Holmes wrote: > Signed-off-by: Mike Holmes > --- > example/generator/odp_generator.c | 2 +- > example/l2fwd/odp_l2fwd.c | 2 +- > example/odp_example/odp_example.c | 2 +- > example/packet/odp_pktio.c | 2 +- > example/ti

Re: [lng-odp] How to set dstmac in Pktgen-dpdk

2014-08-21 Thread Wiles, Roger Keith
Hi Venkatesh, On Aug 21, 2014, at 7:49 AM, Venkatesh Vivekanandan mailto:venkatesh.vivekanan...@linaro.org>> wrote: Hi Keith, Can you please let us know how do we set dest mac in Pktgen-dpdk?. For eg, if there are 2 interfaces eth0(a0:36:9f:13:89:08) and eth1(a0:36:9f:13:89:0a), pktgen comes

Re: [lng-odp] [RFC] Add global_init paramiters

2014-08-14 Thread Wiles, Roger Keith
Comments inline. Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-213-5533 On Aug 14, 2014, at 2:11 PM, Mike Holmes mailto:mike.hol...@linaro.org>> wrote: On 14 August 2014 14:49, Victor Kamensky mailto:victor.kamen...@linaro.org>> wrote: Mike, Please see inline

Re: [lng-odp] [PATCH 1/1] ODP-DPDK multi-queue support

2014-08-12 Thread Wiles, Roger Keith
Pktgen has a number of different ways to send packets single, range, pcap or random, sequence with parameters. One thing Pktgen does not do is act like a real stack, but you can simulate that with pcap or sequence packets. It basically depends on how complex a data flow you need. # git clone g

Re: [lng-odp] Follow on ODP Design Discussion Call

2014-08-12 Thread Wiles, Roger Keith
Mike On 12 August 2014 12:35, Wiles, Roger Keith mailto:keith.wi...@windriver.com>> wrote: Good time for me. Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-213-5533 On Aug 12, 2014, at 11:25 AM, Mike Holmes mailto:mike.hol...@linaro.org>> wrote: All,

Re: [lng-odp] Follow on ODP Design Discussion Call

2014-08-12 Thread Wiles, Roger Keith
Good time for me. Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-213-5533 On Aug 12, 2014, at 11:25 AM, Mike Holmes mailto:mike.hol...@linaro.org>> wrote: All, I tried to find a time that was similar to the regular Tuesday call that did not overlap with existing s

Re: [lng-odp] [PATCH 2/5] test: odp_timer_ping update output format

2014-08-12 Thread Wiles, Roger Keith
I would like to be able to compile out logging and if logging is compiled into the code then I need to be able to control logging (on/off and increase/decrease logging). When logging (or any feature) is compiled out of the code then all of the logging statements are removed as in // Just made u