[PATCH v5] doc: add removal warning for power empty poll API

2022-11-02 Thread Reshma Pattan
Add removal warning for experimental empty poll API. CC: David Hunt Signed-off-by: Reshma Pattan Acked-by: David Hunt --- doc/guides/prog_guide/power_man.rst | 8 1 file changed, 8 insertions(+) diff --git a/doc/guides/prog_guide/power_man.rst b/doc/guides/prog_guide/power_man.rst

[PATCH v4] doc: add removal warning for power empty poll API

2022-11-02 Thread Reshma Pattan
Add removal warning for experimental empty poll API. CC: David Hunt Signed-off-by: Reshma Pattan Acked-by: David Hunt --- doc/guides/prog_guide/power_man.rst | 9 + 1 file changed, 9 insertions(+) diff --git a/doc/guides/prog_guide/power_man.rst b/doc/guides/prog_guide

[PATCH v3] doc: add removal note for power empty poll API

2022-10-07 Thread Reshma Pattan
Add removal note for experimental empty poll API. CC: David Hunt Signed-off-by: Reshma Pattan Acked-by: David Hunt --- doc/guides/prog_guide/power_man.rst | 8 1 file changed, 8 insertions(+) diff --git a/doc/guides/prog_guide/power_man.rst b/doc/guides/prog_guide/power_man.rst

[PATCH v2] doc: add removal note for power empty poll API

2022-10-05 Thread Reshma Pattan
Add removal note for experimental empty poll API. CC: David Hunt Signed-off-by: Reshma Pattan Acked-by: David Hunt --- doc/guides/prog_guide/power_man.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/prog_guide/power_man.rst b/doc/guides/prog_guide/power_man.rst

[PATCH v5] examples/vm_power_manager: use safe version of list iterator

2022-10-04 Thread Reshma Pattan
iterate and delete VM info structures. Fixes: e8ae9b662506 ("examples/vm_power: channel manager and monitor in host") Cc: alan.ca...@intel.com Cc: sta...@dpdk.org Signed-off-by: Hamza Khan Signed-off-by: Reshma Pattan Acked-by: David Hunt --- examples/vm_power_manager/channel_mana

[PATCH v4] examples/vm_power_manager: use safe version of list iterator

2022-08-22 Thread Reshma Pattan
by: Reshma Pattan Acked-by: Reshma Pattan Signed-off-by: Reshma Pattan --- v4: fix header file inclusion --- examples/vm_power_manager/channel_manager.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/examples/vm_power_manager/channel_manager.c

[PATCH] doc: add removal note for power empty poll API

2022-08-02 Thread Reshma Pattan
Add removal note for experimental empty poll API. CC: David Hunt Signed-off-by: Reshma Pattan --- doc/guides/prog_guide/power_man.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/prog_guide/power_man.rst b/doc/guides/prog_guide/power_man.rst index 98cfd3c1f3

[PATCH v4] app/pdump: check lcore is not the maximum core

2022-02-28 Thread Reshma Pattan
rg Signed-off-by: Reshma Pattan --- v4: Remove inline of new function Change lcore type as unsigned int return lcore from the function --- app/pdump/main.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/app/pdump/main.c b/app/pdump/main.c index

[PATCH v3] app/pdump: check lcore is not the maximum core

2022-02-22 Thread Reshma Pattan
rg Signed-off-by: Reshma Pattan --- v3: add new function to get next core id and validate it. --- app/pdump/main.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/app/pdump/main.c b/app/pdump/main.c index 04a38e8911..e4e62811c9 100644 --- a/app/pdump/main.c +++ b

[PATCH v2] app/pdump: check lcore is not the maximum core

2022-02-21 Thread Reshma Pattan
rg Signed-off-by: Reshma Pattan --- app/pdump/main.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/pdump/main.c b/app/pdump/main.c index 04a38e8911..7677a5f8f5 100644 --- a/app/pdump/main.c +++ b/app/pdump/main.c @@ -930,12 +930,15 @@ dump_packets(void)

[PATCH] app/pdump: check lcore is not the maximum core

2022-02-18 Thread Reshma Pattan
rg Signed-off-by: Reshma Pattan --- app/pdump/main.c | 8 1 file changed, 8 insertions(+) diff --git a/app/pdump/main.c b/app/pdump/main.c index 04a38e8911..686c27d965 100644 --- a/app/pdump/main.c +++ b/app/pdump/main.c @@ -931,11 +931,19 @@ dump_packets(void) }

[dpdk-dev] [PATCH] examples/vm_power_manager: remove vm channel number check

2021-04-21 Thread Reshma Pattan
c: david.h...@intel.com Cc: sta...@dpdk.org Signed-off-by: Reshma Pattan --- examples/vm_power_manager/channel_manager.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/examples/vm_power_manager/channel_manager.c b/examples/vm_power_manager/channel_manager.c index 458e37167..fe9156785 10

[dpdk-dev] [PATCH v2] doc: update pdump documentation

2020-11-26 Thread Reshma Pattan
Update the pdump library programmers guide and Howto doc with the use of multi process channel replacing socket based communication. Signed-off-by: Reshma Pattan Acked-by: Bruce Richardson --- v2: fixes for the review comments --- doc/guides/howto/packet_capture_framework.rst | 12 +++ doc

