[dpdk-dev] [PATCH v6] ring:add ring walk routine

2018-12-27 Thread Keith Wiles
Add a ring walk routine for debugging and other uses. This routine walks the list of rings and allows the called function to stop, remove ring from list or continue. Signed-off-by: Keith Wiles --- V6 Remove warning V5 Fixup checkpatch warning on commit message V4 Add TAILQ_FOREACH_SAFE and

[dpdk-dev] [PATCH v5] ring:add ring walk routine

2018-12-27 Thread Keith Wiles
Add a ring walk routine for debugging and other uses. This routine walks the list of rings and allows the called function to stop, remove ring from list or continue. Signed-off-by: Keith Wiles --- V6 Remove warning V5 Fixup checkpatch warning on commit message V4 Add TAILQ_FOREACH_SAFE and

[dpdk-dev] [PATCH v6] eal:add tailq walk routine

2018-12-27 Thread Keith Wiles
Add the tailq walk routine for debugging and other uses. This routine will hold the read lock while walking the list. Signed-off-by: Keith Wiles --- V6 Remove warning V5 Fixup checkpatch warnings. V4 Change function to have a return value. to be used to stop walking or continue walking

[dpdk-dev] [PATCH v5] eal:add tailq walk routine

2018-12-27 Thread Keith Wiles
Add the tailq walk routine for debugging and other uses. This routine will hold the read lock while walking the list. Signed-off-by: Keith Wiles --- V5 Fixup checkpatch warnings. V4 Change function to have a return value. to be used to stop walking or continue walking. V3 Fix checkpatch

[dpdk-dev] [PATCH v5] ring:add ring walk routine

2018-12-27 Thread Keith Wiles
Add a ring walk routine for debugging and other uses. This routine walks the list of rings and allows the called function to stop, remove ring from list or continue. Signed-off-by: Keith Wiles --- V5 Fixup checkpatch warning on commit message V4 Add TAILQ_FOREACH_SAFE and have function being

[dpdk-dev] [PATCH v4] ring:add ring walk routine

2018-12-27 Thread Keith Wiles
Signed-off-by: Keith Wiles --- V4 Add TAILQ_FOREACH_SAFE and have function being called return a value to be used to stop walking, free tailq_entry or continue walking. V3 Fix checkpatch warnings adding a commit message. Must be using a different checkpatch then on my Ubuntu 18.04 system

[dpdk-dev] [PATCH v4] eal:add tailq walk routine

2018-12-27 Thread Keith Wiles
Signed-off-by: Keith Wiles --- V4 Change function to have a return value. to be used to stop walking or continue walking. V3 Fix checkpatch warnings adding a commit message. Must be using a different checkpatch then on my Ubuntu 18.04 system V2 Fix checkpatch warnings. lib/librte_eal

[dpdk-dev] [PATCH] eal:missing newline on RTE_LOG msg

2018-12-16 Thread Keith Wiles
Add a missing newline to a RTE_LOG message. Signed-off-by: Keith Wiles --- lib/librte_eal/common/rte_option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/rte_option.c b/lib/librte_eal/common/rte_option.c index 02d59a869..7605190c3 100644 --- a/lib

[dpdk-dev] [PATCH v3 2/3] eal:add tailq walk routine

2018-12-16 Thread Keith Wiles
Add tailq walk routine for debugging and used in DFS. Signed-off-by: Keith Wiles --- V3 Fix checkpatch warnings adding a commit message. Must be using a different checkpatch then on my Ubuntu 18.04 system V2 Fix checkpatch warnings lib/librte_eal/common/eal_common_tailqs.c | 19

[dpdk-dev] [PATCH v3 3/3] ring:add ring walk routine

2018-12-16 Thread Keith Wiles
Add a ring walk routine for debugging and DFS. Signed-off-by: Keith Wiles --- V3 Fix checkpatch warnings adding a commit message. Must be using a different checkpatch then on my Ubuntu 18.04 system V2 Fix checkpatch warnings. lib/librte_ring/rte_ring.c | 20

[dpdk-dev] [PATCH v2 3/3] ring:add ring walk routine

