[dpdk-dev] [PATCH 3/3] librte_reorder: New sample app for reorder library

2015-01-07 Thread Reshma Pattan
From: Reshma Pattan *Sample application consists of RX, Worker and TX threads. *RX thread marks the seqn field of mbufs upon receiving mbufs from driver. Marked mbufs will be enqueued in multi consumer ring. *Worker threads will dequeue mbufs from multi consumer

[dpdk-dev] [PATCH] librte_reorder: fix failing unit test cases

2015-10-20 Thread Reshma Pattan
nd 4 ports are used for reorder sample app testing. Signed-off-by: Reshma Pattan --- app/test/test_reorder.c | 75 + examples/packet_ordering/main.c | 2 +- 2 files changed, 39 insertions(+), 38 deletions(-) diff --git a/app/test/test_reorder.c

[dpdk-dev] [PATCH] MAINTAINERS: update maintainer for reorder library

2015-10-21 Thread Reshma Pattan
Updated maintainers list for reorder library Signed-off-by: Reshma Pattan --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 080a8e8..bdc0981 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -314,7 +314,7 @@ F: examples

[dpdk-dev] [PATCH v2] app/test: fix reorder library unit test

2015-10-21 Thread Reshma Pattan
behavior. Fixes: 7e1fa1de8a53 ("reorder: allow random number as starting point") Signed-off-by: Reshma Pattan --- Version 2: split patch for unit test only update commit message app/test/test_reorder.c | 75 --- 1 files changed, 38 inserti

[dpdk-dev] [PATCH 1/3] librte_ether: remove RTE_PROC_PRIMARY_OR_ERR_RET and RTE_PROC_PRIMARY_OR_RET

2015-12-23 Thread Reshma Pattan
Macros RTE_PROC_PRIMARY_OR_ERR_RET and RTE_PROC_PRIMARY_OR_RET are blocking the secondary process from using the APIs. API access should be given to both secondary and primary. Fix minor checkpath issues in rte_ethdev.h Reported-by: Sean Harte Signed-off-by: Reshma Pattan --- lib/librte_ether

[dpdk-dev] [PATCH 3/3] librte_ether: fix rte_eth_dev_configure

2015-12-23 Thread Reshma Pattan
User should be able to configure ethdev with zero rx/tx queues, but both should not be zero. After above change, rte_eth_dev_tx_queue_config, rte_eth_dev_rx_queue_config should allocate memory for rx/tx queues only when number of rx/tx queues are nonzero. Signed-off-by: Reshma Pattan --- lib

[dpdk-dev] [PATCH 2/3] librte_cryptodev: remove RTE_PROC_PRIMARY_OR_RET

2015-12-23 Thread Reshma Pattan
Macro RTE_PROC_PRIMARY_OR_ERR_RET blocking the secondary process from API usage. API access should be given to both secondary and primary. Signed-off-by: Reshma Pattan --- lib/librte_cryptodev/rte_cryptodev.c | 42 1 file changed, 42 deletions(-) diff --git

[dpdk-dev] [PATCH] app/test-pmd: add support for zero rx and tx queues

2016-03-11 Thread Reshma Pattan
Added testpmd support to validate zero nb_rxq/nb_txq changes of librte_ether. Signed-off-by: Reshma Pattan --- app/test-pmd/cmdline.c| 11 +-- app/test-pmd/parameters.c | 14 +- app/test-pmd/testpmd.c| 28 +--- 3 files changed, 39 insertions

[dpdk-dev] [PATCH] examples/l3fwd: fix validation for queue id of config tuple

2016-03-18 Thread Reshma Pattan
application allocates memory only for queues passed by user. But rte_eth_dev_start tries to initialize rx queues in sequence from 0 to nb_rx_queues, which is not true and coredump while accessing the unallocated queue . Fixes: Commit af75078f Signed-off-by: Reshma Pattan --- examples/l3fwd/main.c

[dpdk-dev] [PATCH v2] examples/l3fwd: fix validation for queue id of config tuple

2016-03-24 Thread Reshma Pattan
application allocates memory only for queues passed by user. But rte_eth_dev_start tries to initialize rx queues in sequence from 0 to nb_rx_queues, which is not true and coredump while accessing the unallocated queue . Signed-off-by: Reshma Pattan --- v2: used nested if instead of if and elseif