[dpdk-dev] [PATCH] power: fix current frequency index

2020-07-29 Thread Reshma Pattan
max that should be ok, but min was also ignored, which will be fixed now with the new changes. Fixes: e6c6dc0f ("power: add p-state driver compatibility") Cc: sta...@dpdk.org CC: liang.j...@intel.com Signed-off-by: Reshma Pattan --- lib/librte_power/power_pstate_c

[dpdk-dev] [PATCH] doc: update pdump documentation

2020-07-13 Thread Reshma Pattan
Update the pdump library programmers guide and Howto doc with the use of multi process channel replacing socket based communication. Signed-off-by: Reshma Pattan --- doc/guides/howto/packet_capture_framework.rst | 16 - doc/guides/prog_guide/pdump_lib.rst | 49

[dpdk-dev] [PATCH 2/5] net/ixgbe: remove weak symbols in ixgbe rxtx

2020-01-14 Thread Reshma Pattan
remove weak symbols from ixgbe_rxtx.c file as it is done in i40e driver in commit "02ad704708" (net/i40e: eliminate weak symbols in data path) Signed-off-by: Reshma Pattan --- drivers/net/ixgbe/ixgbe_rxtx.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git

[dpdk-dev] [PATCH 4/5] net/ixgbe: add missing stubs for ppc

2020-01-14 Thread Reshma Pattan
add stubs for ixgbe_xmit_fixed_burst_vec, ixgbe_rx_queue_release_mbufs_vec and ixgbe_txq_vec_setup CC: Vlad Zolotarov Signed-off-by: Reshma Pattan --- drivers/net/ixgbe/ixgbe_rxtx.c | 25 +++-- drivers/net/ixgbe/ixgbe_rxtx.h | 2 -- 2 files changed, 19 insertions(+), 8

[dpdk-dev] [PATCH 0/5] net/ixgbe: improvements to ixgbe driver

2020-01-14 Thread Reshma Pattan
for messon build. 5)Added missing stubs for ppc architecture. Signed-off-by: Reshma Pattan Reshma Pattan (5): net/ixgbe: remove ixgbe vector config flag net/ixgbe: remove weak symbols in ixgbe rxtx net/ixgbe: remove duplicate function declaration net/ixgbe: add missing stubs for ppc

[dpdk-dev] [PATCH 1/5] net/ixgbe: remove ixgbe vector config flag

2020-01-14 Thread Reshma Pattan
CONFIG_RTE_IXGBE_INC_VECTOR is enabled by default, so remove it and use architecture specific flags. Signed-off-by: Reshma Pattan --- config/common_base | 1 - doc/guides/nics/ixgbe.rst | 1 - drivers/net/ixgbe/Makefile | 6 +++--- drivers/net/ixgbe/ixgbe_rxtx.c | 17

[dpdk-dev] [PATCH 5/5] net/ixgbe: add arm vector support in meson

2020-01-14 Thread Reshma Pattan
Add missing arm vector build support to meson.build. Signed-off-by: Reshma Pattan --- drivers/net/ixgbe/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ixgbe/meson.build b/drivers/net/ixgbe/meson.build index 6667af634..06cf42a4a 100644 --- a/drivers/net/ixgbe

[dpdk-dev] [PATCH 3/5] net/ixgbe: remove duplicate function declaration

2020-01-14 Thread Reshma Pattan
remove duplicate declarations of ixgbe_xmit_fixed_burst_vec from ixgbe_rxtx.c Fixes: 646412f9ff ("net/ixgbe: remove limit of Tx burst size") CC: Zhiyong Yang Signed-off-by: Reshma Pattan --- drivers/net/ixgbe/ixgbe_rxtx.c | 5 - 1 file changed, 5 deletions(-) diff --git a/d

[dpdk-dev] [PATCH v5] app/test: fix build when ring PMD is disabled

2019-12-22 Thread Reshma Pattan
t tests for latencystats library") Fixes: 46cf97e4bb ("eventdev: add test for eth Tx adapter") Fixes: d23e09e0ef ("app/test: link with ring pmd when needed") CC: sta...@dpdk.org CC: Nikhil Rao CC: Chas Williams CC: Bruce Richardson CC: Stephen Hemminger Reported-by: Step

[dpdk-dev] [PATCH v4] app/test: fix build when ring PMD is disabled

2019-12-18 Thread Reshma Pattan
t tests for latencystats library") Fixes: 46cf97e4bb ("eventdev: add test for eth Tx adapter") Fixes: d23e09e0ef ("app/test: link with ring pmd when needed") CC: sta...@dpdk.org CC: Nikhil Rao CC: Chas Williams CC: Bruce Richardson CC: Stephen Hemminger Reported

[dpdk-dev] [PATCH] latencystats: fix latency calculation for multithread

2019-12-05 Thread Reshma Pattan
Make latency calculation multithread safe by using spinlock. Fixes: 5cd3cac9ed ("latency: added new library for latency stats") Cc: sta...@dpdk.org Signed-off-by: reshma pattan --- lib/librte_latencystats/rte_latencystats.c | 4 1 file changed, 4 insertions(+) diff -