2018-12-16 Thread Keith Wiles
Signed-off-by: Keith Wiles --- V2 Fix checkpatch warnings. lib/librte_ring/rte_ring.c | 20 lib/librte_ring/rte_ring.h | 14 ++ lib/librte_ring/rte_ring_version.map | 7 +++ 3 files changed, 41 insertions(+) diff --git a/lib

[dpdk-dev] [PATCH v2 2/3] eal:add tailq walk routine

2018-12-16 Thread Keith Wiles
Signed-off-by: Keith Wiles --- V2 Fix checkpatch warnings lib/librte_eal/common/eal_common_tailqs.c | 19 +++ lib/librte_eal/common/include/rte_tailq.h | 13 + lib/librte_eal/rte_eal_version.map| 1 + 3 files changed, 33 insertions(+) diff --git a/lib

[dpdk-dev] [PATCH] eal: turn off getopt_long error messages

2018-12-16 Thread Keith Wiles
When using dpdk register option api when parsing for log level the opterr flags was still set to one causing an error message from getopt_long(). Set opterr to zero to disable error messages. Signed-off-by: Keith Wiles --- lib/librte_eal/bsdapp/eal/eal.c | 1 + lib/librte_eal/linuxapp/eal

[dpdk-dev] [PATCH 4/4] ring:add ring walk routine

2018-12-16 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_ring/rte_ring.c | 20 lib/librte_ring/rte_ring.h | 14 ++ lib/librte_ring/rte_ring_version.map | 7 +++ 3 files changed, 41 insertions(+) diff --git a/lib/librte_ring/rte_ring.c b/lib/librte_ring

[dpdk-dev] [PATCH 2/4] eal: turn off getopt_long error messages

2018-12-16 Thread Keith Wiles
When using dpdk register option api when parsing for log level the opterr flags was still set to one causing an error message from getopt_long(). Set opterr to zero to disable error messages. Signed-off-by: Keith Wiles --- lib/librte_eal/bsdapp/eal/eal.c | 1 + lib/librte_eal/linuxapp/eal

[dpdk-dev] [PATCH 3/4] eal:add tailq walk routine

2018-12-16 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_eal/common/eal_common_tailqs.c | 19 +++ lib/librte_eal/common/include/rte_tailq.h | 13 + lib/librte_eal/rte_eal_version.map| 1 + 3 files changed, 33 insertions(+) diff --git a/lib/librte_eal/common

[dpdk-dev] [PATCH v2] add shorthand support for __rte_weak macro

2018-10-05 Thread Keith Wiles
: update code to use __rte_weak macro acl: update code to use __rte_weak macro bpf: update code to use __rte_weak macro Merge all of the patches into one patch Signed-off-by: Keith Wiles Reviewed-by: Ferruh Yigit --- drivers/common/qat/qat_device.c| 12 ++-- drivers/common/qat

[dpdk-dev] [PATCH] lib/Makefile: cleanup file to be readable

2018-08-09 Thread Keith Wiles
The Makefile was getting large and adding new libraries was becoming difficult to determine the location to place the information. The list of dirs and dependencies were split up and sorted to help find and place new libraries. Signed-off-by: Keith Wiles --- lib/Makefile | 215

[dpdk-dev] [PATCH 06/10] ixgbe: update code to use __rte_weak macro

2018-08-03 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/ixgbe/ixgbe_rxtx.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c index f82b74a9a..510c36c4c 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx.c +++ b/drivers/net/ixgbe

[dpdk-dev] [PATCH 09/10] acl: update code to use __rte_weak macro

2018-08-03 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_acl/rte_acl.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_acl/rte_acl.c b/lib/librte_acl/rte_acl.c index 2f1243cde..db7d3221e 100644 --- a/lib/librte_acl/rte_acl.c +++ b/lib/librte_acl/rte_acl.c @@ -16,7 +16,7

[dpdk-dev] [PATCH 10/10] bpf: update code to use __rte_weak macro

2018-08-03 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_bpf/bpf_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_bpf/bpf_load.c b/lib/librte_bpf/bpf_load.c index 2b84fe724..d9d163b7d 100644 --- a/lib/librte_bpf/bpf_load.c +++ b/lib/librte_bpf/bpf_load.c @@ -131,7 +131,7

[dpdk-dev] [PATCH 08/10] virtio: update code to use __rte_weak macro