[dpdk-dev] [PATCH v3] examples/l3fwd: fix validation for queue id of config tuple

2016-03-25 Thread Reshma Pattan
application allocates memory only for queues passed by user. But rte_eth_dev_start tries to initialize rx queues in sequence from 0 to nb_rx_queues, which is not true and coredump while accessing the unallocated queue . Fixes: af75078fece3 ("first public release") Signed-off-by: Res

[dpdk-dev] [PATCH 0/5] add dpdk packet capture support for tcpdump

2016-01-29 Thread Reshma Pattan
Writing to PCAP files will be stopped once the folder size where pcap files exists reaches its max value. Reshma Pattan (5): app/test-pmd: fix nb_rxq and np_txq checks drivers/net/pcap: add public api to create pcap device app/proc_info: add tcpdump support in secondary process lib/libr

[dpdk-dev] [PATCH 1/5] app/test-pmd: fix nb_rxq and np_txq checks

2016-01-29 Thread Reshma Pattan
Made testpmd changes to validate nb_rxq/nb_txq zero value changes of librte_ether. Signed-off-by: Reshma Pattan --- app/test-pmd/cmdline.c| 11 +-- app/test-pmd/parameters.c | 14 +- app/test-pmd/testpmd.c| 19 +-- 3 files changed, 31 insertions

[dpdk-dev] [PATCH 2/5] drivers/net/pcap: add public api to create pcap device

2016-01-29 Thread Reshma Pattan
Added new public api to create pcap device from pcaps. Added new header file for API declaration. Added new public api to version map Signed-off-by: Reshma Pattan --- drivers/net/pcap/Makefile |4 +- drivers/net/pcap/rte_eth_pcap.c | 156

[dpdk-dev] [PATCH 3/5] app/proc_info: add tcpdump support in secondary process

2016-01-29 Thread Reshma Pattan
Added "--tcupdump2 and "--src-ip-filter" command line options for tcpdump support. Added pcap device creation and writing of packets to pcap device for tcpdump. Added socket functionality to communicate with primary process. Signed-off-by: Reshma Pattan --- app/proc_inf

[dpdk-dev] [PATCH 5/5] doc: update doc for tcpdump feature

2016-01-29 Thread Reshma Pattan
Added tcpdump design changes to proc_info section of sample application user guide. Added tcpdump design changes env abstraction layer section of programmers guide. Signed-off-by: Reshma Pattan --- doc/guides/prog_guide/env_abstraction_layer.rst | 29 +++- doc/guides

[dpdk-dev] [PATCH 4/5] lib/librte_eal: add tcpdump support in primary process

2016-01-29 Thread Reshma Pattan
functionality to remove registered rte_eth_rxtx_callbacks once secondary process is terminated. Signed-off-by: Reshma Pattan --- lib/librte_eal/linuxapp/eal/Makefile |5 +- lib/librte_eal/linuxapp/eal/eal_interrupts.c | 376 +- 2 files changed, 378 insertions

[dpdk-dev] [PATCH] app/testpmd: add timer based fwd Rx queue flushing

2016-07-01 Thread Reshma Pattan
ble packet forwarding and forward the packets. So timer is set to exit the do while loop after 1 second. Fixes: af75078f ("first public release") Signed-off-by: Reshma Pattan --- app/test-pmd/testpmd.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff

[dpdk-dev] [PATCH] pdump: close client socket

2016-07-04 Thread Reshma Pattan
Close the client socket before returning on error. Coverity issue: 127555 Fixes: f3c1829130ac ("pdump: check missing home environment variable") Signed-off-by: Reshma Pattan --- lib/librte_pdump/rte_pdump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/li

[dpdk-dev] [PATCH 0/2] update packet capture framework doc

2016-07-06 Thread Reshma Pattan
This patch set contains 1) Release notes update for adding pdump library version to shared library section. 2) Added missing note about pdump tool dependency on libpcap and CONFIG_RTE_LIBRTE_PMD_PCAP. Reshma Pattan (2): doc: add pcap dependency note to pdump tool guide doc: add pdump shared