[dpdk-dev] [PATCH] doc: update git fixline alias with cc to stable

2019-11-19 Thread Reshma Pattan
Update git fixline alias to add sta...@dpdk.org to Cc Signed-off-by: Reshma Pattan --- doc/guides/contributing/patches.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/contributing/patches.rst b/doc/guides/contributing/patches.rst index 214030346..fa19d2eb5

[dpdk-dev] [PATCH] net: replace IP VHL DEF macro with RTE IPV4 VHL DEF

2019-11-08 Thread Reshma Pattan
Use new macro RTE_IPV4_VHL_DEF instead of IP_VHL_DEF wherever applicable. CC: xiaoyun...@intel.com CC: ferruh.yi...@intel.com CC: Bernard Iremonger CC: John Daley CC: Hyong Youb Kim Signed-off-by: Reshma Pattan --- app/test-pmd/csumonly.c| 3 --- app/test-pmd/flowgen.c

[dpdk-dev] [PATCH v3] app/test: fix build when ring PMD is disabled

2019-10-25 Thread Reshma Pattan
Fixes: d23e09e0ef ("app/test: link with ring pmd when needed") CC: sta...@dpdk.org CC: Nikhil Rao CC: Chas Williams CC: Bruce Richardson CC: Stephen Hemminger Reported-by: Stephen Hemminger Signed-off-by: Reshma Pattan --- v3: add missing test event_eth_tx_adapter_autotest. Ad

[dpdk-dev] [PATCH v2] app/test: fix build when ring PMD is disabled

2019-10-17 Thread Reshma Pattan
Fixes: d23e09e0ef ("app/test: link with ring pmd when needed") CC: sta...@dpdk.org CC: Nikhil Rao CC: Chas Williams CC: Bruce Richardson CC: Stephen Hemminger Reported-by: Stephen Hemminger Signed-off-by: Reshma Pattan --- v2: fix comments of v1 and combine the patches

[dpdk-dev] [PATCH 1/2] app/test: fix make build when ring PMD is disabled

2019-10-17 Thread Reshma Pattan
23e09e0ef ("app/test: link with ring pmd when needed") CC: sta...@dpdk.org CC: Nikhil Rao CC: Chas Williams CC: Bruce Richardson CC: Stephen Hemminger Reported-by: Stephen Hemminger Signed-off-by: Reshma Pattan --- app/test/Makefile | 16 ++-- app/test/process.h

[dpdk-dev] [PATCH 2/2] app/test: fix meson build when ring PMD is disabled

2019-10-17 Thread Reshma Pattan
sts for bitrate library") Fixes: 1e3676a06e ("test/latency: add unit tests for latencystats library") Fixes: 46cf97e4bb ("eventdev: add test for eth Tx adapter") CC: sta...@dpdk.org CC: Nikhil Rao CC: Chas Williams Reported-by: Stephen Hemminger Signed-off-by: Reshm

[dpdk-dev] [PATCH v4] examples/l3fwd-power: add telemetry mode support