2018-08-03 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/virtio/virtio_rxtx_simple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/virtio/virtio_rxtx_simple.c b/drivers/net/virtio/virtio_rxtx_simple.c index 31e565b4c..f8bcbaa1c 100644 --- a/drivers/net/virtio

[dpdk-dev] [PATCH 07/10] mlx5: update code to use __rte_weak macro

2018-08-03 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/mlx5/mlx5_rxtx.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rxtx.c index 2d14f8a6e..357c64838 100644 --- a/drivers/net/mlx5/mlx5_rxtx.c +++ b/drivers/net/mlx5

[dpdk-dev] [PATCH 04/10] fm10k: update code to use __rte_weak macro

2018-08-03 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/fm10k/fm10k_ethdev.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index 541a49b75..e43b16d4e 100644 --- a/drivers/net/fm10k/fm10k_ethdev.c +++ b

[dpdk-dev] [PATCH 05/10] i40e: update code to use __rte_weak macro

2018-08-03 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/i40e/i40e_rxtx.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c index 59a6a8adb..73499dfdd 100644 --- a/drivers/net/i40e/i40e_rxtx.c +++ b/drivers

[dpdk-dev] [PATCH 02/10] qat: update code to use __rte_weak macro

2018-08-03 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/common/qat/qat_device.c | 12 ++-- drivers/common/qat/qat_qp.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/common/qat/qat_device.c b/drivers/common/qat/qat_device.c index f32d72358..db01e5bc2 100644 --- a

[dpdk-dev] [PATCH 03/10] avf: update code to use __rte_weak macro

2018-08-03 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/avf/avf_rxtx.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/avf/avf_rxtx.c b/drivers/net/avf/avf_rxtx.c index e03a136fc..1c1b1f05e 100644 --- a/drivers/net/avf/avf_rxtx.c +++ b/drivers/net/avf/avf_rxtx.c

[dpdk-dev] [PATCH 01/10] eal: add shorthand __rte_weak macro

2018-08-03 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_eal/common/include/rte_common.h | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.h index 069c13ec7..2c4535b1a 100644 --- a/lib/librte_eal/common/include

[dpdk-dev] [PATCH] rte_kvargs:fix comments to use commas not semicolons

2018-03-10 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_kvargs/rte_kvargs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_kvargs/rte_kvargs.c b/lib/librte_kvargs/rte_kvargs.c index 9662375e8..d92a5f9dc 100644 --- a/lib/librte_kvargs/rte_kvargs.c +++ b/lib/librte_kvargs

[dpdk-dev] [PATCH v2] mbuf:using sanity checks do not panic on null mbuf

2018-01-09 Thread Keith Wiles
The rte_pktmbuf_free() allows for NULL mbuf pointer, but when sanity check is enabled it will panic with null pointer. Signed-off-by: Keith Wiles --- lib/librte_mbuf/rte_mbuf.c | 10 -- test/test/test_mbuf.c | 4 +--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a

[dpdk-dev] [PATCH] mbuf:using sanity checks do not panic on null mbuf

2018-01-08 Thread Keith Wiles
The rte_pktmbuf_free() allows for NULL mbuf pointer, but when sanity check is enabled it will panic with null pointer. Signed-off-by: Keith Wiles --- lib/librte_mbuf/rte_mbuf.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.c b/lib

[dpdk-dev] [PATCH] app: fix gcc -O3 compiler errors

2017-08-15 Thread Keith Wiles
When using EXTRA_CFLAGS="-g -O3" in the build the -O3 causes compiler warnings for these two applications. Using Ubuntu 17.04 gcc compiler. Signed-off-by: Keith Wiles --- app/proc_info/main.c | 4 +++- app/test-crypto-perf/cperf_test_verify.c | 2 ++ 2 files

[dpdk-dev] [PATCH] kvargs: return error if key not find in kvlist

2017-08-09 Thread Keith Wiles
rte_kvargs_process() should return error if the key is not found in the kvlist or kvlist is NULL. Minor documentation changes and update for when an error is returned. Signed-off-by: Keith Wiles --- lib/librte_kvargs/rte_kvargs.c | 7 --- lib/librte_kvargs/rte_kvargs.h | 7 --- 2 files

[dpdk-dev] [PATCH] eal/common: minor fix for spelling and format