[dpdk-dev] [PATCH 1/2] doc: add pcap dependency note to pdump tool guide

2016-07-06 Thread Reshma Pattan
Added a missing note about dependencies on libpcap and CONFIG_RTE_LIBRTE_PMD_PCAP flag that pdump tool has. Signed-off-by: Reshma Pattan --- doc/guides/sample_app_ug/pdump.rst | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/guides/sample_app_ug/pdump.rst b

[dpdk-dev] [PATCH 2/2] doc: add pdump shared library version to release notes

2016-07-06 Thread Reshma Pattan
Added missing librte_pdump shared library version to release notes. Signed-off-by: Reshma Pattan --- doc/guides/rel_notes/release_16_07.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/guides/rel_notes/release_16_07.rst b/doc/guides/rel_notes/release_16_07.rst index 569f562..d758cd5

[dpdk-dev] [PATCH 1/3] pdump: fix error handlings

2016-07-13 Thread Reshma Pattan
value that the APIs has returned. Fixes: 278f945402c5 ("pdump: add new library for packet capture") Signed-off-by: Reshma Pattan --- lib/librte_pdump/rte_pdump.c | 26 -- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/lib/librte_pdump/rte_pdu

[dpdk-dev] [PATCH 3/3] doc: fix default socket path names

2016-07-13 Thread Reshma Pattan
Fixed default socket path name "/var/run" to "/var/run/.dpdk" and "$HOME" to "~/.dpdk". Fixes: 278f945402c5 ("pdump: add new library for packet capture") Signed-off-by: Reshma Pattan --- doc/guides/prog_guide/pdump_lib.rst | 12 ++--

[dpdk-dev] [PATCH 0/3] add new command line options and error handling in pdump

2016-07-13 Thread Reshma Pattan
This patch set contains 1)Error handling fixes in pdump library. 2)Support of server and client socket path command line options in pdump tool. 3)Default socket path name fixes in pdump library doc. Reshma Pattan (3): pdump: fix error handlings app/pdump: add new command line options for

[dpdk-dev] [PATCH 2/3] app/pdump: add new command line options for socket paths

2016-07-13 Thread Reshma Pattan
e with the new changes. Fixes: caa7028276b8 ("app/pdump: add tool for packet capturing") Signed-off-by: Reshma Pattan --- app/pdump/main.c | 57 -- doc/guides/sample_app_ug/pdump.rst | 31 +++-- 2 files changed, 71 inse

[dpdk-dev] [PATCH] examples/distributor: fix Rx thread logic for zero packets

2016-07-14 Thread Reshma Pattan
From: Reshma Pattan Zero packets can be returned by rte_eth_rx_burst() and rte_distributor_returned_pkts() inside lcore_rx(), so for zero packet scenario instead of proceeding to next operations we should continue to the next iteration of the loop to avoid unnecessary processing overhead which

[dpdk-dev] [PATCH] app/testpmd: fix redundant time update

2016-07-15 Thread Reshma Pattan
Inside flush_fwd_rx_queues removed redundant prev_tsc update with cur_tsc, as prev_tsc value is always updated with rte_rdtsc() in for loop. Coverity issue: 127797 Fixes: f487715f36f5 ("app/testpmd: add timeout in Rx queue flushing") Signed-off-by: Reshma Pattan --- app/test-pmd/tes

[dpdk-dev] [PATCH] app/pdump: cleanup rte rings upon failures

2016-07-22 Thread Reshma Pattan
Function create_mp_ring_vdev() for failure cases exits without freeing the created rte rings, because of this pdump tool cannot be rerun successfully. Added rte ring cleanup logic upon failures. Fixes: caa7028276b8 ("app/pdump: add tool for packet capturing") Signed-off-by: Res

[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) }

