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
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
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
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
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
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
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
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
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
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)
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)
}
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
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
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
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
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
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
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
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
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
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
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
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
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 -
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
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
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
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
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
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
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
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
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
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
% 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
% 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
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
= &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/
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
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
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
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(-)
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-
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
: 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
: 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
.
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
.
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.
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
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
:
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
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
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
:
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
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
:
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
.
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
, 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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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_
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
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
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
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
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
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
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
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
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
()
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
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
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
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
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
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
: 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
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
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 - 100 of 421 matches
Mail list logo