2017-07-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- lib/librte_eal/common/malloc_elem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/librte_eal/common/malloc_elem.c b/lib/librte_eal/common/malloc_elem.c index 08516af2b..150769057 100644 --- a/lib/librte_eal/common/malloc_elem.c

[dpdk-dev] [PATCH RFC] usertools: add dpdk run script

2017-07-06 Thread Keith Wiles
I am not a great Python coder and any suggestions/patches would be great. Signed-off-by: Keith Wiles --- app/test-pmd/default.cfg | 60 usertools/run.py | 355 +++ 2 files changed, 415 insertions(+) create mode 100644 app/test-pmd/d

[dpdk-dev] [PATCH v2] usertools: script to output version string

2017-07-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- usertools/dpdk-version.sh | 124 ++ 1 file changed, 124 insertions(+) create mode 100755 usertools/dpdk-version.sh diff --git a/usertools/dpdk-version.sh b/usertools/dpdk-version.sh new file mode 100755 index 0

[dpdk-dev] [PATCH] usertools: script to output version string

2017-07-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- usertools/dpdk-version.sh | 124 ++ 1 file changed, 124 insertions(+) create mode 100755 usertools/dpdk-version.sh diff --git a/usertools/dpdk-version.sh b/usertools/dpdk-version.sh new file mode 100755 index 0

[dpdk-dev] [PATCH v2] examples/performance-thread: add c++ ifdefs

2017-04-16 Thread Keith Wiles
Signed-off-by: Keith Wiles --- v2 - change ctx.h to be 664 permissions. examples/performance-thread/common/arch/x86/ctx.h | 8 examples/performance-thread/common/lthread.h | 8 examples/performance-thread/common/lthread_api.h | 8 examples

[dpdk-dev] [PATCH] examples/performance-thread: add c++ ifdefs

2017-04-16 Thread Keith Wiles
Signed-off-by: Keith Wiles --- examples/performance-thread/common/arch/x86/ctx.h | 8 examples/performance-thread/common/lthread.h | 8 examples/performance-thread/common/lthread_api.h | 8 examples/performance-thread/common/lthread_cond.h | 8

[dpdk-dev] [PATCH] net/tap: add support for fixed mac addresses

2017-04-10 Thread Keith Wiles
Support for a fixed MAC address for testing with the last octet incrementing by one for each interface defined with the new 'mac=fixed' string on the --vdev option. The default option is still to randomize the MAC address for each tap interface. Signed-off-by: Keith Wiles --- doc/g

[dpdk-dev] [PATCH] maintainers: handoff ownership of Tap PMD

2017-03-30 Thread Keith Wiles
Pascal has added many features to the Tap PMD and the code is now mostly his code. We talked and he suggested I send the patch to change ownership. Signed-off-by: Keith Wiles --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[dpdk-dev] [PATCH v4] net/bonding: reduce slave starvation on rx poll

2017-03-21 Thread Keith Wiles
reduction in thoughput. Signed-off-by: Keith Wiles --- v4 - fix saving of next slave to reduce skipping a slave. v3 - remove more checkpatch errors v2 - remove checkpatch errors drivers/net/bonding/rte_eth_bond_pmd.c | 21 +++-- drivers/net/bonding/rte_eth_bond_private.h | 3

[dpdk-dev] [PATCH v3] net/bonding: reduce slave starvation on rx poll

2017-03-07 Thread Keith Wiles
reduction in thoughput. Signed-off-by: Keith Wiles --- v3 - remove more checkpatch errors v2 - remove checkpatch errors drivers/net/bonding/rte_eth_bond_pmd.c | 21 +++-- drivers/net/bonding/rte_eth_bond_private.h | 3 ++- 2 files changed, 17 insertions(+), 7 deletions

[dpdk-dev] [PATCH v2] net/bonding: reduce slave starvation on rx poll

2017-03-07 Thread Keith Wiles
reduction in thoughput. Signed-off-by: Keith Wiles --- drivers/net/bonding/rte_eth_bond_pmd.c | 19 +-- drivers/net/bonding/rte_eth_bond_private.h | 3 ++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net

[dpdk-dev] [PATCH] net/bonding: reduce slave starvation on rx poll

