Add empty poll mode command line example
ChangeLogs:
v9: update the document
Signed-off-by: Liang Ma
---
doc/guides/sample_app_ug/l3_forward_power_man.rst | 69 +++
1 file changed, 69 insertions(+)
diff --git a/doc/guides/sample_app_ug/l3_forward_power_man.rst
b/doc
10ms.
ChangeLog:
v2 fix some coding style issues
v3 rename the API.
v6 re-work the API.
v7 no change.
v8 disable training as default option.
v10 update due to review comments.
Signed-off-by: Liang Ma
Reviewed-by: Lei Yao
---
examples/l3fwd-power
Update the document for empty poll API.
Change Logs:
v9: minor changes for syntax. Update document.
Signed-off-by: Liang Ma
---
doc/guides/prog_guide/power_man.rst | 86 +
1 file changed, 86 insertions(+)
diff --git a/doc/guides/prog_guide/power_man.rst
b
There is a issue inside check-symbol-changes.sh awk script.
When the script try to parse the section name from patch,
The script put char "+" into the section name.
Signed-off-by: Liang Ma
---
devtools/check-symbol-change.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
On 11 Oct 18:59, Yao, Lei A wrote:
>
>
> +
> + if (get_freq_index(LOW) > total_avail_freqs[i])
> + return -1;
> +
> + if (rte_get_master_lcore() != i) {
> + w->wrk_stats[i].lcore_id = i;
> + set_policy(&w->wrk_sta
r typo and lift node num limit.
v8: disable training as default option.
v9: minor git log update.
v10: update due to the code review comments.
Signed-off-by: Liang Ma
Reviewed-by: Lei Yao
Acked-by: David Hunt
---
lib/librte_power/Makefile | 6 +-
lib/librte_power/m
Signed-off-by: Liang Ma
---
doc/guides/rel_notes/release_18_11.rst | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/doc/guides/rel_notes/release_18_11.rst
b/doc/guides/rel_notes/release_18_11.rst
index a8327ea..bbfa8d6 100644
--- a/doc/guides/rel_notes
Update the document for empty poll API.
Change Logs:
v9: minor changes for syntax. Update document.
Signed-off-by: Liang Ma
Acked-by: David Hunt
---
doc/guides/prog_guide/power_man.rst | 86 +
1 file changed, 86 insertions(+)
diff --git a/doc/guides
10ms.
ChangeLog:
v2 fix some coding style issues
v3 rename the API.
v6 re-work the API.
v7 no change.
v8 disable training as default option.
v10 update due to review comments.
v11 add checking for empty poll init function return value.
Signed-off-by: Liang Ma
Reviewed-by: Lei Yao
Acked
Hi Thomas,
I still see the issue with the awk script inside check-symbol-changes.sh.
that script still put '+' as the Section name.
any suggestion ?
I use fedora 24 and gawk
Regards
Liang
On 19 Oct 11:27, Thomas Monjalon wrote:
> 19/10/2018 09:42, Ferruh Yigit:
> > I am not getting the
I did send out a patch to the author for a while. but no response.
FYI http://patches.dpdk.org/patch/46101/
Liang
On 19 Oct 12:43, Thomas Monjalon wrote:
> You should open a dedicated thread on the mailing with Cc the author of this
> script.
>
> 19/10/2018 12:38, Liang, Ma:
&
Update the document for empty poll API.
Change Logs:
v9: minor changes for syntax. Update document.
Signed-off-by: Liang Ma
Acked-by: David Hunt
---
doc/guides/prog_guide/power_man.rst | 86 +
1 file changed, 86 insertions(+)
diff --git a/doc/guides
Update the release nots for Traffic Pattern Aware Control
Library(empty poll).
Signed-off-by: Liang Ma
---
doc/guides/rel_notes/release_18_11.rst | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/doc/guides/rel_notes/release_18_11.rst
b/doc/guides
r typo and lift node num limit.
v8: disable training as default option.
v9: minor git log update.
v10: update due to the code review comments.
v12: remove rte_panic
Signed-off-by: Liang Ma
Reviewed-by: Lei Yao
Acked-by: David Hunt
---
lib/librte_power/Makefile | 6 +-
lib/li
10ms.
ChangeLog:
v2 fix some coding style issues
v3 rename the API.
v6 re-work the API.
v7 no change.
v8 disable training as default option.
v10 update due to review comments.
v11 add checking for empty poll init function return value.
Signed-off-by: Liang Ma
Reviewed-by: Lei Yao
Acked
Add empty poll mode command line example
ChangeLogs:
v9: update the document
Signed-off-by: Liang Ma
Acked-by: David Hunt
---
doc/guides/sample_app_ug/l3_forward_power_man.rst | 69 +++
1 file changed, 69 insertions(+)
diff --git a/doc/guides/sample_app_ug
he section name should start with 'A-Z' only for my opinion.
Regards
Liang
On 19 Oct 07:38, Neil Horman wrote:
> On Fri, Oct 19, 2018 at 12:48:57PM +0200, Thomas Monjalon wrote:
> > Hi Neil,
> >
> > Are you OK with this patch?
> >
> >
> > 04/10/
On 14 Jun 11:59, Hunt, David wrote:
> Hi Liang
>
>
>
> On 8/6/2018 10:57 AM, Liang Ma wrote:
> > 1. Abstract
> >
> > For packet processing workloads such as DPDK polling is continuous.
> > This means CPU cores always show 100% busy independent of how muc
rename the filename, API name.
Signed-off-by: Liang Ma
---
lib/librte_power/Makefile | 3 +-
lib/librte_power/meson.build| 5 +-
lib/librte_power/rte_power_empty_poll.c | 521
lib/librte_power/rte_power_empty_poll.h | 202
ChangeLog:
v2 fix some coding style issues
v3 rename the API.
Signed-off-by: Liang Ma
---
examples/l3fwd-power/main.c | 232
1 file changed, 214 insertions(+), 18 deletions(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
ind
On 27 Jun 18:33, Kevin Traynor wrote:
> On 06/26/2018 12:40 PM, Radu Nicolau wrote:
> > From: Liang Ma
> >
> > 1. Abstract
> >
> > For packet processing workloads such as DPDK polling is continuous.
> > This means CPU cores always show 100% busy independe
Hi Thomas,
Many thanks, I will check carefully for meson build and doc next time.
Regards
Liang
On 26 Oct 01:55, Thomas Monjalon wrote:
> 19/10/2018 13:07, Liang Ma:
> > The proposed solution focuses on how many times empty polls are executed.
> > The less the number of emp
Hi Dave,
Many thanks!
Regards
Liang
On 26 Oct 13:38, David Hunt wrote:
> 1. %ld to PRId64 for 32-bit builds
> 2. Fix dependency on librte_timer
>
> Fixes: 450f0791312c ("power: add traffic pattern aware power control")
>
> Signed-off-by: David Hunt
> Tested-by: Ferruh Yigit
> ---
> lib/Mak
or in a guest,
using kvm. The library API and ABI is unchanged.
Signed-off-by: Liang Ma
---
lib/librte_power/Makefile | 2 +
lib/librte_power/meson.build| 4 +-
lib/librte_power/power_pstate_cpufreq.c | 778
lib/librte_power
On 30 Jul 16:06, Jerin Jacob wrote:
> -Original Message-
> > Date: Mon, 30 Jul 2018 09:38:01 +
> > From: "Van Haaren, Harry"
> > To: Jerin Jacob , "Elo, Matias (Nokia -
> > FI/Espoo)"
> > CC: "dev@dpdk.org"
> > Subject: RE: [dpdk-dev] eventdev: method for finding out unlink status
>
poll counter.
7. rte_empty_poll_detection(void);
which is used to detect empty poll state changes.
ChangeLog:
v2: fix some coding style issues
v3: rename the filename, API name.
v4: no change
v5: no change
v6: re-work the code layout, update API
Signed-off-by: Liang Ma
---
lib/librte_power/Mak
update the document for empty poll API.
Signed-off-by: Liang Ma
---
doc/guides/prog_guide/power_man.rst | 87 +
1 file changed, 87 insertions(+)
diff --git a/doc/guides/prog_guide/power_man.rst
b/doc/guides/prog_guide/power_man.rst
index eba1cc6..d8a4ef7
add empty poll mode command line example
Signed-off-by: Liang Ma
---
doc/guides/sample_app_ug/l3_forward_power_man.rst | 21 +
1 file changed, 21 insertions(+)
diff --git a/doc/guides/sample_app_ug/l3_forward_power_man.rst
b/doc/guides/sample_app_ug
drop below 30%), system will fallback
to the modest power state.
Example code use master thread to monitoring worker thread busyness.
the default timer resolution is 10ms.
ChangeLog:
v2 fix some coding style issues
v3 rename the API.
v6 re-work the API.
Signed-off-by: Liang Ma
---
examples/l
drop below 30%), system will fallback
to the modest power state.
Example code use master thread to monitoring worker thread busyness.
the default timer resolution is 10ms.
ChangeLog:
v2 fix some coding style issues
v3 rename the API.
v6 re-work the API.
v7 no change.
Signed-off-by: Liang Ma
R
update the document for empty poll API.
Signed-off-by: Liang Ma
---
doc/guides/prog_guide/power_man.rst | 87 +
1 file changed, 87 insertions(+)
diff --git a/doc/guides/prog_guide/power_man.rst
b/doc/guides/prog_guide/power_man.rst
index eba1cc6..d8a4ef7
d-off-by: Liang Ma
Reviewed-by: Lei Yao
---
lib/librte_power/Makefile | 6 +-
lib/librte_power/meson.build| 5 +-
lib/librte_power/rte_power_empty_poll.c | 500
lib/librte_power/rte_power_empty_poll.h | 205 +
lib/librte_
add empty poll mode command line example
Signed-off-by: Liang Ma
---
doc/guides/sample_app_ug/l3_forward_power_man.rst | 21 +
1 file changed, 21 insertions(+)
diff --git a/doc/guides/sample_app_ug/l3_forward_power_man.rst
b/doc/guides/sample_app_ug
Hi Kevin,
Many thanks for your feedback.
Please check my comments below.
On 13 Sep 10:46, Kevin Traynor wrote:
>
> Thanks for following up. It's allowing it to run without a training
> phase which is what I thought could be problematic from an application
> view, so that's nice. I'm no
Hi Kevin,
Many thanks for your comments.
I will send v8 patch soon.
Please check comments below.
On 13 Sep 11:54, Kevin Traynor wrote:
> On 09/04/2018 03:10 PM, Liang Ma wrote:
> > 1. Abstract
> >
>
> Hi Liang,
>
> I didn't review the code, but some c
read to monitoring worker thread busyness.
the default timer resolution is 10ms.
ChangeLog:
v2 fix some coding style issues
v3 rename the API.
v6 re-work the API.
v7 no change.
v8 disable training as default option.
Signed-off-by: Liang Ma
Reviewed-by: Lei Yao
---
examples/l3fwd-power
Update the document for empty poll API.
Signed-off-by: Liang Ma
---
doc/guides/prog_guide/power_man.rst | 90 +
1 file changed, 90 insertions(+)
diff --git a/doc/guides/prog_guide/power_man.rst
b/doc/guides/prog_guide/power_man.rst
index eba1cc6..056cb12
e training as default option.
Signed-off-by: Liang Ma
Reviewed-by: Lei Yao
---
lib/librte_power/Makefile | 6 +-
lib/librte_power/meson.build| 5 +-
lib/librte_power/rte_power_empty_poll.c | 539
lib/librte_power/rte_power_empty_po
Add empty poll mode command line example
Signed-off-by: Liang Ma
---
doc/guides/sample_app_ug/l3_forward_power_man.rst | 29 +++
1 file changed, 29 insertions(+)
diff --git a/doc/guides/sample_app_ug/l3_forward_power_man.rst
b/doc/guides/sample_app_ug
fic Aware power management. See below for details.
>
>
>
> On 25/9/2018 2:20 PM, Kovacevic, Marko wrote:
> >>Add empty poll mode command line example
> >>
> >>Signed-off-by: Liang Ma
> >>---
> >> doc/guides/sample_app_ug/l3_fo
worker thread busyness.
the default timer resolution is 10ms.
ChangeLog:
v2 fix some coding style issues
v3 rename the API.
v6 re-work the API.
v7 no change.
v8 disable training as default option.
Signed-off-by: Liang Ma
Reviewed-by: Lei Yao
---
examples/l3fwd-power
Update the document for empty poll API.
Change Logs:
v9: minor changes for syntax. Update document.
Signed-off-by: Liang Ma
---
doc/guides/prog_guide/power_man.rst | 86 +
1 file changed, 86 insertions(+)
diff --git a/doc/guides/prog_guide/power_man.rst
b
r typo and lift node num limit.
v8: disable training as default option.
v9: minor git log update.
Signed-off-by: Liang Ma
Reviewed-by: Lei Yao
---
lib/librte_power/Makefile | 6 +-
lib/librte_power/meson.build| 5 +-
lib/librte_power/rte_power_empty_po
_val index, uint32_t limit);
which allow user customize the frequency of power state.
8. rte_empty_poll_setup_timer(void);
which is used to setup the timer/callback to process all above counter.
Signed-off-by: Liang Ma
---
lib/librte_power/Makefile | 3 +-
lib/librte_power/meson.build
Add the support for new traffic pattern aware power control
power management API.
Example:
./l3fwd-power -l xxx -n 4 -w :xx:00.0 -w :xx:00.1 -- -p 0x3
-P --config="(0,0,xx),(1,0,xx)" --empty-poll
Signed-off-by: Liang Ma
---
examples/l3fwd-power/ma
_val index, uint32_t limit);
which allow user customize the frequency of power state.
8. rte_empty_poll_setup_timer(void);
which is used to setup the timer/callback to process all above counter.
ChangeLog:
v2: fix some coding style issues
Signed-off-by: Liang Ma
---
lib/librte_power/Makefile
Add the support for new traffic pattern aware power control
power management API.
Example:
./l3fwd-power -l xxx -n 4 -w :xx:00.0 -w :xx:00.1 -- -p 0x3
-P --config="(0,0,xx),(1,0,xx)" --empty-poll
ChangeLog:
v2 Fix some coding style issues
Signed-off-by: Liang Ma
---
exam
On 05 Mar 17:58, Ferruh Yigit wrote:
> On 2/9/2018 12:08 AM, Rosen, Rami wrote:
> > Hi all,
> > Following the recent announcement of DPDK 18.02-RC4, I went over
> > 18.02 release notes and I have this minor query which I am not sure about:
> > In the release notes:
> > http://dpdk.org/doc/guides/re
system to enable compilation.
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
config/common_base|5 +
drivers/event/Makefile|1 +
drivers/event/opdl/Makefile | 35 +
drivers/event/opdl
. remove the opdl pmd example doc.
Liang Ma (12):
event/opdl: add the opdl ring infrastructure library
event/opdl: add opdl PMD main body and helper function
event/opdl: add event queue config get/set support
event/opdl: add event port config get/set support
event/opdl: add eventdev enqueue
implement all initailization helper function
This commit only adds the implementation, no existing DPDK files
are modified.
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/Makefile| 3 +
drivers/event/opdl/opdl_evdev.c| 440
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/opdl_evdev.c | 108
1 file changed, 108 insertions(+)
diff --git a/drivers/event/opdl/opdl_evdev.c b/drivers/event/opdl/opdl_evdev.c
index cad000a..11ac8fc 100644
--- a/drivers
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/opdl_evdev.c | 152
1 file changed, 152 insertions(+)
diff --git a/drivers/event/opdl/opdl_evdev.c b/drivers/event/opdl/opdl_evdev.c
index 11ac8fc..56e6910 100644
--- a/drivers
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/opdl_evdev.c | 66 +
1 file changed, 66 insertions(+)
diff --git a/drivers/event/opdl/opdl_evdev.c b/drivers/event/opdl/opdl_evdev.c
index 56e6910..c42e813 100644
--- a/drivers
This commit adds unit test inside the OPDL PMD. There is a PMd parameter
"self_test" can be used to triger the test when vdev bus probe opdl device
e.g.
sudo ./app/test --vdev="event_opdl0,self_test=1"
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/dpaa2/dpaa2_eventdev.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c
b/drivers/event/dpaa2/dpaa2_eventdev.c
index 13e7122..e437edc 100644
--- a/drivers/event
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/octeontx/ssovf_evdev.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/event/octeontx/ssovf_evdev.c
b/drivers/event/octeontx/ssovf_evdev.c
index b80a6c0..d85b4fb 100644
--- a/drivers/event
single port. if the flag is not set, the eventdev can only map a
single queue to each port or map a signle queue to many port.
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
lib/librte_eventdev/rte_eventdev.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
MAINTAINERS| 6 ++
doc/guides/rel_notes/release_18_02.rst | 11 +++
2 files changed, 17 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index f0baeb4..1b8d617 100644
--- a/MAINTAINERS
+++ b
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/sw/sw_evdev.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/event/sw/sw_evdev.c b/drivers/event/sw/sw_evdev.c
index 1ef6340..aed521b 100644
--- a/drivers/event/sw/sw_evdev.c
+++ b/drivers
Add the description about opdl pmd
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
doc/guides/eventdevs/index.rst | 1 +
doc/guides/eventdevs/opdl.rst | 162 +
2 files changed, 163 insertions(+)
create mode 100644 doc/guides/eventdevs
eventdev.
3. remove the opdl pmd example code.
4. remove the opdl pmd example doc.
Liang Ma (12):
event/opdl: add the opdl ring infrastructure library
event/opdl: add opdl PMD main body and helper function
event/opdl: add event queue config get/set support
event/opdl: add event port config
system to enable compilation.
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
config/common_base|5 +
drivers/event/Makefile|1 +
drivers/event/opdl/Makefile | 35 +
drivers/event/opdl
implement all initailization helper function
This commit only adds the implementation, no existing DPDK files
are modified.
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/Makefile| 3 +
drivers/event/opdl/opdl_evdev.c| 440
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/opdl_evdev.c | 108
1 file changed, 108 insertions(+)
diff --git a/drivers/event/opdl/opdl_evdev.c b/drivers/event/opdl/opdl_evdev.c
index cad000a..11ac8fc 100644
--- a/drivers
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/opdl_evdev.c | 152
1 file changed, 152 insertions(+)
diff --git a/drivers/event/opdl/opdl_evdev.c b/drivers/event/opdl/opdl_evdev.c
index 11ac8fc..56e6910 100644
--- a/drivers
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/opdl_evdev.c | 66 +
1 file changed, 66 insertions(+)
diff --git a/drivers/event/opdl/opdl_evdev.c b/drivers/event/opdl/opdl_evdev.c
index 56e6910..c42e813 100644
--- a/drivers
This commit adds unit test inside the OPDL PMD. There is a PMd parameter
"self_test" can be used to triger the test when vdev bus probe opdl device
e.g.
sudo ./app/test --vdev="event_opdl0,self_test=1"
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers
queue
with single port. If the flag is not set, the eventdev can only map a
single queue to each port or map a single queue to many port.
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
lib/librte_eventdev/rte_eventdev.h | 22 ++
1 file changed, 22 insertions(+)
diff
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/dpaa2/dpaa2_eventdev.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c
b/drivers/event/dpaa2/dpaa2_eventdev.c
index 13e7122..e437edc 100644
--- a/drivers/event
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/sw/sw_evdev.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/event/sw/sw_evdev.c b/drivers/event/sw/sw_evdev.c
index 1ef6340..aed521b 100644
--- a/drivers/event/sw/sw_evdev.c
+++ b/drivers
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/octeontx/ssovf_evdev.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/event/octeontx/ssovf_evdev.c
b/drivers/event/octeontx/ssovf_evdev.c
index b80a6c0..d85b4fb 100644
--- a/drivers/event
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
MAINTAINERS| 6 ++
doc/guides/rel_notes/release_18_02.rst | 11 +++
2 files changed, 17 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index f0baeb4..1b8d617 100644
--- a/MAINTAINERS
+++ b
Add the description about opdl pmd
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
doc/guides/eventdevs/index.rst | 1 +
doc/guides/eventdevs/opdl.rst | 162 +
2 files changed, 163 insertions(+)
create mode 100644 doc/guides/eventdevs
capability flags for overall eventdev.
3. remove the opdl pmd example code.
4. remove the opdl pmd example doc.
Liang Ma (12):
event/opdl: add the opdl ring infrastructure library
event/opdl: add opdl PMD main body and helper function
event/opdl: add event queue config get/set support
event
system to enable compilation.
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
Reviewed-by: Seán Harte
---
config/common_base|5 +
drivers/event/Makefile|1 +
drivers/event/opdl/Makefile | 35
implement all initialization helper function
This commit only adds the implementation, no existing DPDK files
are modified.
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/Makefile| 3 +
drivers/event/opdl/opdl_evdev.c| 440
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/opdl_evdev.c | 152
1 file changed, 152 insertions(+)
diff --git a/drivers/event/opdl/opdl_evdev.c b/drivers/event/opdl/opdl_evdev.c
index 11ac8fc..56e6910 100644
--- a/drivers
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/opdl_evdev.c | 108
1 file changed, 108 insertions(+)
diff --git a/drivers/event/opdl/opdl_evdev.c b/drivers/event/opdl/opdl_evdev.c
index cad000a..11ac8fc 100644
--- a/drivers
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/opdl_evdev.c | 66 +
1 file changed, 66 insertions(+)
diff --git a/drivers/event/opdl/opdl_evdev.c b/drivers/event/opdl/opdl_evdev.c
index 56e6910..c42e813 100644
--- a/drivers
This commit adds unit test inside the OPDL PMD. There is a PMD parameter
"self_test" can be used to trigger the test when vdev bus probe opdl device
e.g.
sudo ./app/test --vdev="event_opdl0,self_test=1"
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers
queue
with single port. If the flag is not set, the eventdev can only map a
single queue to each port or map a single queue to many port.
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
lib/librte_eventdev/rte_eventdev.h | 22 ++
1 file changed, 22 insertions(+)
diff
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/dpaa2/dpaa2_eventdev.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c
b/drivers/event/dpaa2/dpaa2_eventdev.c
index 13e7122..e437edc 100644
--- a/drivers/event
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/octeontx/ssovf_evdev.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/event/octeontx/ssovf_evdev.c
b/drivers/event/octeontx/ssovf_evdev.c
index b80a6c0..d85b4fb 100644
--- a/drivers/event
Add the description about opdl PMD
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
doc/guides/eventdevs/index.rst | 1 +
doc/guides/eventdevs/opdl.rst | 136 +
2 files changed, 137 insertions(+)
create mode 100644 doc/guides/eventdevs
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/sw/sw_evdev.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/event/sw/sw_evdev.c b/drivers/event/sw/sw_evdev.c
index 1ef6340..aed521b 100644
--- a/drivers/event/sw/sw_evdev.c
+++ b/drivers
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
MAINTAINERS| 6 ++
doc/guides/rel_notes/release_18_02.rst | 11 +++
2 files changed, 17 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index f0baeb4..1b8d617 100644
--- a/MAINTAINERS
+++ b
On 10 Jan 20:31, Jerin Jacob wrote:
> -Original Message-
> > Date: Wed, 10 Jan 2018 14:46:11 +
> > From: Liang Ma
> > To: jerin.ja...@caviumnetworks.com
> > CC: dev@dpdk.org, harry.van.haa...@intel.com, bruce.richard...@intel.com,
> > deepak.k.j..
xstat;
>
> - for (uint32_t i = 0; i < max_index; i++) {
> + uint32_t i;
> + for (i = 0; i < max_index; i++) {
>
> if (strncmp(name,
> device->port_xstat[i].stat.name,
> diff --git a/drivers/event/opdl/opdl_test.c b/drivers/event/opdl/opdl_test.c
> index 44a5cc5..13d4f6b 100644
> --- a/drivers/event/opdl/opdl_test.c
> +++ b/drivers/event/opdl/opdl_test.c
> @@ -433,7 +433,8 @@ atomic_basic(struct test *t)
> return -1;
> }
>
> - for (int j = 0; j < 3; j++) {
> + int j;
> + for (j = 0; j < 3; j++) {
> deq_ev[j].op = RTE_EVENT_OP_FORWARD;
> deq_ev[j].queue_id = t->qid[1];
> }
> @@ -495,8 +496,9 @@ static int
> check_statistics(void)
> {
> int num_ports = 3; /* Hard-coded for this app */
> + int i;
>
> - for (int i = 0; i < num_ports; i++) {
> + for (i = 0; i < num_ports; i++) {
> int num_stats, num_stats_returned;
>
> num_stats = rte_event_dev_xstats_names_get(0,
> --
> 2.7.4
>
Many thanks Harry.
Acked-by: Liang Ma
License-Identifier: BSD-3-Clause
> + * Copyright(c) 2017 Intel Corporation
> */
>
> #ifndef _OPDL_H_
> diff --git a/drivers/event/opdl/opdl_test.c b/drivers/event/opdl/opdl_test.c
> index 44a5cc539..c57e93b41 100644
> --- a/drivers/event/opdl/opdl_test.c
> +++ b/drivers/event/opdl/opdl_test.c
> @@ -1,6 +1,5 @@
> -/*-
> - * SPDX-License-Identifier: BSD-3-Clause
> - * Copyright(c) 2010-2014 Intel Corporation
> +/* SPDX-License-Identifier: BSD-3-Clause
> + * Copyright(c) 2017 Intel Corporation
> */
>
> #include
> --
> 2.14.3
>
Many thanks Bruce
Acked-by: Liang Ma
Fixes: 4236ce9bf5bf ("event/opdl: add OPDL ring infrastructure library")
Coverity issue: 257022
Signed-off-by: Liang Ma
---
drivers/event/opdl/opdl_ring.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/drivers/event/opdl/opdl_ring.c b/drivers/event/opdl/o
Fixes: d548ef513cd7 ("event/opdl: add unit tests")
Coverity issue: 257004
Signed-off-by: Liang Ma
---
drivers/event/opdl/opdl_test.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/event/opdl/opdl_test.c b/drivers/event/opdl/opdl_test.c
index 44a5cc
t uint8_t tx_port = 2;
> int err;
> - int i;
> struct rte_mbuf *mbufs[3];
> RTE_SET_USED(mbufs);
> - RTE_SET_USED(i);
>
> /* Create instance with 5 ports */
> if (init(t, 2, tx_port+1) < 0 ||
> --
> 2.13.3
>
Many thanks Zhi Yong.
Acked-by: Liang Ma
pdl_init_log);
> static void
> opdl_init_log(void)
> {
> - opdl_logtype_driver = rte_log_register("eventdev.opdl.driver");
> + opdl_logtype_driver = rte_log_register("pmd.event.opdl.driver");
> if (opdl_logtype_driver >= 0)
> rte_log_s
OPDL ring infrastructure library")
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/opdl_evdev_init.c | 3 ++
drivers/event/opdl/opdl_ring.c | 95 +---
drivers/event/opdl/opdl_ring.h | 16 +-
3 files changed, 85
On 26 Mar 05:29, Van Haaren, Harry wrote:
> > From: Ma, Liang J
> > Sent: Tuesday, March 13, 2018 11:34 AM
> > To: jerin.ja...@caviumnetworks.com
> > Cc: dev@dpdk.org; Van Haaren, Harry ; Jain,
> > Deepak
> > K ; Geary, John ; Mccarthy,
> > Peter
> > Subject: [PATCH] event/opdl: fix atomic queue
OPDL ring infrastructure library")
Signed-off-by: Liang Ma
Signed-off-by: Peter Mccarthy
---
drivers/event/opdl/opdl_evdev_init.c | 3 ++
drivers/event/opdl/opdl_ring.c | 97 +---
drivers/event/opdl/opdl_ring.h | 16 +-
3 files changed, 86
On 29 Mar 04:02, Van Haaren, Harry wrote:
> (+Liang Ma for OPDL maintainer)
>
> Ping to maintainers, is the below suggestion acceptable for your PMDs?
>
> Summary of suggestion:
> - After event_dev_stop() dequeue() is no longer allowed on any thread
> - All events in the
: Liang Ma
Signed-off-by: Peter, Mccarthy
---
drivers/event/opdl/Makefile | 66 ++
drivers/event/opdl/opdl_ring.c| 1232 +
drivers/event/opdl/opdl_ring.h| 601 ++
drivers/event/opdl
/eventdevs/index.html]
Original Ordered Pipeline Design slides
[https://dpdksummit.com/Archive/pdf/2017Asia/DPDK-China2017-Ma-OPDL.pdf]
Liang Ma (8):
event/opdl: add the opdl ring infrastructure library
event/opdl: add the opdl pmd header and init helper function
event/opdl: add the opdl pmd
101 - 200 of 285 matches
Mail list logo