2019-06-24 Thread Reshma Pattan
0% or 50% or 100%. Signed-off-by: Reshma Pattan Acked-by: Anatoly Burakov --- v4: Add -lm dependency to fix shared library linking issue. rebased release notes. v3: Update commit message. Update guide l3_forward_power_man.rst. Update code to not allow master core in --conf(port,queue,lcore

[dpdk-dev] [PATCH v2] lib/telemetry: add support to fetch global metrics

2019-06-18 Thread Reshma Pattan
telemetry has support for fetching port based stats from metrics library. Metrics library also has global stats which are not fetched by telemetry, so extend telemetry to fetch the global metrics. Signed-off-by: Reshma Pattan Acked-by: Kevin Laatz --- v2: fix GCC compilation issues. rebase

[dpdk-dev] [PATCH v3] examples/l3fwd-power: add telemetry mode support

2019-06-13 Thread Reshma Pattan
0% or 50% or 100%. Signed-off-by: Reshma Pattan Acked-by: Anatoly Burakov --- v3: Update commit message. Update guide l3_forward_power_man.rst. Update code to not allow master core in --conf(port,queue,lcore) option for telemetry mode. v2:Increased telemetry timer value. Corrected typos. Fixed

[dpdk-dev] [PATCH] lib/telemetry: fix memory leak

2019-05-29 Thread Reshma Pattan
Free the `values` pointer before returning from rte_telemetry_command_ports_all_stat_values() to avoid memory leak. Fixes: c12cefa379 ("telemetry: fix mapping of statistics") CC: sta...@dpdk.org CC: bruce.richard...@intel.com Signed-off-by: Reshma Pattan --- lib/librte

[dpdk-dev] [PATCH v2] examples/l3fwd-power: add telemetry mode support

2019-05-24 Thread Reshma Pattan
% or 50% or 100%. Signed-off-by: Reshma Pattan --- v2: Increased telemetry timer value. Corrected typos. Fixed if condition to avoid extra indentation. Added metrics dependency to meson build file. --- --- doc/guides/rel_notes/release_19_08.rst| 5 + .../sample_app_ug

[dpdk-dev] [PATCH v1] examples/l3fwd-power: add telemetry mode support

2019-05-17 Thread Reshma Pattan
% or 50% or 100%. Signed-off-by: Reshma Pattan --- doc/guides/rel_notes/release_19_08.rst| 5 + .../sample_app_ug/l3_forward_power_man.rst| 21 ++ examples/l3fwd-power/main.c | 307 -- 3 files changed, 314 insertions(+), 19 deletions(-) diff --git

[dpdk-dev] [PATCH] lib/telemetry: add support to fetch global metrics

2019-05-17 Thread Reshma Pattan
telemetry has support for fetching port based stats from metrics library. Metrics library also has global stats which are not fetched by telemetry, so extend telemetry to fetch the global metrics. Signed-off-by: Reshma Pattan --- doc/guides/howto/telemetry.rst| 9 +- doc

[dpdk-dev] [PATCH v2] mk: report address of packed member as warning

2019-05-02 Thread Reshma Pattan
= &mcfg->memsegs[msl_idx]; Signed-off-by: Reshma Pattan --- mk/toolchain/gcc/rte.vars.mk | 4 1 file changed, 4 insertions(+) diff --git a/mk/toolchain/gcc/rte.vars.mk b/mk/toolchain/gcc/rte.vars.mk index d8b99faf6..61032bbbc 100644 --- a/mk/toolchain/gcc/rte.vars.mk +++ b/mk/toolchain/

[dpdk-dev] [PATCH] mk: disable warning with gcc 9 on Fedora 30

2019-05-02 Thread Reshma Pattan
mp;mcfg->memsegs[msl_idx]; |^~~~~~~ Signed-off-by: Reshma Pattan --- mk/toolchain/gcc/rte.vars.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mk/toolchain/gcc/rte.vars.mk b/mk/toolchain/gcc/rte.vars.mk index d8b99faf6..b852fcfd7 100644 --- a/mk/toolchain/gcc/rte.vars.mk +++ b/m

[dpdk-dev] [PATCH] examples/vm_power_manager: fix overflowed value

2019-04-11 Thread Reshma Pattan
C: david.h...@intel.com CC: sta...@dpdk.org Signed-off-by: Reshma Pattan --- examples/vm_power_manager/oob_monitor_x86.c | 23 - 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/examples/vm_power_manager/oob_monitor_x86.c b/examples/vm_power_manager/oob_monitor_x

[dpdk-dev] [PATCH] examples/vm_power_manager: fix string overflow

2019-04-10 Thread Reshma Pattan
Use strlcpy instead of strcpy to fix string overflow. Coverity issue: 337671 Fixes: a63504a90f ("examples/power: add JSON string handling") CC: david.h...@intel.com CC: sta...@dpdk.org Signed-off-by: Reshma Pattan --- examples/vm_power_manager/channel_monitor.c | 3 ++- 1 file

[dpdk-dev] [PATCH] examples/vm_power_manager: fix string null termination

2019-04-09 Thread Reshma Pattan
case to fix null termination. Coverity issue: 337680 Fixes: a63504a90f ("examples/power: add JSON string handling") CC: david.h...@intel.com CC: sta...@dpdk.org Signed-off-by: Reshma Pattan --- examples/vm_power_manager/channel_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[dpdk-dev] [PATCH] test: fix build when pdump config is disabled

2019-03-20 Thread Reshma Pattan
pdump unit test has dependency on pthread code in test.c and process.h to run send_pkts(), this code should be enabled only when CONFIG_RTE_LIBRTE_PDUMP is enabled. Bugzilla ID: 222 Fixes: 086eb64db3 ("test/pdump: add unit test for pdump library") CC: sta...@dpdk.org Signed-off-

[dpdk-dev] [PATCH] doc: deprecation notice for sched changes

2019-01-28 Thread Reshma Pattan
From: Jasvinder Singh Add deprecation note for making changes in data structures, APIs and macros in order to increase the traffic classes, flexible mapping of pipe queues to traffic classes, subport level configuration of pipes, queues sizes, etc. Signed-off-by: Jasvinder Singh Cc: Cristian Du

[dpdk-dev] [PATCH v4] pdump: fix vdev cleanup

2019-01-15 Thread Reshma Pattan
: 6362f362a2 ("app/pdump: use EAL hotplug instead of ethdev attach") CC: sta...@dpdk.org CC: ferruh.yi...@intel.com Signed-off-by: Reshma Pattan --- v4: fix typo in commit message v3: fix author v2: fix typo in commit message --- --- app/pdump/main.c | 9 + 1 file changed, 9 insertion

[dpdk-dev] [PATCH v3] pdump: fix vdev cleanup

2019-01-11 Thread Reshma Pattan
: 6362f362a2 ("app/pdump: use EAL hotplug instead of ethdev attach") CC: sta...@dpdk.org CC: ferruh.yi...@intel.com Signed-off-by: Reshma Pattan --- v3: fix author v2: fix typo in commit message --- --- app/pdump/main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/app/pdump/ma

[dpdk-dev] [PATCH v2] pdump: fix vdev cleanup

2019-01-11 Thread Reshma Pattan
. Fixes: 6362f362a2 ("app/pdump: use EAL hotplug instead of ethdev attach") CC: sta...@dpdk.org CC: ferruh.yi...@intel.com Signed-off-by: Reshma Pattan --- v2: fix typo in commit message --- app/pdump/main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/app/pdump/ma

[dpdk-dev] [PATCH] pdump: fix vdev cleanup

2019-01-11 Thread Reshma Pattan
. Fixes: 6362f362a2 ("app/pdump: use EAL hotplug instead of ethdev attach") CC: sta...@dpdk.org CC: ferruh.yi...@intel.com Signed-off-by: Reshma Pattan --- app/pdump/main.c | 9 + 1 file changed, 9 insertions(+) diff --git a/app/pdump/main.c b/app/pdump/main.c index 9e86bf623.

[dpdk-dev] [PATCH v7 2/2] mbuf: implement generic format for sched field

2018-12-20 Thread Reshma Pattan
e mbuf->hash.txadapter.txq. doc: Release notes updated. Removed deprecation notice for mbuf->hash.sched and sched API. [1] http://mails.dpdk.org/archives/dev/2018-February/090651.html [2] https://mails.dpdk.org/archives/dev/2018-November/119051.html Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Patt

[dpdk-dev] [PATCH v7 1/2] meter: add new rte color definition

2018-12-20 Thread Reshma Pattan
rte_tm_color, rte_mtr_color and rte_meter_color will be deprecated in future. Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan Acked-by: Cristian Dumitrescu --- v5: Removed meter library from librte_mbuf dependency list. v4: Removed rte_meter, rte_mtr and rte_tm color definitions. Moved

[dpdk-dev] [PATCH v6 2/2] mbuf: implement generic format for sched field

2018-12-19 Thread Reshma Pattan
: Release notes updated. Removed deprecation notice for mbuf::hash::sched and sched API. [1] http://mails.dpdk.org/archives/dev/2018-February/090651.html [2] https://mails.dpdk.org/archives/dev/2018-November/119051.html Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan Acked-by

[dpdk-dev] [PATCH v6 1/2] meter: add new rte color definition

2018-12-19 Thread Reshma Pattan
rte_tm_color, rte_mtr_color and rte_meter_color will be deprecated in future. Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan Acked-by: Cristian Dumitrescu --- v5: Removed meter library from librte_mbuf dependency list. v4: Removed rte_meter, rte_mtr and rte_tm color definitions. Moved

[dpdk-dev] [PATCH v5 1/2] meter: add new rte color definition

2018-12-19 Thread Reshma Pattan
rte_tm_color, rte_mtr_color and rte_meter_color will be deprecated in future. Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan Acked-by: Cristian Dumitrescu --- v5: Removed meter library from librte_mbuf dependency list. v4: Removed rte_meter, rte_mtr and rte_tm color definitions. Moved

[dpdk-dev] [PATCH v5 2/2] mbuf: implement generic format for sched field

2018-12-19 Thread Reshma Pattan
: Release notes updated. Removed deprecation notice for mbuf::hash::sched and sched API. [1] http://mails.dpdk.org/archives/dev/2018-February/090651.html [2] https://mails.dpdk.org/archives/dev/2018-November/119051.html Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan Acked-by

[dpdk-dev] [PATCH v4 1/2] meter: add new rte color definition

2018-12-18 Thread Reshma Pattan
rte_tm_color, rte_mtr_color and rte_meter_color will be deprecated in future. Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan --- v4: Removed rte_meter, rte_mtr and rte_tm color definitions. Moved rte_color definition from eal to meter library. v3:Addressed review comments given in the below

[dpdk-dev] [PATCH v4 2/2] mbuf: implement generic format for sched field

2018-12-18 Thread Reshma Pattan
: Release notes updated. Removed deprecation notice for mbuf::hash::sched and sched API. [1] http://mails.dpdk.org/archives/dev/2018-February/090651.html [2] https://mails.dpdk.org/archives/dev/2018-November/119051.html Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan --- v4

[dpdk-dev] [PATCH v3 2/2] mbuf: implement generic format for sched field

2018-12-13 Thread Reshma Pattan
. doc: Release notes updated. Removed deprecation notice for mbuf::hash::sched and sched API. [1] http://mails.dpdk.org/archives/dev/2018-February/090651.html [2] https://mails.dpdk.org/archives/dev/2018-November/119051.html Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan --- v3

[dpdk-dev] [PATCH v3 1/2] eal: add new rte color definition

2018-12-13 Thread Reshma Pattan
, rte_mtr_color and rte_meter_color will be deprecated in future. Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan --- v2: Addressed review comments given in the below link http://patches.dpdk.org/patch/48588/ Added rte_color.h to meson build. --- --- lib/librte_eal/common/Makefile

[dpdk-dev] [PATCH] doc: add deprecation notice to remove rte meter color

2018-12-12 Thread Reshma Pattan
Added deprecation notice to replace rte_meter_color with rte_color. Signed-off-by: Reshma Pattan Acked-by: Cristian Dumitrescu --- doc/guides/rel_notes/deprecation.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes

[dpdk-dev] [PATCH v2 3/3] doc: add deprecation notice to remove rte meter color

2018-12-07 Thread Reshma Pattan
Added deprecation notice to replace rte_meter_color with rte_color. Signed-off-by: Reshma Pattan --- doc/guides/rel_notes/deprecation.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 60e081a54

[dpdk-dev] [PATCH v2 2/3] eal: add new rte color definition

2018-12-07 Thread Reshma Pattan
use new color definition. Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan --- app/test-pmd/cmdline_mtr.c | 47 +++-- app/test-pmd/cmdline_tm.c | 23 +- drivers/net/softnic/rte_eth_softnic_flow.c | 10 +++-- drivers/net

[dpdk-dev] [PATCH v2 1/3] mbuf: implement generic format for sched field

2018-12-07 Thread Reshma Pattan
. doc: Release notes updated. Removed deprecation notice for mbuf::hash::sched and sched API. [1] http://mails.dpdk.org/archives/dev/2018-February/090651.html [2] https://mails.dpdk.org/archives/dev/2018-November/119051.html Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan --- doc

[dpdk-dev] [PATCH v2] net/softnic: fix string copy

2018-10-31 Thread Reshma Pattan
com CC: jasvinder.si...@intel.com Signed-off-by: Reshma Pattan --- v2: merge the below patches into single patch. http://patchwork.dpdk.org/patch/47570/ http://patchwork.dpdk.org/patch/47571/ http://patchwork.dpdk.org/patch/47572/ http://patchwork.dpdk.org/patch/47573/ --- drivers/net/softnic/rte_eth

[dpdk-dev] [PATCH 3/4] net/softnic: fix string copy

2018-10-30 Thread Reshma Pattan
From: Reshma Pattan Use strlcpy instead of strcpy to avoid buffer overrun. Coverity issue: 323475 Fixes: c169b6a588 ("net/softnic: map flow attribute to pipeline table") CC: cristian.dumitre...@intel.com CC: jasvinder.si...@intel.com Signed-off-by: Reshma Pattan --- drivers/n

[dpdk-dev] [PATCH 4/4] net/softnic: fix string copy

2018-10-30 Thread Reshma Pattan
From: Reshma Pattan Use strlcpy instead of strcpy to avoid buffer overrun. Coverity issue: 323478 Fixes: b767f8efc8 ("net/softnic: replace pointers with arrays") CC: cristian.dumitre...@intel.com CC: jasvinder.si...@intel.com Signed-off-by: Reshma Pattan --- drivers/n

[dpdk-dev] [PATCH 2/4] net/softnic: fix string copy

2018-10-30 Thread Reshma Pattan
From: Reshma Pattan Replace strcpy with strlcpy to avoid buffer overrun. Coverity issue: 323515 Fixes: b767f8efc8 ("net/softnic: replace pointers with arrays") CC: cristian.dumitre...@intel.com CC: jasvinder.si...@intel.com Signed-off-by: Reshma Pattan --- drivers/n

[dpdk-dev] [PATCH 1/4] net/softnic: fix string copy

2018-10-30 Thread Reshma Pattan
From: Reshma Pattan Use strlcpy instead of strcpy to avoid buffer overrun. Coverity issue: 323514 Fixes: b767f8efc8 ("net/softnic: replace pointers with arrays") CC: cristian.dumitre...@intel.com CC: jasvinder.si...@intel.com Signed-off-by: Reshma Pattan --- drivers/n

[dpdk-dev] [PATCH v2] doc: update softnic doc for flow and qos API support

2018-10-18 Thread Reshma Pattan
Update document with flow and qos api support in softnic PMD. Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan Reviewed-by: Marko Kovacevic --- v2: fixed the Note. reworded the sentence. --- doc/guides/nics/softnic.rst | 120 1 file changed, 120

[dpdk-dev] [PATCH v2] doc: update softnic doc for flow and qos API support

2018-10-18 Thread Reshma Pattan
Update document with flow and qos api support in softnic PMD. Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan Reviewed-by: Marko Kovacevic --- v2: fixed the Note. reworded the sentence. --- doc/guides/nics/softnic.rst | 120 1 file changed, 120

[dpdk-dev] [PATCH] doc: update softnic doc for flow and qos API support

2018-10-18 Thread Reshma Pattan
Update document with flow and qos api support in softnic PMD. Signed-off-by: Jasvinder Singh Signed-off-by: Reshma Pattan --- doc/guides/nics/softnic.rst | 119 1 file changed, 119 insertions(+) diff --git a/doc/guides/nics/softnic.rst b/doc/guides/nics

[dpdk-dev] [PATCH v3] net/softnic: add support for flow API vxlan encap action

2018-10-16 Thread Reshma Pattan
Added support to handle vxlan encap action of rte flow rule. Signed-off-by: Reshma Pattan Acked-by: Dumitrescu Cristian --- v3: fixed vlan pcp, dei and vid parsing. fixed ipv6 flow_label and dscp parsing. --- drivers/net/softnic/rte_eth_softnic_flow.c | 192 + 1 file

[dpdk-dev] [PATCH v2] net/softnic: add support for flow API vxlan encap action

2018-10-15 Thread Reshma Pattan
Added support to handle vxlan encap action of rte flow rule. Signed-off-by: Reshma Pattan Acked-by: Dumitrescu Cristian --- drivers/net/softnic/rte_eth_softnic_flow.c | 192 + 1 file changed, 192 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_flow.c b

[dpdk-dev] [PATCH] net/softnic: add rte flow vxlan action support

2018-10-12 Thread Reshma Pattan
Added support to handle vxlan action of rte flow rule. Signed-off-by: Reshma Pattan Acked-by: Dumitrescu Cristian --- drivers/net/softnic/rte_eth_softnic_flow.c | 192 + 1 file changed, 192 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_flow.c b/drivers

[dpdk-dev] [PATCH v4] net/softnic: add flow flush API

2018-10-08 Thread Reshma Pattan
Add rte flow flush api for flushing all the flows of the port. Signed-off-by: Reshma Pattan --- v4: Abort on rule deletion failures only at the end. v3: Some style related changes v2: Use TAILQ_FOREACH_SAFE instead of TAILQ_FOREACH for safe removal using TAILQ_REMOVAL. --- drivers/net/softnic

[dpdk-dev] [PATCH v3] net/softnic: add flow flush API

2018-10-08 Thread Reshma Pattan
Add rte flow flush api for flushing all the flows of the port. Signed-off-by: Reshma Pattan --- v3: Some style related changes v2: Use TAILQ_FOREACH_SAFE instead of TAILQ_FOREACH for safe removal using TAILQ_REMOVAL. --- drivers/net/softnic/rte_eth_softnic_flow.c | 47 +- 1

[dpdk-dev] [PATCH] doc: update timestamp validity for latency measurement

2018-10-04 Thread Reshma Pattan
Updated the doc on how packets are marked to identify their timestamp as valid and considered for latency measurement. Suggested-by: Bao-Long Tran Signed-off-by: Reshma Pattan --- This change is relevant to the below patch and must be applied after that. http://patches.dpdk.org/patch/45328

[dpdk-dev] [PATCH v2] net/softnic: add flow flush API

2018-10-02 Thread Reshma Pattan
Add rte flow flush api for flushing all the flows of the port. Signed-off-by: Reshma Pattan --- v2: Use TAILQ_FOREACH_SAFE instead of TAILQ_FOREACH for safe removal using TAILQ_REMOVAL. Corrected indentation and other style related nits. --- drivers/net/softnic/rte_eth_softnic_flow.c | 46

[dpdk-dev] [PATCH] net/softnic: add flow flush API

2018-10-01 Thread Reshma Pattan
Add rte flow flush api for flushing all the flows of the port. Signed-off-by: Reshma Pattan --- This patch depends on below patch sets so must be applied after below patches are applied. https://mails.dpdk.org/archives/dev/2018-September/111379.html https://mails.dpdk.org/archives/dev/2018

[dpdk-dev] [PATCH] net/softnic: fix ipv6 address from big endian to cpu order

2018-09-28 Thread Reshma Pattan
Fix ipv6 endianness from big endian to cpu order. Fixes: ee19326a4b ("net/softnic: add command for pipeline table entries") Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_thread.c | 40 1 file changed, 24 insertions(+), 16 deletions(-) di

[dpdk-dev] [PATCH] examples/ip_pipeline: fix ipv6 address endianness

2018-09-28 Thread Reshma Pattan
Fix ipv6 endianness from big endian to cpu order. Fixes: a3a95b7d58 ("examples/ip_pipeline: add table entry commands") Signed-off-by: Reshma Pattan --- examples/ip_pipeline/thread.c | 40 +-- 1 file changed, 24 insertions(+), 16 deletions(-) di

[dpdk-dev] [PATCH v3] latencystats: fix timestamp marking and latency calculation

2018-09-25 Thread Reshma Pattan
it is guaranteed that correct timestamps have been used. Fixes: 5cd3cac9ed ("latency: added new library for latency stats") CC: sta...@dpdk.org Reported-by: Bao-Long Tran Signed-off-by: Reshma Pattan Tested-by: Bao-Long Tran Acked-by: Konstantin Ananyev --- v3: style related fix v2: r

[dpdk-dev] [PATCH v2] latencystats: fix timestamp marking and latency calculation

2018-09-25 Thread Reshma Pattan
it is guaranteed that correct timestamps have been used. Fixes: 5cd3cac9ed ("latency: added new library for latency stats") Reported-by: Bao-Long Tran Signed-off-by: Reshma Pattan Tested-by: Bao-Long Tran --- v2: remove check for mbuf->timestamp --- lib/librte_latencystats/rte_

[dpdk-dev] [PATCH] latencystats: fix timestamp marking and latency calculation

2018-09-21 Thread Reshma Pattan
it is guaranteed that correct timestamps have been used. Fixes: 5cd3cac9ed ("latency: added new library for latency stats") Reported-by: Bao-Long Tran Signed-off-by: Reshma Pattan --- lib/librte_latencystats/rte_latencystats.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) d