2017-03-07 Thread Keith Wiles
reduction in thoughput. Signed-off-by: Keith Wiles --- drivers/net/bonding/rte_eth_bond_pmd.c | 16 +++- drivers/net/bonding/rte_eth_bond_private.h | 3 ++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding

[dpdk-dev] [PATCH v5] doc: use corelist instead of coremask

2017-02-27 Thread Keith Wiles
in the future. The -c option should be kept to maintain backward compatibility. Signed-off-by: Keith Wiles --- v5 - Title underscore too short. v4 - merge with latest release and fix typos. v3 - squash all of the changes into a single commit. v2 - reset changes to taskset back to using -c. doc

[dpdk-dev] [PATCH v4] doc: use corelist instead of coremask

2017-02-21 Thread Keith Wiles
in the future. The -c option should be kept to maintain backward compatibility. Signed-off-by: Keith Wiles --- v4 - merge with latest release and fix typos. v3 - squash all of the changes into a single commit. v2 - reset changes to taskset back to using -c. doc/guides/contributing

[dpdk-dev] [PATCH v4] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Keith Wiles
Calling strncpy with a maximum size argument of 16 bytes on destination array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the destination string unterminated. Signed-off-by: Keith Wiles --- v4 - Forgot to finish rebase v3 - convert strncpy to use snprintf instead. v2

[dpdk-dev] [PATCH v3] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Keith Wiles
Calling strncpy with a maximum size argument of 16 bytes on destination array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the destination string unterminated. Signed-off-by: Keith Wiles --- v3 - convert strncpy to use snprintf instead. v2 - fix the checkpatch warning no spa

[dpdk-dev] [PATCH v2] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Keith Wiles
Calling strncpy with a maximum size argument of 16 bytes on destination array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the destination string unterminated. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[dpdk-dev] [PATCH] net/tap: fix coverity warning on strncpy

2017-02-17 Thread Keith Wiles
Calling strncpy with a maximum size argument of 16 bytes on destination array "ifr.ifr_ifrn.ifrn_name" of size 16 bytes might leave the destination string unterminated. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[dpdk-dev] [PATCH] examples: optind should be reset to one not zero

2017-02-14 Thread Keith Wiles
Signed-off-by: Keith Wiles --- app/test-pipeline/config.c | 2 +- examples/distributor/main.c | 2 +- examples/dpdk_qat/main.c| 2 +- examples/ip_fragmentation/main.c| 2 +- examples/ip_pipeline/config_parse.c

[dpdk-dev] [PATCH v3] doc: use corelist instead of coremask

2017-02-10 Thread Keith Wiles
in the future. The -c option should be kept to maintain backward compatibility. v3 - squash all of the changes into a single commit. v2 - reset changes to taskset back to using -c. Signed-off-by: Keith Wiles --- doc/guides/cryptodevs/aesni_gcm.rst| 2 +- doc/guides/cryptodevs

[dpdk-dev] [PATCH v2 11/11] doc/sample_app: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/sample_app_ug/cmd_line.rst | 2 +- doc/guides/sample_app_ug/dist_app.rst | 2 +- doc/guides/sample_app_ug/exception_path.rst| 4 +-- doc/guides/sample_app_ug/hello_world.rst | 2 +- doc/guides/sample_app_ug

[dpdk-dev] [PATCH v2 09/11] doc/cryptoperf: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/tools/cryptoperf.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guides/tools/cryptoperf.rst b/doc/guides/tools/cryptoperf.rst index 6832312..30994cd 100644 --- a/doc/guides/tools/cryptoperf.rst +++ b/doc/guides/tools

[dpdk-dev] [PATCH v2 10/11] doc/xen: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/xen/pkt_switch.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/guides/xen/pkt_switch.rst b/doc/guides/xen/pkt_switch.rst index 0b4ddfd..0d73fa5 100644 --- a/doc/guides/xen/pkt_switch.rst +++ b/doc/guides/xen

[dpdk-dev] [PATCH v2 07/11] doc/prog_guide: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/prog_guide/kernel_nic_interface.rst | 2 +- doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst | 10 +- doc/guides/prog_guide/multi_proc_support.rst | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff

[dpdk-dev] [PATCH v2 08/11] doc/testpmd: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/testpmd_app_ug/run_app.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst index 38a4025..d1fabef 100644 --- a/doc/guides/testpmd_app_ug/run_app.rst +++ b

[dpdk-dev] [PATCH v2 06/11] doc/nics: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/nics/bnx2x.rst | 2 +- doc/guides/nics/cxgbe.rst | 4 ++-- doc/guides/nics/ena.rst | 2 +- doc/guides/nics/i40e.rst | 4 ++-- doc/guides/nics/intel_vf.rst | 7 +-- doc/guides/nics/ixgbe.rst | 4 ++-- doc/guides/nics/mlx4

[dpdk-dev] [PATCH v2 02/11] doc/faq: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/faq/faq.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/faq/faq.rst b/doc/guides/faq/faq.rst index 5a324b2..98c1e33 100644 --- a/doc/guides/faq/faq.rst +++ b/doc/guides/faq/faq.rst @@ -54,7 +54,7 @@ If you need to

[dpdk-dev] [PATCH v2 01/11] doc/cryptodev: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/cryptodevs/aesni_gcm.rst | 2 +- doc/guides/cryptodevs/aesni_mb.rst | 2 +- doc/guides/cryptodevs/kasumi.rst| 2 +- doc/guides/cryptodevs/null.rst | 2 +- doc/guides/cryptodevs/openssl.rst | 2 +- doc/guides/cryptodevs/snow3g.rst| 2

[dpdk-dev] [PATCH v2 05/11] doc/linux: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/linux_gsg/build_sample_apps.rst | 19 ++- doc/guides/linux_gsg/nic_perf_intel_platform.rst | 2 +- doc/guides/linux_gsg/quick_start.rst | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/doc

[dpdk-dev] [PATCH v2 03/11] doc/freebsd: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/freebsd_gsg/build_sample_apps.rst | 9 + doc/guides/freebsd_gsg/install_from_ports.rst | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/guides/freebsd_gsg/build_sample_apps.rst b/doc/guides/freebsd_gsg

[dpdk-dev] [PATCH v2 04/11] doc/howto: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/howto/flow_bifurcation.rst | 2 +- doc/guides/howto/lm_bond_virtio_sriov.rst | 2 +- doc/guides/howto/lm_virtio_vhost_user.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guides/howto/flow_bifurcation.rst b/doc/guides

[dpdk-dev] [PATCH v2 00/11] moving away from coremask to corelist

2017-02-09 Thread Keith Wiles
the 17.05 release. The -c option will be kept and not removed for now unless in the future we decide to deprecate the code. v2 - Fix taskset back to using -c Keith Wiles (11): doc/cryptodev: use corelist instead of coremask doc/faq: use corelist instead of coremask doc/freebsd: use corelist

[dpdk-dev] [PATCH 07/11] doc/prog_guide: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/prog_guide/kernel_nic_interface.rst | 2 +- doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst | 10 +- doc/guides/prog_guide/multi_proc_support.rst | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff

[dpdk-dev] [PATCH 04/11] doc/howto: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/howto/flow_bifurcation.rst | 2 +- doc/guides/howto/lm_bond_virtio_sriov.rst | 6 +++--- doc/guides/howto/lm_virtio_vhost_user.rst | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/guides/howto/flow_bifurcation.rst b/doc

[dpdk-dev] [PATCH 05/11] doc/linux: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/linux_gsg/build_sample_apps.rst | 19 ++- doc/guides/linux_gsg/nic_perf_intel_platform.rst | 2 +- doc/guides/linux_gsg/quick_start.rst | 2 +- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/doc

[dpdk-dev] [PATCH 11/11] doc/sample_app: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/sample_app_ug/cmd_line.rst | 2 +- doc/guides/sample_app_ug/dist_app.rst | 2 +- doc/guides/sample_app_ug/exception_path.rst| 4 +-- doc/guides/sample_app_ug/hello_world.rst | 2 +- doc/guides/sample_app_ug

[dpdk-dev] [PATCH 08/11] doc/testpmd: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/testpmd_app_ug/run_app.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst index 38a4025..d1fabef 100644 --- a/doc/guides/testpmd_app_ug/run_app.rst +++ b