[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 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 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

[dpdk-dev] [PATCH] app/test: enhance cryptodev scheduler unit tests

2018-04-05 Thread Reshma Pattan
Unit Test Cases for MultiCore mode, Failover mode, Packet Distribution mode are added to improve code coverage Signed-off-by: Jananee Parthasarathy --- test/test/test_cryptodev.c | 101 ++--- 1 file changed, 76 insertions(+), 25 deletions(-) diff --git a/

[dpdk-dev] [PATCH] app/test: enhance power manager unit tests

2018-04-06 Thread Reshma Pattan
Unit Testcases are added for power_acpi_cpu_freq, power_kvm_vm_test to improve coverage Signed-off-by: Jananee Parthasarathy --- test/test/test_power_acpi_cpufreq.c | 2 +- test/test/test_power_kvm_vm.c | 62 + 2 files changed, 57 insertions(+), 7 delet

[dpdk-dev] [PATCH v2] app/test: enhance cryptodev scheduler unit tests

2018-04-10 Thread Reshma Pattan
Unit Test Cases for MultiCore mode, Failover mode, Packet Distribution mode are added to improve code coverage Signed-off-by: Jananee Parthasarathy --- V2: Remove hard coding of core numbers in vdev init and add parsing for cmd line core mask. --- test/test/test_cryptodev.c | 127 +++

[dpdk-dev] [PATCH v2] app/test: enhance power manager unit tests

2018-04-11 Thread Reshma Pattan
Unit Testcases are added for power_acpi_cpu_freq, power_kvm_vm_test to improve coverage Signed-off-by: Jananee Parthasarathy Acked-by: David Hunt --- V3: removed unnecessary extern funtion prototypes. --- test/test/test_power_acpi_cpufreq.c | 2 +- test/test/test_power_kvm_vm.c | 60

[dpdk-dev] [PATCH v3] app/test: enhance cryptodev scheduler unit tests

2018-04-13 Thread Reshma Pattan
Unit Test Cases for MultiCore mode, Failover mode, Packet Distribution mode are added to improve code coverage Signed-off-by: Jananee Parthasarathy --- v3: Pass on socket id to cryptodev sched vdev arg to increase the code coverage. --- test/test/test_cryptodev.c | 131 ++

[dpdk-dev] [PATCH] examples/ip_pipeline: fixes uninitialized scalar variable

2018-04-18 Thread Reshma Pattan
Using uninitialized value p.thread_id when calling kni_create. Initialize the kni_params object to 0. Coverity issue: 272569 Fixes: 9a408cc8ac ("examples/ip_pipeline: add KNI object") CC: jasvinder.si...@intel.com Signed-off-by: Reshma Pattan --- examples/ip_pipeline/cli.c | 1

[dpdk-dev] [PATCH] examples/ip_pipeline: fix buffer not null terminated

2018-04-18 Thread Reshma Pattan
jasvinder.si...@intel.com Signed-off-by: Reshma Pattan --- examples/ip_pipeline/kni.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/ip_pipeline/kni.c b/examples/ip_pipeline/kni.c index ed5f8942e..7e5ff0543 100644 --- a/examples/ip_pipeline/kni.c +++ b/example

[dpdk-dev] [PATCH] examples/ip_pipipeline: fix resource leak

2018-04-18 Thread Reshma Pattan
Close tap device fd before returning upon failures. Coverity issue: 272576 Fixes: 2f74ae28e2 ("examples/ip_pipeline: add tap object") CC: jasvinder.si...@intel.com Signed-off-by: Reshma Pattan --- examples/ip_pipeline/tap.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletion

[dpdk-dev] [PATCH] examples/ip_pipeline: fix buffer not null terminated

2018-04-18 Thread Reshma Pattan
cts") CC: jasvinder.si...@intel.com Signed-off-by: Reshma Pattan --- examples/ip_pipeline/action.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/ip_pipeline/action.c b/examples/ip_pipeline/action.c index 77a04fe19..d2cd7286c 100644 --- a/examples/ip_pipeline/a

[dpdk-dev] [PATCH] doc: add option to install PMD driver shared library

2017-03-27 Thread Reshma Pattan
Update the document with the available EAL command line option to install the pmd drivers that are built as shared libraries. Signed-off-by: Reshma Pattan --- doc/guides/linux_gsg/build_sample_apps.rst | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/guides

[dpdk-dev] [PATCH] pdump: remove unnecessary header file

2017-06-12 Thread Reshma Pattan
Missed to remove unnecessary header file rte_pci.h. Removed it now. Fixes: bb900072("pdump: revert PCI device name conversion") Signed-off-by: Reshma Pattan --- lib/librte_pdump/rte_pdump.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/librte_pdump/rte_pdump.c b/lib/li

[dpdk-dev] [RFC v3] latencystats: added new library for latency stats

2016-10-17 Thread Reshma Pattan
far. *Jitter calculation is done based on inter packet delay variation. *Measured stats can be retrieved via get API of the libray (or) by calling generic get API of the new stats library, in this case callback is provided to update the stats into new stats library. Signed-off-by: Reshma Pattan

[dpdk-dev] [PATCH] pdump: revert PCI device name conversion

2016-10-25 Thread Reshma Pattan
vice name using ethdev library calls. Now after ethdev and eal rework http://dpdk.org/dev/patchwork/patch/15855/, the device names are created in the format "domain:bus:device.func", so pdump library conversion is not needed any more, hence removed the corresponding code. Signed-off-

[dpdk-dev] [RFC] latencystats: added new library for latency stats

2016-09-26 Thread Reshma Pattan
stats library, in this case callback is provided to update the stats into new stats library. Signed-off-by: Reshma Pattan --- config/common_base | 5 + examples/skeleton/basicfwd.c | 33 - lib/Makefile | 1 + lib

[dpdk-dev] [PATCH v5 2/3] net/ixgbe: add API's for VF management

2016-09-29 Thread Reshma Pattan
Hi, On 9/29/2016 3:16 PM, Bernard Iremonger wrote: > diff --git a/drivers/net/ixgbe/Makefile b/drivers/net/ixgbe/Makefile > index a6c71f3..7493b8d 100644 > --- a/drivers/net/ixgbe/Makefile > +++ b/drivers/net/ixgbe/Makefile > @@ -119,6 +119,8 @@ SRCS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += ixgbe_bypass

[dpdk-dev] [PATCH] doc: add how to use packet capture framework

2017-07-12 Thread Reshma Pattan
Describes how to use pdump library and dpdk-pdump tool to capture traffic on dpdk ports. Signed-off-by: Reshma Pattan --- doc/guides/howto/img/packet_capture_framework.svg | 128 +++ doc/guides/howto/index.rst| 1 + doc/guides/howto

[dpdk-dev] [RFC] ethdev: add IF-MIB attributes implementation

2017-07-13 Thread Reshma Pattan
. Signed-off-by: Reshma Pattan --- lib/Makefile | 6 +- lib/librte_ether/rte_ethdev.c | 130 +- lib/librte_ether/rte_ethdev.h | 7 ++ lib/librte_ether/rte_ethdev_pci.h | 4 ++ mk/rte.app.mk | 2 +- 5 files

[dpdk-dev] [RFC v2] ethdev: add IF-MIB attributes implementation

2017-07-13 Thread Reshma Pattan
? Looking forward to hear opinions. Signed-off-by: Reshma Pattan --- v2: Corrected typos and description of the commit message. --- lib/Makefile | 6 +- lib/librte_ether/rte_ethdev.c | 130 +- lib/librte_ether/rte_ethdev.h | 7

[dpdk-dev] [RFC v3] ethdev: add IF-MIB attributes implementation

2017-07-18 Thread Reshma Pattan
Since DPDK doesn't know about the the Network Management Portion, I assume these 2 attributes should not be implemented in DPDK. Please clarify. Looking forward to hear opinions. Signed-off-by: Reshma Pattan --- v3: *Added new file rte_clock.h to provide wrapper for clock_gettime(CLOCK_MO

[dpdk-dev] [PATCH v2] doc: add how-to on packet capture framework

2017-08-03 Thread Reshma Pattan
Add How-To doc to describe the use of the pdump library and the dpdk-pdump tool to capture traffic on DPDK ports. Signed-off-by: Reshma Pattan Acked-by: John McNamara --- V2: Fixed SVG image. doc/guides/howto/img/packet_capture_framework.svg | 471 ++ doc/guides/howto

[dpdk-dev] [RFC 0/2] add new fields to rte_eth_dev_info structure

2016-04-14 Thread Reshma Pattan
library is already subject to a deprecation notice in 16.07. Reshma Pattan (2): doc: announce ABI change for rte_eth_dev_info structure librte_ether: add new fields to rte_eth_dev_info struct doc/guides/rel_notes/deprecation.rst | 6 ++ lib/librte_ether/rte_ethdev.c| 2 ++ lib

[dpdk-dev] [RFC 1/2] doc: announce ABI change for rte_eth_dev_info structure

2016-04-14 Thread Reshma Pattan
New fields nb_rx_queues and nb_tx_queues will be added to rte_eth_dev_info structure. Changes to API rte_eth_dev_info_get() will be done to update these new fields to rte_eth_dev_info object. Signed-off-by:reshma Pattan --- doc/guides/rel_notes/deprecation.rst | 6 ++ 1 file changed, 6 insert

[dpdk-dev] [RFC 2/2] librte_ether: add new fields to rte_eth_dev_info struct

2016-04-14 Thread Reshma Pattan
New fields nb_rx_queues and nb_tx_queues are added to rte_eth_dev_info structure. Changes to API rte_eth_dev_info_get() are done to update these new fields to rte_eth_dev_info object. Signed-off-by:reshma Pattan --- lib/librte_ether/rte_ethdev.c | 2 ++ lib/librte_ether/rte_ethdev.h | 3 +++ 2 fi

[dpdk-dev] [PATCH] mk: gcc -march support for intel processors code names

2016-08-15 Thread Reshma Pattan
/toolchain/gcc/rte.toolchain-compat.mk Release notes is updated. Signed-off-by: Reshma Pattan --- doc/guides/rel_notes/release_16_11.rst | 5 mk/target/generic/rte.vars.mk| 4 +++ mk/toolchain/gcc/rte.toolchain-compat.mk | 47 ++-- 3 files changed, 11

[dpdk-dev] [PATCH v2] mk: gcc -march support for intel processors code names

2016-08-22 Thread Reshma Pattan
: Reshma Pattan --- doc/guides/freebsd_gsg/build_dpdk.rst| 4 +-- doc/guides/freebsd_gsg/build_sample_apps.rst | 6 ++-- doc/guides/linux_gsg/sys_reqs.rst| 6 ++-- doc/guides/nics/bnx2x.rst| 4 +-- doc/guides/nics/qede.rst | 2 +- doc

[dpdk-dev] [PATCH v4] latencystats: added new library for latency stats

2016-11-07 Thread Reshma Pattan
of the libray (or) by calling generic get API of the new metrics library. documents yet to be updated. Signed-off-by: Reshma Pattan --- MAINTAINERS| 4 + app/proc_info/main.c | 70 app/test-pmd/testpmd.c

[dpdk-dev] [PATCH] pdump: fix log message to display correct error number

2016-11-10 Thread Reshma Pattan
Signed-off-by: Reshma Pattan --- lib/librte_pdump/rte_pdump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_pdump/rte_pdump.c b/lib/librte_pdump/rte_pdump.c index 504a1ce..5968683 100644 --- a/lib/librte_pdump/rte_pdump.c +++ b/lib/librte_pdump/rte_pdump.c @

[dpdk-dev] [PATCH] doc: fix l3fwd mode selection from compile to run time

2016-11-10 Thread Reshma Pattan
The l3fwd application route lookup mode can be selected at run time but not at compile time. This patch corrects the statement in the doc. Fixes: d0dff9ba ("doc: sample application user guide") Signed-off-by: Reshma Pattan --- doc/guides/sample_app_ug/l3_forward.rst | 2 +- 1 file

[dpdk-dev] [PATCH v5] latencystats: added new library for latency stats

2016-11-15 Thread Reshma Pattan
stats can be retrieved via get API of the libray (or) by calling generic get API of the new metrics library. Signed-off-by: Reshma Pattan --- v5: * References to 16.11 changed to 17.02 * Updated comments and doxygen * rte_stat_value changed to rte_metric_value in library and proc_info * Updat

[dpdk-dev] [PATCH] doc: add pdump library to API doxygen

2016-11-15 Thread Reshma Pattan
Add pdump library to API doxygen. Signed-off-by: Reshma Pattan --- doc/api/doxy-api-index.md | 3 ++- doc/api/doxy-api.conf | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/api/doxy-api-index.md b/doc/api/doxy-api-index.md index 6675f96..492a0af 100644 --- a/doc/api

[dpdk-dev] [PATCH] dpdk-procinfo: free allocated xstats memory upon failure

2016-10-04 Thread Reshma Pattan
nfo") Signed-off-by: Reshma Pattan --- app/proc_info/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/proc_info/main.c b/app/proc_info/main.c index 8246fb2..2c56d10 100644 --- a/app/proc_info/main.c +++ b/app/proc_info/main.c @@ -268,7 +268,7 @@ nic_xstat

[dpdk-dev] [RFC v2] latencystats: added new library for latency stats

2016-10-07 Thread Reshma Pattan
variation. *Measured stats can be retrieved via get API of the libray (or) by calling generic get API of the new stats library, in this case callback is provided to update the stats into new stats library. Signed-off-by: Reshma Pattan --- MAINTAINERS| 4

[dpdk-dev] [PATCH] pdump: fix dir permissions value in mkdir call

2016-10-10 Thread Reshma Pattan
From: Reshma Pattan Inside the function pdump_get_socket_path(), pdump socket directories are created using mkdir() call with permissions 700, which was assigning wrong permissions to the directories i.e. "d-w-r-xr-T" instead of drwx---. The reason is mkdir() call doesn't con

[dpdk-dev] [PATCH v3] mk: gcc -march support for intel processors code names

2016-10-10 Thread Reshma Pattan
recommended gcc version as 4.9 and above. Some of the gmake command examples in sample application guide and driver guides are updated with gcc version as 4.9. Signed-off-by: Reshma Pattan --- doc/guides/freebsd_gsg/build_dpdk.rst| 4 ++-- doc/guides/freebsd_gsg/build_sample_apps.rst | 6

[dpdk-dev] [PATCH] doc: add note on primary process dependency

2016-10-13 Thread Reshma Pattan
ned-off-by: Reshma Pattan --- doc/guides/sample_app_ug/pdump.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/sample_app_ug/pdump.rst b/doc/guides/sample_app_ug/pdump.rst index ac0e7c9..4098e50 100644 --- a/doc/guides/sample_app_ug/pdump.rst +++ b/doc/guides/sample_app_ug

[dpdk-dev] [PATCH 1/2] kdp: add kernel data path kernel module

2016-02-08 Thread Reshma Pattan
On 1/27/2016 4:32 PM, Ferruh Yigit wrote: > This kernel module is based on KNI module, but this one is stripped > version of it and only for data messages, no control functionality > provided. > > FIFO implementation of the KNI is kept exact same, but ethtool related > code removed and virtual ne

[dpdk-dev] [PATCH 2/2] kdp: add virtual PMD for kernel slow data path communication

2016-02-09 Thread Reshma Pattan
Hi Ferruh, On 1/27/2016 4:32 PM, Ferruh Yigit wrote: > This patch provides slow data path communication to the Linux kernel. > Patch is based on librte_kni, and heavily re-uses it. > > The main difference is librte_kni library converted into a PMD, to > provide ease of use for applications. > > No

[dpdk-dev] [PATCH v2 0/5] add dpdk packet capture support for tcpdump

2016-02-12 Thread Reshma Pattan
. Note: Writing to PCAP files will be stopped once the folder size where pcap files exists reaches its max value. v2: * extended nb_rxq/nb_txq check to other fwd modes along with rx_only and tx_only. * changed some of the global variables to static in proc_info/main.c and eal_interrupts.c. *

[dpdk-dev] [PATCH v2 1/5] app/test-pmd: fix nb_rxq and nb_txq checks

2016-02-12 Thread Reshma Pattan
Made testpmd changes to validate nb_rxq/nb_txq zero value changes of librte_ether. Signed-off-by: Reshma Pattan --- app/test-pmd/cmdline.c| 11 +-- app/test-pmd/parameters.c | 14 +- app/test-pmd/testpmd.c| 28 +--- 3 files changed, 39

[dpdk-dev] [PATCH v2 2/5] drivers/net/pcap: add public api to create pcap device

2016-02-12 Thread Reshma Pattan
Added new public api to create pcap device from pcaps. Added new header file for API declaration. Added new public api to version map Signed-off-by: Reshma Pattan --- drivers/net/pcap/Makefile |4 +- drivers/net/pcap/rte_eth_pcap.c | 156

[dpdk-dev] [PATCH v2 3/5] app/proc_info: add tcpdump support in secondary process

2016-02-12 Thread Reshma Pattan
Added "--tcupdump and "--src-ip-filter" command line options for tcpdump support. Added pcap device creation and writing of packets to pcap device for tcpdump. Added socket functionality to communicate with primary process. Signed-off-by: Reshma Pattan --- app/proc_inf

[dpdk-dev] [PATCH v2 4/5] lib/librte_eal: add tcpdump support in primary process

2016-02-12 Thread Reshma Pattan
functionality to remove registered rte_eth_rxtx_callbacks once secondary process is terminated. Signed-off-by: Reshma Pattan --- lib/librte_eal/linuxapp/eal/Makefile |5 +- lib/librte_eal/linuxapp/eal/eal_interrupts.c | 375 +- 2 files changed, 377 insertions

[dpdk-dev] [PATCH v2 5/5] doc: update doc for tcpdump feature

2016-02-12 Thread Reshma Pattan
Added tcpdump design changes to proc_info section of sample application user guide. Added tcpdump design changes to env abstraction layer section of programmers guide. Updated Release notes. Signed-off-by: Reshma Pattan --- doc/guides/rel_notes/release_16_04.rst |9 ++--- 1 files

[dpdk-dev] [PATCH v2 1/3] librte_ether: remove RTE_PROC_PRIMARY_OR_ERR_RET and RTE_PROC_PRIMARY_OR_RET

2016-01-05 Thread Reshma Pattan
Macros RTE_PROC_PRIMARY_OR_ERR_RET and RTE_PROC_PRIMARY_OR_RET are blocking the secondary process from using the APIs. API access should be given to both secondary and primary. Reported-by: Sean Harte Signed-off-by: Reshma Pattan --- v2: * Removed checkpatch fixes of lib/librte_ether

[dpdk-dev] [PATCH v3 1/3] librte_ether: remove RTE_PROC_PRIMARY_OR_ERR_RET and RTE_PROC_PRIMARY_OR_RET

2016-01-05 Thread Reshma Pattan
Macros RTE_PROC_PRIMARY_OR_ERR_RET and RTE_PROC_PRIMARY_OR_RET are blocking the secondary process from using the APIs. API access should be given to both secondary and primary. Reported-by: Sean Harte Signed-off-by: Reshma Pattan --- v3: * Removed checkpatch fixes of lib/librte_ether

[dpdk-dev] [PATCH v3 3/3] librte_ether: fix rte_eth_dev_configure

2016-01-05 Thread Reshma Pattan
User should be able to configure ethdev with zero rx/tx queues, but both should not be zero. After above change, rte_eth_dev_tx_queue_config, rte_eth_dev_rx_queue_config should allocate memory for rx/tx queues only when number of rx/tx queues are nonzero. Signed-off-by: Reshma Pattan --- lib

[dpdk-dev] [PATCH v3 0/3] fix RTE_PROC_PRIMARY_OR_ERR_RET RTE_PROC_PRIMARY_OR_RET

2016-01-05 Thread Reshma Pattan
rte_eth_dev_tx_queue_config, rte_eth_dev_rx_queue_config to allocate memory for rx/tx queues only when number of rx/tx queues are nonzero. v3: * Removed checkpatch fixes of lib/librte_ether/rte_ethdev.h from patch number 1. Reshma Pattan (3): librte_ether: remove RTE_PROC_PRIMARY_OR_ERR_RET and

[dpdk-dev] [PATCH v3 2/3] librte_cryptodev: remove RTE_PROC_PRIMARY_OR_RET

2016-01-05 Thread Reshma Pattan
Macro RTE_PROC_PRIMARY_OR_ERR_RET blocking the secondary process from API usage. API access should be given to both secondary and primary. Signed-off-by: Reshma Pattan --- lib/librte_cryptodev/rte_cryptodev.c | 42 -- 1 files changed, 0 insertions(+), 42

[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 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 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 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 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 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 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 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 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 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] 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 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] 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 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

<    1   2   3   4   5   >