[dpdk-dev] [PATCH] app/testpmd: fix missing jump action in flow action

2018-09-19 Thread Reshma Pattan
Added missing JUMP flow action in flow_action array. Without this the flow rule cannot be created for JUMP action. Fixes: 938a184a18 ("app/testpmd: implement basic support for flow API") Signed-off-by: Reshma Pattan --- app/test-pmd/config.c | 1 + 1 file changed, 1 insertion(+) di

[dpdk-dev] [PATCH v2 15/15] net/softnic: add parsing for raw flow item

2018-09-11 Thread Reshma Pattan
Added support for parsing raw flow item. flow_item_raw_preprocess() is added for the same. Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_flow.c | 108 + 1 file changed, 108 insertions(+) diff --git a/drivers

[dpdk-dev] [PATCH v2 14/15] net/softnic: add flow query API

2018-09-11 Thread Reshma Pattan
Added pmd_flow_query() API, for flow query support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_flow.c | 55 ++ 1 file changed, 55 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_flow.c b

[dpdk-dev] [PATCH v2 13/15] net/softnic: add flow destroy API

2018-09-11 Thread Reshma Pattan
pmd_flow_destroy() API is added to destroy the created flow. Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_flow.c | 39 ++ 1 file changed, 39 insertions(+) diff --git a/drivers/net/softnic