[dpdk-dev] [PATCH 06/11] doc/nics: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/nics/bnx2x.rst | 2 +- doc/guides/nics/cxgbe.rst | 4 ++-- doc/guides/nics/ena.rst | 2 +- doc/guides/nics/i40e.rst | 4 ++-- doc/guides/nics/intel_vf.rst | 7 +-- doc/guides/nics/ixgbe.rst | 4 ++-- doc/guides/nics/mlx4

[dpdk-dev] [PATCH 09/11] doc/cryptoperf: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/tools/cryptoperf.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/guides/tools/cryptoperf.rst b/doc/guides/tools/cryptoperf.rst index 6832312..30994cd 100644 --- a/doc/guides/tools/cryptoperf.rst +++ b/doc/guides/tools

[dpdk-dev] [PATCH 10/11] doc/xen: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/xen/pkt_switch.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/guides/xen/pkt_switch.rst b/doc/guides/xen/pkt_switch.rst index 0b4ddfd..0d73fa5 100644 --- a/doc/guides/xen/pkt_switch.rst +++ b/doc/guides/xen

[dpdk-dev] [PATCH 02/11] doc/faq: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/faq/faq.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/faq/faq.rst b/doc/guides/faq/faq.rst index 5a324b2..98c1e33 100644 --- a/doc/guides/faq/faq.rst +++ b/doc/guides/faq/faq.rst @@ -54,7 +54,7 @@ If you need to

[dpdk-dev] [PATCH 00/11] moving away from coremask to corelist

2017-02-09 Thread Keith Wiles
the 17.05 release. The -c option will be kept and not removed for now unless in the future we decide to deprecate the code. Keith Wiles (11): doc/cryptodev: use -l option instead of -c doc/faq: use -l option instead of -c doc/freebsd: use -l option instead of -c doc/howto: use -l option

[dpdk-dev] [PATCH 03/11] doc/freebsd: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/freebsd_gsg/build_sample_apps.rst | 9 + doc/guides/freebsd_gsg/install_from_ports.rst | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/guides/freebsd_gsg/build_sample_apps.rst b/doc/guides/freebsd_gsg

[dpdk-dev] [PATCH 01/11] doc/cryptodev: use corelist instead of coremask

2017-02-09 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/cryptodevs/aesni_gcm.rst | 2 +- doc/guides/cryptodevs/aesni_mb.rst | 2 +- doc/guides/cryptodevs/kasumi.rst| 2 +- doc/guides/cryptodevs/null.rst | 2 +- doc/guides/cryptodevs/openssl.rst | 2 +- doc/guides/cryptodevs/snow3g.rst| 2

[dpdk-dev] [PATCH v3 7/7] net/tap: move closing fds to pmd close from pmd stop

2017-02-06 Thread Keith Wiles
At the same time remove closing fds code from pmd stop routine. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 966e91a

[dpdk-dev] [PATCH v3 5/7] net/tap: cleanup log messages

2017-02-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 54 ++- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 7c923a2..65e4bab 100644 --- a/drivers/net/tap

[dpdk-dev] [PATCH v3 6/7] net/tap: link set down must be done before close

2017-02-06 Thread Keith Wiles
Fixes: ee418a25b0d3 ("net/tap: implement link up and down callbacks") Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 65e4bab..966e

[dpdk-dev] [PATCH v3 4/7] net/tap: fix multi-queue support

2017-02-06 Thread Keith Wiles
At the same time remove the code which created the first device queue at probe time. Now all queues are created during queue setup calls. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 104 ++ 1 file changed, 34 insertions(+), 70 deletions

[dpdk-dev] [PATCH v3 3/7] net/tap: remove unused variable and minor cleanup

2017-02-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 6d93eb7..61659bc 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap

[dpdk-dev] [PATCH v3 2/7] net/tap: remove redundant fds array

2017-02-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index c7b04bb..6d93eb7 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap

[dpdk-dev] [PATCH v3 1/7] net/tap: fix tap docs for device name

2017-02-06 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/nics/tap.rst | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/guides/nics/tap.rst b/doc/guides/nics/tap.rst index 622b9e7..c4f207b 100644 --- a/doc/guides/nics/tap.rst +++ b/doc/guides/nics/tap.rst @@ -45,18 +45,18

[dpdk-dev] [PATCH v2 5/6] net/tap: cleanup log messages

2017-02-05 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 54 ++- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 7c923a2..65e4bab 100644 --- a/drivers/net/tap

[dpdk-dev] [PATCH v2 6/6] net/tap: link set down must be before close

2017-02-05 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 65e4bab..966e91a 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap/rte_eth_tap.c

[dpdk-dev] [PATCH v2 3/6] net/tap: remove unused variable and minor cleanup

2017-02-05 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 6d93eb7..61659bc 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap

[dpdk-dev] [PATCH v2 4/6] net/tap: fix multi-queue support

2017-02-05 Thread Keith Wiles
At the same time remove the code which created the first device queue at probe time. Now all queues are created during queue setup calls. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 104 ++ 1 file changed, 34 insertions(+), 70 deletions

[dpdk-dev] [PATCH v2 2/6] net/tap: remove redundant fds array

2017-02-05 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index c7b04bb..6d93eb7 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap

[dpdk-dev] [PATCH v2 1/6] net/tap: fix tap docs for device name

2017-02-05 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/nics/tap.rst | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/guides/nics/tap.rst b/doc/guides/nics/tap.rst index 622b9e7..c4f207b 100644 --- a/doc/guides/nics/tap.rst +++ b/doc/guides/nics/tap.rst @@ -45,18 +45,18

[dpdk-dev] [PATCH 5/5] net/tap: remove unused variable and minor cleanup

2017-02-02 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 4f7eacf..238824e 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap

[dpdk-dev] [PATCH 4/5] net/tap: fix up log message to correct channel

2017-02-02 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 39 +++ 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 6673182..4f7eacf 100644 --- a/drivers/net/tap

[dpdk-dev] [PATCH 3/5] net/tap: remove redundant fds array

2017-02-02 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 9ed7a87..6673182 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap

[dpdk-dev] [PATCH 2/5] net/tap: fix multi-queue support

2017-02-02 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 93 ++- 1 file changed, 48 insertions(+), 45 deletions(-) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index 3f179c3..9ed7a87 100644 --- a/drivers/net/tap

[dpdk-dev] [PATCH 1/5] nic/tap: fix tap docs for device name

2017-02-02 Thread Keith Wiles
Signed-off-by: Keith Wiles --- doc/guides/nics/tap.rst | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/guides/nics/tap.rst b/doc/guides/nics/tap.rst index 622b9e7..2ab60ff 100644 --- a/doc/guides/nics/tap.rst +++ b/doc/guides/nics/tap.rst @@ -45,18 +45,18

[dpdk-dev] [PATCH] net/tap: driver closing tx interface on queue setup

2017-01-28 Thread Keith Wiles
The tap driver setup both rx and tx file descriptors when the rte_eth_rx_queue_setup() causing the tx to be closed when tx setup was called. Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 48 ++- 1 file changed, 34 insertions(+), 14

[dpdk-dev] [PATCH] net/tap: fix IFF_MULTI_QUEUE in older kernels not found

2017-01-20 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index d5e2fc3..cb96e99 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap/rte_eth_tap.c

[dpdk-dev] [PATCH] net/tap: fix IFF_MULTI_QUEUE in older kernels not found

2017-01-20 Thread Keith Wiles
Signed-off-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/tap/rte_eth_tap.c b/drivers/net/tap/rte_eth_tap.c index d5e2fc3..5cf9831 100644 --- a/drivers/net/tap/rte_eth_tap.c +++ b/drivers/net/tap/rte_eth_tap.c

[dpdk-dev] [PATCH v12] net/tap: new TUN/TAP device PMD

2016-12-12 Thread Keith Wiles
ice Update the maintainers list Signed-off-by: Keith Wiles --- MAINTAINERS | 5 + config/common_base | 9 + config/common_linuxapp | 1 + doc/guides/nics/index.rst | 1 + doc/guides/nics/tap.rst |

[dpdk-dev] [PATCH v12] net/tap: new TUN/TAP device PMD

2016-12-12 Thread Keith Wiles
ice Update the maintainers list Signed-off-by: Keith Wiles --- MAINTAINERS | 5 + config/common_base | 9 + config/common_linuxapp | 1 + doc/guides/nics/index.rst | 1 + doc/guides/nics/tap.rst |

  1   2   >