[dpdk-dev] [PATCH v2 12/15] net/softnic: add flow create API

2018-09-11 Thread Reshma Pattan
pmd_flow_create API is added to support rte flow create. Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_flow.c | 174 + 1 file changed, 174 insertions(+) diff --git a/drivers/net/softnic

[dpdk-dev] [PATCH v2 11/15] net/softnic: validate and map flow action with table action

2018-09-11 Thread Reshma Pattan
Added validation and mapping of flow rule action with table action profile. Added flow_rule_action_get() to do the same. Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_flow.c | 350 + 1 file changed, 350

[dpdk-dev] [PATCH v2 10/15] net/softnic: validate and map flow with hash table match

2018-09-11 Thread Reshma Pattan
Support for validating and mapping flow rule with HASH table match is added. As part of this, below helper functions are added. flow_rule_match_hash_get() hash_key_mask_is_same() Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_flow.c

[dpdk-dev] [PATCH v2 09/15] net/softnic: parse flow protocol for acl table match

2018-09-11 Thread Reshma Pattan
Added flow protocol parsing for IPV4/IPV6 and TCP/UDP/SCTP for ACL table rule match. Added below helper functions for doing the same. port_mask_to_range() ipv6_mask_to_depth() ipv4_mask_to_depth() mask_to_depth() Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net

[dpdk-dev] [PATCH v2 08/15] net/softnic: validate and map flow rule with acl table match

2018-09-11 Thread Reshma Pattan
() Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_flow.c | 386 + 1 file changed, 386 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_flow.c b/drivers/net/softnic/rte_eth_softnic_flow.c index

[dpdk-dev] [PATCH v2 07/15] net/softnic: implement flow validate API

2018-09-11 Thread Reshma Pattan
Start adding flow api operations. Started with flow validate api support by adding below basic infrastructure. flow_pipeline_table_get() pmd_flow_validate() Additional flow validate changes will be added in next patches. Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan

[dpdk-dev] [PATCH v2 06/15] net/softnic: add function to get eth device from softnic

2018-09-11 Thread Reshma Pattan
Add utility function to get the rte_eth_dev from a given softnic. Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_internals.h | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/softnic

[dpdk-dev] [PATCH v2 05/15] net/softnic: add free table and find out port functions

2018-09-11 Thread Reshma Pattan
Added utility function to freeup the pipeline tables. Added utility functions to find the pipeline output port. Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_internals.h | 13 ++ drivers/net/softnic/rte_eth_softnic_pipeline.c | 57

[dpdk-dev] [PATCH v2 04/15] net/softnic: replace some pointers with arrays

2018-09-11 Thread Reshma Pattan
Change dev_name, action_profile_name and key_mask from char* type to arary type of structures softnic_port_in_params, softnic_port_out_params and softnic_table_hash_params. Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_cli.c | 34

[dpdk-dev] [PATCH v2 03/15] net/softnic: add new cli for flow attribute map

2018-09-11 Thread Reshma Pattan
Added new cli by which user can specify to softnic which rte flow group and direction has to mapped to which pipeline and table. Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_cli.c | 81 +++ 1 file changed

[dpdk-dev] [PATCH v2 02/15] net/softnic: map flow attributes to pipeline table

2018-09-11 Thread Reshma Pattan
: Reshma Pattan --- drivers/net/softnic/Makefile| 1 + drivers/net/softnic/meson.build | 1 + drivers/net/softnic/rte_eth_softnic_flow.c | 46 + drivers/net/softnic/rte_eth_softnic_internals.h | 31 + 4 files changed

[dpdk-dev] [PATCH v2 01/15] net/softnic: add infrastructure for flow API

2018-09-11 Thread Reshma Pattan
Add rte_flow infra structure for flow api support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Reshma Pattan --- drivers/net/softnic/rte_eth_softnic_internals.h | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/softnic/rte_eth_softnic_internals.h b

[dpdk-dev] [PATCH v2 00/15] add flow API support to softnic

2018-09-11 Thread Reshma Pattan
This patch series adds the flow API support for the softnic. This patch set also introduce a new cli command to provide mapping of flow group and direction to softnic pipeline and table. v2: added missing code to patch #9/10 reworded commit titles. Reshma Pattan (15): net/softnic: add

  1   2   3   4   5   >