[dpdk-dev] [PATCH v6 1/4] librte_flow_classify: add librte_flow_classify library

2017-09-29 Thread Bernard Iremonger
. f_del to delete an ACL form the table. f_lookup to match packets with the ACL rules. use f_add entry data for matching The library supports counting of IPv4 five tupple packets only, ie IPv4 UDP, TCP and SCTP packets. updated MAINTAINERS file Signed-off-by: Ferruh Yigit Signed-off-by: Bernard

[dpdk-dev] [PATCH v6 3/4] test: add packet burst generator functions

2017-09-29 Thread Bernard Iremonger
add initialize_tcp_header function add initialize_stcp_header function add initialize_ipv4_header_proto function add generate_packet_burst_proto function Signed-off-by: Bernard Iremonger --- test/test/packet_burst_generator.c | 191 + test/test

[dpdk-dev] [PATCH v6 4/4] test: flow classify library unit tests

2017-09-29 Thread Bernard Iremonger
tion tests add good parameter tests Initialise ipv4 udp traffic for use by the udp test for rte_flow_classif_query. Initialise ipv4 tcp traffic for use by the tcp test for rte_flow_classif_query. Initialise ipv4 sctp traffic for use by the sctp test for rte_flow_classif_query. Signed-off-b

[dpdk-dev] [PATCH v7 1/4] librte_flow_classify: add librte_flow_classify library

2017-10-02 Thread Bernard Iremonger
. f_del to delete an ACL form the table. f_lookup to match packets with the ACL rules. use f_add entry data for matching The library supports counting of IPv4 five tupple packets only, ie IPv4 UDP, TCP and SCTP packets. updated MAINTAINERS file Signed-off-by: Ferruh Yigit Signed-off-by: Bernard

[dpdk-dev] [PATCH v7 0/4] flow classification library

2017-10-02 Thread Bernard Iremonger
ction. Patch 2, librte_table: fix acl lookup function, has been added. Changes in v1, since RFC v3: added rte_flow_classify_validate API. librte_table ACL is used for packet matching. a table_acl parameter has been added to all of the API's an error parameter has been been added to all of

[dpdk-dev] [PATCH v7 4/4] test: flow classify library unit tests

2017-10-02 Thread Bernard Iremonger
tion tests add good parameter tests Initialise ipv4 udp traffic for use by the udp test for rte_flow_classif_query. Initialise ipv4 tcp traffic for use by the tcp test for rte_flow_classif_query. Initialise ipv4 sctp traffic for use by the sctp test for rte_flow_classif_query. Signed-off-b

[dpdk-dev] [PATCH v7 2/4] examples/flow_classify: flow classify sample application

2017-10-02 Thread Bernard Iremonger
g the librte_table API. It uses a file of IPv4 five tuple rules for input. Signed-off-by: Bernard Iremonger --- examples/flow_classify/Makefile| 57 ++ examples/flow_classify/flow_classify.c | 897 + examples/flow_classify/ipv4_rules_file.txt | 14 + 3

[dpdk-dev] [PATCH v7 3/4] test: add packet burst generator functions

2017-10-02 Thread Bernard Iremonger
add initialize_tcp_header function add initialize_stcp_header function add initialize_ipv4_header_proto function add generate_packet_burst_proto function Signed-off-by: Bernard Iremonger --- test/test/packet_burst_generator.c | 191 + test/test

[dpdk-dev] [PATCH v8 0/4] flow classification library

2017-10-17 Thread Bernard Iremonger
lassify_validate API. librte_table ACL is used for packet matching. a table_acl parameter has been added to all of the API's an error parameter has been been added to all of the API's Bernard Iremonger (3): examples/flow_classify: flow classify sample application test: add packet burst ge

[dpdk-dev] [PATCH v8 1/4] librte_flow_classify: add flow classify library

2017-10-17 Thread Bernard Iremonger
4 UDP, TCP and SCTP packets. Signed-off-by: Ferruh Yigit Signed-off-by: Bernard Iremonger --- MAINTAINERS| 7 + config/common_base | 6 + doc/api/doxy-api-index.md | 1 + doc/api/dox

[dpdk-dev] [PATCH v8 3/4] test: add packet burst generator functions

2017-10-17 Thread Bernard Iremonger
add initialize_tcp_header function add initialize_stcp_header function add initialize_ipv4_header_proto function add generate_packet_burst_proto function Signed-off-by: Bernard Iremonger --- test/test/packet_burst_generator.c | 191 + test/test

[dpdk-dev] [PATCH v8 2/4] examples/flow_classify: flow classify sample application

2017-10-17 Thread Bernard Iremonger
idate It sets up the IPv4 ACL field definitions. It creates table_acl and adds and deletes rules using the librte_table API. It uses a file of IPv4 five tuple rules for input. Signed-off-by: Bernard Iremonger --- examples/flow_classify/Makefile| 57 ++ examples/flow_cla

[dpdk-dev] [PATCH v8 4/4] test: flow classify library unit tests

2017-10-17 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- test/test/Makefile | 1 + test/test/test_flow_classify.c | 783 + test/test/test_flow_classify.h | 234 3 files changed, 1018 insertions(+) create mode 100644 test/test/test_flow_classify.c c

[dpdk-dev] [PATCH v9 3/4] test: add packet burst generator functions

2017-10-22 Thread Bernard Iremonger
add initialize_tcp_header function add initialize_stcp_header function add initialize_ipv4_header_proto function add generate_packet_burst_proto function Signed-off-by: Bernard Iremonger --- test/test/packet_burst_generator.c | 191 + test/test

[dpdk-dev] [PATCH v9 0/4] flow classification library

2017-10-22 Thread Bernard Iremonger
fix acl lookup function, has been added. Changes in v1, since RFC v3: added rte_flow_classify_validate API. librte_table ACL is used for packet matching. a table_acl parameter has been added to all of the API's an error parameter has been been added to all of the API's Bernard Iremonger

[dpdk-dev] [PATCH v9 2/4] examples/flow_classify: flow classify sample application

2017-10-22 Thread Bernard Iremonger
s. It creates table_acl and adds and deletes rules using the librte_table API. It uses a file of IPv4 five tuple rules for input. Signed-off-by: Bernard Iremonger --- examples/flow_classify/Makefile| 57 ++ examples/flow_classify/flow_classify.c | 850 + exa

[dpdk-dev] [PATCH v9 1/4] librte_flow_classify: add flow classify library

2017-10-22 Thread Bernard Iremonger
Signed-off-by: Ferruh Yigit Signed-off-by: Bernard Iremonger --- MAINTAINERS| 7 + config/common_base | 6 + doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf |

[dpdk-dev] [PATCH v9 4/4] test: flow classify library unit tests

2017-10-22 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- test/test/Makefile | 1 + test/test/test_flow_classify.c | 673 + test/test/test_flow_classify.h | 234 ++ 3 files changed, 908 insertions(+) create mode 100644 test/test/test_flow_classify.c c

[dpdk-dev] [PATCH v10 0/4] flow classification library

2017-10-23 Thread Bernard Iremonger
matching. a table_acl parameter has been added to all of the API's an error parameter has been been added to all of the API's Bernard Iremonger (3): examples/flow_classify: flow classify sample application test: add packet burst generator functions test: flow classify library unit te

[dpdk-dev] [PATCH v10 1/4] librte_flow_classify: add flow classify library

2017-10-23 Thread Bernard Iremonger
Signed-off-by: Ferruh Yigit Signed-off-by: Bernard Iremonger --- MAINTAINERS| 7 + config/common_base | 6 + doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf |

[dpdk-dev] [PATCH v10 4/4] test: flow classify library unit tests

2017-10-23 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- test/test/Makefile | 1 + test/test/test_flow_classify.c | 672 + test/test/test_flow_classify.h | 234 ++ 3 files changed, 907 insertions(+) create mode 100644 test/test/test_flow_classify.c c

[dpdk-dev] [PATCH v10 3/4] test: add packet burst generator functions

2017-10-23 Thread Bernard Iremonger
add initialize_tcp_header function add initialize_stcp_header function add initialize_ipv4_header_proto function add generate_packet_burst_proto function Signed-off-by: Bernard Iremonger --- test/test/packet_burst_generator.c | 191 + test/test

[dpdk-dev] [PATCH v10 2/4] examples/flow_classify: flow classify sample application

2017-10-23 Thread Bernard Iremonger
s. It creates table_acl and adds and deletes rules using the librte_table API. It uses a file of IPv4 five tuple rules for input. Signed-off-by: Bernard Iremonger --- examples/flow_classify/Makefile| 57 ++ examples/flow_classify/flow_classify.c | 849 + exa

[dpdk-dev] [PATCH v11 2/4] examples/flow_classify: flow classify sample application

2017-10-24 Thread Bernard Iremonger
s. It creates table_acl and adds and deletes rules using the librte_table API. It uses a file of IPv4 five tuple rules for input. Signed-off-by: Bernard Iremonger Acked-by: Jasvinder Singh --- examples/flow_classify/Makefile| 57 ++ examples/flow_classify/flow_classify.c

[dpdk-dev] [PATCH v11 1/4] flow_classify: add flow classify library

2017-10-24 Thread Bernard Iremonger
pdated the release notes. Updated the MAINTAINERS file. Add library dependencies to LDLIBS in the Makefile. Using dynamic logging Signed-off-by: Ferruh Yigit Signed-off-by: Bernard Iremonger Acked-by: Jasvinder Singh --- MAINTAINERS| 9 +- config/c

[dpdk-dev] [PATCH v11 0/4] flow classification library

2017-10-24 Thread Bernard Iremonger
has been added to all of the API's an error parameter has been been added to all of the API's Bernard Iremonger (3): examples/flow_classify: flow classify sample application test: add packet burst generator functions test: flow classify library unit tests Ferruh Yigit (1

[dpdk-dev] [PATCH v11 3/4] test: add packet burst generator functions

2017-10-24 Thread Bernard Iremonger
add initialize_tcp_header function add initialize_stcp_header function add initialize_ipv4_header_proto function add generate_packet_burst_proto function Signed-off-by: Bernard Iremonger Acked-by: Jasvinder Singh --- test/test/packet_burst_generator.c | 191

[dpdk-dev] [PATCH v11 4/4] test: flow classify library unit tests

2017-10-24 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger Acked-by: Jasvinder Singh --- test/test/Makefile | 1 + test/test/test_flow_classify.c | 672 + test/test/test_flow_classify.h | 234 ++ 3 files changed, 907 insertions(+) create mode 100644

[dpdk-dev] [PATCH 0/2] flow classify documentation

2017-10-26 Thread Bernard Iremonger
This patch set contains documention files for the Flow Classify library and the Flow Classify sample application. Both patches update the MAINTAINERS file. Bernard Iremonger (2): doc: flow classify library prog guide doc: flow classify sample app guide MAINTAINERS

[dpdk-dev] [PATCH 1/2] doc: flow classify library prog guide

2017-10-26 Thread Bernard Iremonger
This file documents the Flow Classification library, librte_flow_classify. Updated MAINTAINERS file Signed-off-by: Bernard Iremonger --- MAINTAINERS | 1 + doc/guides/prog_guide/flow_classify_lib.rst | 427 doc/guides/prog_guide

[dpdk-dev] [PATCH 2/2] doc: flow classify sample app guide

2017-10-26 Thread Bernard Iremonger
This file documents the flow_classify sample application which is used to demonstate use of the Flow Classify library, librte_flow_classify. Updated MAINTAINERS file Signed-off-by: Bernard Iremonger --- MAINTAINERS| 1 + doc/guides/sample_app_ug

[dpdk-dev] [PATCH] flow_classify: fix logging

2017-10-26 Thread Bernard Iremonger
Set log_level to RTE_LOG_INFO. The RTE_LIBRTE_CLASSIFY_DEBUG macro has been removed from the config file, use the log_level instead. Fixes: be41ac2a330f ("flow_classify: introduce flow classify library") Signed-off-by: Bernard Iremonger --- lib/librte_flow_classify/rte_flow_class

[dpdk-dev] [PATCH] examples/flow_classify: fix fseek error handling

2017-11-01 Thread Bernard Iremonger
Check return value of fseek and exit if non zero. Coverity issue: 143435 Fixes: bab16ddaf2c1 ("examples/flow_classify: add sample application") Signed-off-by: Bernard Iremonger --- examples/flow_classify/flow_classify.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)

[dpdk-dev] [PATCH v2] flow classify documentation

2017-11-03 Thread Bernard Iremonger
standard compiling document. Added a reference to the Getting Started guide in the Flow Classify sample app guide. Bernard Iremonger (1): doc: flow classify guides MAINTAINERS | 2 + doc/guides/prog_guide/flow_classify_lib.rst | 427 + doc

[dpdk-dev] [PATCH v2] doc: flow classify guides

2017-11-03 Thread Bernard Iremonger
: Bernard Iremonger --- MAINTAINERS | 2 + doc/guides/prog_guide/flow_classify_lib.rst | 427 + doc/guides/prog_guide/index.rst | 1 + doc/guides/sample_app_ug/flow_classify.rst | 575 doc/guides

[dpdk-dev] [PATCH] test: fix flow classify test

2018-01-04 Thread Bernard Iremonger
Remove the requirement to have a port bound to igb_uio in order to run this test suite. Fixes: 9c9befea4f57 ("test: add flow classify unit tests") Reported by: Anatoly Burakov Signed-off-by: Bernard Iremonger --- test/test/test_flow_classify.c | 5 + 1 file changed, 1 inser

[dpdk-dev] [PATCH] bonding: fix crash when no slave devices

2016-02-23 Thread Bernard Iremonger
nding library") Signed-off-by: Bernard Iremonger --- drivers/net/bonding/rte_eth_bond_pmd.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index b63c886..78972fc 100644 --- a/drivers/n

[dpdk-dev] [PATCH 0/3] ixgbe fixes

2016-02-24 Thread Bernard Iremonger
This patch set implements the following: Removes code which was duplicated in eth_ixgbevf_dev_init(). Adds more information to the error message in ixgbe_check_mq_mode(). Allows the MAC address of the VF to be set to zero. Bernard Iremonger (3): ixgbe: cleanup eth_ixgbevf_dev_uninit ixgbe

[dpdk-dev] [PATCH 1/3] ixgbe: cleanup eth_ixgbevf_dev_uninit

2016-02-24 Thread Bernard Iremonger
Releasing the rx and tx queues is already done in ixgbe_dev_close() so it does not need to be done in eth_ixgbevf_dev_uninit(). Fixes: 2866c5f1b87e ("ixgbe: support port hotplug") Signed-off-by: Bernard Iremonger --- drivers/net/ixgbe/ixgbe_ethdev.c | 15 +-- 1 file

[dpdk-dev] [PATCH 2/3] ixgbe: add more information to the error message

2016-02-24 Thread Bernard Iremonger
Add the nb_rx_q and nb_tx_q values to the error message to give details about the error. Fixes: 27b609cbd1c6 ("ethdev: move the multi-queue mode check to specific drivers") Signed-off-by: Bernard Iremonger --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++- 1 file changed, 3 insert

[dpdk-dev] [PATCH 3/3] ixgbe: allow use of zero MAC address with VF

2016-02-24 Thread Bernard Iremonger
Reprogram the RAR[0] with a zero MAC address, to ensure that the VF traffic goes to the PF after stop, close and detach of the VF. Fixes: af75078fece3 ("first public release") Fixes: 00e30184daa0 ("ixgbe: add PF support") Signed-off-by: Bernard Iremonger --- drivers/net/

[dpdk-dev] [PATCH 0/3 v2] ixgbe fixes

2016-02-26 Thread Bernard Iremonger
This patch set implements the following: Removes code which was duplicated in eth_ixgbevf_dev_init(). Adds more information to the error message in ixgbe_check_mq_mode(). Allows the MAC address of the VF to be set to zero. Changes in v2: Do not overwrite the VF perm_add with zero. Bernard

[dpdk-dev] [PATCH 1/3 v2] ixgbe: cleanup eth_ixgbevf_dev_uninit

2016-02-26 Thread Bernard Iremonger
Releasing the rx and tx queues is already done in ixgbe_dev_close() so it does not need to be done in eth_ixgbevf_dev_uninit(). Fixes: 2866c5f1b87e ("ixgbe: support port hotplug") Signed-off-by: Bernard Iremonger --- drivers/net/ixgbe/ixgbe_ethdev.c | 15 +-- 1 file

[dpdk-dev] [PATCH 3/3 v2] ixgbe: fix setting of VF MAC address

2016-02-26 Thread Bernard Iremonger
quot;) ixgbe: don't overwrite perm addr Signed-off-by: Bernard Iremonger --- drivers/net/ixgbe/ixgbe_ethdev.c | 10 +- drivers/net/ixgbe/ixgbe_pf.c | 7 --- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/i

[dpdk-dev] [PATCH 2/3 v2] ixgbe: add more information to the error message

2016-02-26 Thread Bernard Iremonger
Add the nb_rx_q and nb_tx_q values to the error message to give details about the error. Fixes: 27b609cbd1c6 ("ethdev: move the multi-queue mode check to specific drivers") Signed-off-by: Bernard Iremonger --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 +++- 1 file changed, 3 insert

[dpdk-dev] [PATCH] config: add default linux configuration

2016-01-28 Thread Bernard Iremonger
add config/defconfig_x86_64-default-linuxapp-gcc file. Signed-off-by: Bernard Iremonger --- config/defconfig_x86_64-default-linuxapp-gcc | 42 1 file changed, 42 insertions(+) create mode 100644 config/defconfig_x86_64-default-linuxapp-gcc diff --git a/config

[dpdk-dev] [PATCH v4 0/9] app/testpmd: forwarding

2016-06-14 Thread Bernard Iremonger
fwd_config_setup from fwd_config_display Changes in v2: Added 4 more patches app/testpmd: add function port_is_bonding_slave app/testpmd: move call to init_fwd_streams app/testpmd: check for valid socket id when attaching port app/testpmd: check for valid mbuf pool Bernard Iremonger (9

[dpdk-dev] [PATCH v4 1/9] app/testpmd: add function port_is_forwarding

2016-06-14 Thread Bernard Iremonger
Add function port_is_forwarding to check whether a port is forwarding or not. Signed-off-by: Bernard Iremonger --- app/test-pmd/config.c | 18 +- app/test-pmd/testpmd.h | 3 ++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/config.c b/app/test

[dpdk-dev] [PATCH v4 2/9] app/testpmd: don't update fwding config when attaching/detaching a port

2016-06-14 Thread Bernard Iremonger
Remove checks on test_done variable. Remove code to update forwarding configuration. Fixes: edab33b1c01d ("app/testpmd: support port hotplug") Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 28 +--- 1 file changed, 1 insertion(+), 27 deletion

[dpdk-dev] [PATCH v4 3/9] app/testpmd: check port is not forwarding in stop_port and close_port

2016-06-14 Thread Bernard Iremonger
Add calls to port_is_forwarding function. Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 7a1e470..f22d1b6 100644 --- a/app/test-pmd

[dpdk-dev] [PATCH v4 4/9] app/testpmd: remove fwd_config_setup from fwd_config_display

2016-06-14 Thread Bernard Iremonger
. Signed-off-by: Bernard Iremonger --- app/test-pmd/cmdline.c | 25 ++--- app/test-pmd/config.c | 1 - app/test-pmd/testpmd.c | 2 ++ 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index fd389ac..44a56f0 100644

[dpdk-dev] [PATCH v4 5/9] app/testpmd: add function port_is_bonding_slave

2016-06-14 Thread Bernard Iremonger
Use this function in stop_port and close_port functions. Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 18 ++ app/test-pmd/testpmd.h | 2 ++ 2 files changed, 20 insertions(+) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index e8698cf..5afce27

[dpdk-dev] [PATCH v4 6/9] app/testpmd: move call to init_fwd_streams

2016-06-14 Thread Bernard Iremonger
Move call to init_fwd_streams from start_port function to start_packet_forwarding function. Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 5afce27

[dpdk-dev] [PATCH v4 7/9] app/testpmd: check for valid socket id when attaching port

2016-06-14 Thread Bernard Iremonger
Fixes: edab33b1c01d ("app/testpmd: support port hotplug") Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 38cddca..fa6434c 100644 --- a/ap

[dpdk-dev] [PATCH v4 9/9] app/testpmd: stop forwarding on exit

2016-06-14 Thread Bernard Iremonger
Stop forwarding on exit whether all ports are started or not. Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings") Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 4 1 file changed, 4 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd

[dpdk-dev] [PATCH v4 8/9] app/testpmd: check for valid mbuf pool

2016-06-14 Thread Bernard Iremonger
Fixes: b6ea6408fbc7 ("ethdev: store numa_node per device") Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index fa6434c..29947fd 100644

[dpdk-dev] [PATCH v5 1/9] app/testpmd: add new function

2016-06-14 Thread Bernard Iremonger
Add function port_is_forwarding to check whether a port is forwarding or not. Signed-off-by: Bernard Iremonger --- app/test-pmd/config.c | 18 +- app/test-pmd/testpmd.h | 3 ++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/config.c b/app/test

[dpdk-dev] [PATCH v5 2/9] app/testpmd: do not update forwarding config

2016-06-14 Thread Bernard Iremonger
Do not update forwarding configuration when attaching or detaching a port Remove checks on test_done variable. Remove code to update forwarding configuration. Fixes: edab33b1c01d ("app/testpmd: support port hotplug") Signed-off-by: Bernard Iremonger --- app/test-pmd/test

[dpdk-dev] [PATCH v5 3/9] app/testpmd: check port is not forwarding

2016-06-14 Thread Bernard Iremonger
Add calls to port_is_forwarding function in stop_port and close_port functions to check that port is not forwarding. Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/app/test-pmd/testpmd.c

[dpdk-dev] [PATCH v5 0/9] app/testpmd: forwarding

2016-06-14 Thread Bernard Iremonger
for valid socket id when attaching port app/testpmd: check for valid mbuf pool Bernard Iremonger (9): app/testpmd: add new function app/testpmd: do not update forwarding config app/testpmd: check port is not forwarding app/testpmd: separate fwd config setup from display app/testpmd: add

[dpdk-dev] [PATCH v5 4/9] app/testpmd: separate fwd config setup from display

2016-06-14 Thread Bernard Iremonger
. Signed-off-by: Bernard Iremonger --- app/test-pmd/cmdline.c | 25 ++--- app/test-pmd/config.c | 1 - app/test-pmd/testpmd.c | 2 ++ 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index fd389ac..44a56f0 100644

[dpdk-dev] [PATCH v5 5/9] app/testpmd: add another new function

2016-06-14 Thread Bernard Iremonger
Add new function port_is_bonding_slave Use this function in stop_port and close_port functions. Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 18 ++ app/test-pmd/testpmd.h | 2 ++ 2 files changed, 20 insertions(+) diff --git a/app/test-pmd/testpmd.c b/app/test

[dpdk-dev] [PATCH v5 6/9] app/testpmd: move fwd streams initialisation

2016-06-14 Thread Bernard Iremonger
Move call to init_fwd_streams from start_port function to start_packet_forwarding function. Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 5afce27

[dpdk-dev] [PATCH v5 8/9] app/testpmd: check for valid mbuf pool

2016-06-14 Thread Bernard Iremonger
Fixes: b6ea6408fbc7 ("ethdev: store numa_node per device") Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index fa6434c..29947fd 100644

[dpdk-dev] [PATCH v5 7/9] app/testpmd: check for valid socket id when attaching port

2016-06-14 Thread Bernard Iremonger
Fixes: edab33b1c01d ("app/testpmd: support port hotplug") Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 38cddca..fa6434c 100644 --- a/ap

[dpdk-dev] [PATCH v5 9/9] app/testpmd: stop forwarding on exit

2016-06-14 Thread Bernard Iremonger
Stop forwarding on exit whether all ports are started or not. Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings") Signed-off-by: Bernard Iremonger --- app/test-pmd/testpmd.c | 4 1 file changed, 4 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd

[dpdk-dev] [PATCH] app/testpmd: remove function after refactoring

2016-06-15 Thread Bernard Iremonger
Call the pkt_fwd_config_display function directly now, and remove the fwd_config_display wrapper function. This patch depends on the following patch set [dpdk-dev,v5,1/9] app/testpmd: add new function Signed-off-by: Bernard Iremonger --- app/test-pmd/cmdline.c | 2 +- app/test-pmd/config.c

[dpdk-dev] [PATCH] e1000: fix setting of VF MAC address

2016-03-02 Thread Bernard Iremonger
Allow reprogramming of the RAR with a zero mac address, to ensure that the VF traffic goes to the PF after stop, close and detach of the VF. Fixes: be2d648a2dd3 ("igb: add PF support") Fixes: d82170d27918 ("igb: add VF support") Signed-off-by: Bernard Iremonger --

[dpdk-dev] [PATCH v2] bonding: fix crash when no slave devices

2016-03-07 Thread Bernard Iremonger
: new link bonding library") Signed-off-by: Bernard Iremonger --- Changes in V2: Set current_primary_port to an invalid value. drivers/net/bonding/rte_eth_bond_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bonding/rte_eth_bond_api.c b/drivers/n

[dpdk-dev] [PATCH v3 0/3] ixgbe fixes

2016-03-07 Thread Bernard Iremonger
(). Changes in v2: Do not overwrite the VF perm_add with zero. Bernard Iremonger (3): ixgbe: cleanup eth_ixgbevf_dev_uninit ixgbe: add more information to the error message ixgbe: fix dev_close to remove VF MAC address. drivers/net/ixgbe/ixgbe_ethdev.c | 27

[dpdk-dev] [PATCH v3 1/3] ixgbe: cleanup eth_ixgbevf_dev_uninit

2016-03-07 Thread Bernard Iremonger
Releasing the rx and tx queues is already done in ixgbe_dev_close() so it does not need to be done in eth_ixgbevf_dev_uninit(). Fixes: 2866c5f1b87e ("ixgbe: support port hotplug") Signed-off-by: Bernard Iremonger Acked-by: Konstantin Ananyev --- drivers/net/ixgbe/ixgbe_eth

[dpdk-dev] [PATCH v3 2/3] ixgbe: add more information to the error message

2016-03-07 Thread Bernard Iremonger
Add the nb_rx_q and nb_tx_q values to the error message to give details about the error. Fixes: 27b609cbd1c6 ("ethdev: move the multi-queue mode check to specific drivers") Signed-off-by: Bernard Iremonger Acked-by: Konstantin Ananyev --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++

[dpdk-dev] [PATCH v3 3/3] ixgbe: fix dev_close to remove VF MAC address.

2016-03-07 Thread Bernard Iremonger
Call the ixgbevf_remove_mac_addr() function in the ixgbevf_dev_close() function to ensure that the VF traffic goes to the PF after stop, close and detach of the VF. Fixes: af75078fece3 ("first public release") Signed-off-by: Bernard Iremonger --- drivers/net/ixgbe/ixgbe_et

[dpdk-dev] [PATCH v4 1/3] ixgbe: cleanup eth_ixgbevf_dev_uninit

2016-03-08 Thread Bernard Iremonger
Releasing the rx and tx queues is already done in ixgbe_dev_close() so it does not need to be done in eth_ixgbevf_dev_uninit(). Fixes: 2866c5f1b87e ("ixgbe: support port hotplug") Signed-off-by: Bernard Iremonger Acked-by: Konstantin Ananyev --- drivers/net/ixgbe/ixgbe_eth

[dpdk-dev] [PATCH v4 3/3] ixgbe: fix dev_close to remove VF MAC address.

2016-03-08 Thread Bernard Iremonger
Call the ixgbevf_remove_mac_addr() function in the ixgbevf_dev_close() function to ensure that the VF traffic goes to the PF after stop, close and detach of the VF. Fixes: af75078fece3 ("first public release") Signed-off-by: Bernard Iremonger --- drivers/net/ixgbe/ixgbe_ethdev.c | 8 +

[dpdk-dev] [PATCH v4 2/3] ixgbe: add more information to the error message

2016-03-08 Thread Bernard Iremonger
Add the nb_rx_q and nb_tx_q values to the error message to give details about the error. Fixes: 27b609cbd1c6 ("ethdev: move the multi-queue mode check to specific drivers") Signed-off-by: Bernard Iremonger Acked-by: Konstantin Ananyev --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++

[dpdk-dev] [PATCH v4 0/3] ixgbe fixes

2016-03-08 Thread Bernard Iremonger
patch 3 to remove the VF MAC address in dev_close(). Changes in v2: Do not overwrite the VF perm_add with zero. Bernard Iremonger (3): ixgbe: cleanup eth_ixgbevf_dev_uninit ixgbe: add more information to the error message ixgbe: fix dev_close to remove VF MAC address. drivers/net/ixgbe

[dpdk-dev] [RFC PATCH] librte_pmd_bond: add support for PCI Port Hotplug

2015-05-01 Thread Bernard Iremonger
This patch depends on the Port Hotplug Framework. It implements the rte_dev_uninit_t() function for the link bonding pmd. Signed-off-by: Bernard Iremonger --- lib/librte_pmd_bond/rte_eth_bond.h | 13 - lib/librte_pmd_bond/rte_eth_bond_api.c | 84

[dpdk-dev] [RFC PATCH] librte_pmd_virtio: add support for PCI Port Hotplug

2015-05-01 Thread Bernard Iremonger
This patch depends on the Port Hotplug Framework. It implements the eth_dev_uninit_t() function for virtio pmd. Signed-off-by: Bernard Iremonger --- lib/librte_pmd_virtio/virtio_ethdev.c | 39 - 1 files changed, 38 insertions(+), 1 deletions(-) diff --git a

[dpdk-dev] [RFC PATCH V2] librte_pmd_ring: changes to support PCI Port Hotplug

2015-05-05 Thread Bernard Iremonger
This patch depends on the Port Hotplug Framework. It implements the rte_dev_uninit_t() function for the ring pmd. Changes in V2: Fix crash in the rte_pmd_ring_devuninit() function. Signed-off-by: Bernard Iremonger --- lib/librte_pmd_ring/rte_eth_ring.c | 92

[dpdk-dev] [RFC PATCH V2] librte_pmd_ixgbe: changes to support PCI Port Hotplug

2015-05-06 Thread Bernard Iremonger
This patch depends on the Port Hotplug Framework. It implements the eth_dev_uninit functions for rte_ixgbe_pmd and rte_ixgbevf_pmd. Changes in V2: Added call to dev_close() in dev_uninit() functions. Removed input parameter checks from dev_uninit() functions. Signed-off-by: Bernard Iremonger

[dpdk-dev] [RFC PATCH V2] librte_pmd_e1000: igb and em1000 PCI Port Hotplug changes

2015-05-06 Thread Bernard Iremonger
This patch depends on the Port Hotplug Framework. It implements the eth_dev_uninit functions for rte_em_pmd, rte_igb_pmd and rte_igbvf_pmd. Changes in V2: Call dev_close() from dev_uninit() functions. Remove input parameter checking from dev_unit() functions. Signed-off-by: Bernard Iremonger

[dpdk-dev] [PULL REQUEST] doc: programmers guide.

2014-11-17 Thread Bernard Iremonger
://dpdk.org/next/dpdk-doc master Bernard Iremonger (1): doc: programmers guide doc/guides/index.rst |1 + doc/guides/prog_guide/build_app.rst| 128 + doc/guides/prog_guide/dev_kit_build_system.rst | 418 doc/guides/prog_guide

[dpdk-dev] [PULL REQUEST] doc: Various document fixes in testpmd UG

2014-11-20 Thread Bernard Iremonger
These changes are DPDK 1.8 modifications and some corrections to the TestPMD Application User Guide. The following changes since commit fc1f2750a3ec6da919e3c86e59d56f34ec97154b: doc: programmers guide (2014-11-18 14:49:54 +0100) are available in the git repository at: git://dpdk.org/next/dp

[dpdk-dev] [PULL REQUEST] doc: document modifications in testpmd_app_ug and freebsd_gsg

2014-11-26 Thread Bernard Iremonger
These changes are DPDK 1.8 modifications and some corrections to the TestPMD Application User Guide and the FreeBSD Getting Started Guide. The following changes since commit c4f136db8ec532c3c930be5698cc84321c64192d: eal/linux: map pci memory resources after hugepages (2014-11-25 18:16:41 +0100

[dpdk-dev] [PULL REQUEST] doc: generate DPDK_Linux_GSG with Sphinx.

2014-10-08 Thread Bernard Iremonger
://bernard at dpdk.org/home/bernard/dpdk-doc-next.git/ master Bernard Iremonger (2): makefiles for doxygen and sphinx config and rst files for DPDK_Linux_GSG .../Compiling_and_Running_Sample_Applications.rst | 201 + ...Compiling_the_Intel_DPDK_Target_from_Source.rst | 226

[dpdk-dev] [PULL REQUEST] doc: generate DPDK_Linux_GSG with Sphinx.

2014-10-10 Thread Bernard Iremonger
repository at: ssh://bernard at dpdk.org/home/bernard/dpdk-doc-next.git/ DPDK_Linux_GSG Bernard Iremonger (2): doc: rst files and conf file for DPDK_Linux_GSG doc: makefiles for doxygen and sphinx .../Compiling_and_Running_Sample_Applications.rst | 201

[dpdk-dev] [PULL REQUEST] doc: getting started guide for linux.

2014-10-20 Thread Bernard Iremonger
/next/dpdk-doc DPDK_Linux_GSG Bernard Iremonger (1): doc: getting started guide for linux doc/guides/conf.py | 30 +++ doc/guides/index.rst | 37 +++ doc/guides/linux_gsg/build_dpdk.rst| 271 +++ doc/guides

[dpdk-dev] [PULL REQUEST] doc: freebsd getting started guide.

2014-10-23 Thread Bernard Iremonger
: git://dpdk.org/next/dpdk-doc master Bernard Iremonger (1): doc: freebsd getting started guide doc/guides/freebsd_gsg/build_dpdk.rst| 275 ++ doc/guides/freebsd_gsg/build_sample_apps.rst | 186 + doc/guides/freebsd_gsg/index.rst

[dpdk-dev] [PULL REQUEST] doc: release notes, programmers guide, sample app. guide and fix to linux getting started guide.

2014-10-31 Thread Bernard Iremonger
mergeable packets with vector ixgbe (2014-10-30 09:38:52 +0100) are available in the git repository at: git://dpdk.org/next/dpdk-doc master Bernard Iremonger (3): doc: release notes for DPDK 1.7 doc: programmers guide doc: sample applications user guide Jincheng Miao (1

[dpdk-dev] [PATCH v2 00/20] remove pci driver from vdevs

2015-10-05 Thread Bernard Iremonger
pcap af_packet xenvirt mpipe All the pdev PMD's have been modified to copy the pci device info into ethdev data. Changes in V2: rebase to latest code. fix compile error in rte_ethdev.c when debug disabled. remove intel copyright from bnx2x, cxgbe, enic, mlx4, mpipe and null PMD'

[dpdk-dev] [PATCH v2 01/20] librte_eal: add RTE_KDRV_NONE for vdevs

2015-10-05 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- lib/librte_eal/common/include/rte_pci.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h index 83e3c28..334c12e 100644 --- a/lib/librte_eal/common/include

[dpdk-dev] [PATCH v2 02/20] librte_ether: add fields from rte_pci_driver to rte_eth_dev_data

2015-10-05 Thread Bernard Iremonger
add dev_flags to rte_eth_dev_data, add macros for dev_flags. add kdrv to rte_eth_dev_data. add numa_node to rte_eth_dev_data. add drv_name to rte_eth_dev_data. use dev_type to distinguish between vdev's and pdev's. remove pci_dev branches. Signed-off-by: Bernard Iremonger --- lib/li

[dpdk-dev] [PATCH v2 03/20] librte_ether: add function rte_eth_copy_dev_info()

2015-10-05 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- lib/librte_ether/rte_ethdev.c | 1 + lib/librte_ether/rte_ethdev.h | 14 ++ lib/librte_ether/rte_ether_version.map | 7 +++ 3 files changed, 22 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether

[dpdk-dev] [PATCH v2 04/20] null: remove pci device driver

2015-10-05 Thread Bernard Iremonger
remove rte_null_pmd and pci_dev. initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev data Signed-off-by: Bernard Iremonger --- drivers/net/null/rte_eth_null.c | 28 +++- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/drivers/net

[dpdk-dev] [PATCH v2 05/20] ring: remove pci device driver

2015-10-05 Thread Bernard Iremonger
remove rte_ring_pmd and pci_dev. initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev data. Signed-off-by: Bernard Iremonger --- drivers/net/ring/rte_eth_ring.c | 37 - 1 file changed, 8 insertions(+), 29 deletions(-) diff --git a

[dpdk-dev] [PATCH v2 06/20] bonding: remove pci device driver

2015-10-05 Thread Bernard Iremonger
remove pci_dev, pci_drv, rte_bond_pmd and pci_id_table. initialise dev_flags, kdrv, driver, drv_name and numa_node fields in eth_dev data. handle numa_node for vdevs handle RTE_ETH_DEV_INTR_LSC for vdevs rename valid_bonded_device to check_for_bonded_device Signed-off-by: Bernard Iremonger

[dpdk-dev] [PATCH v2 07/20] pcap: remove pci device driver

2015-10-05 Thread Bernard Iremonger
remove rte_pcap_pmd and pci_dev. initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev data Signed-off-by: Bernard Iremonger --- drivers/net/pcap/rte_eth_pcap.c | 31 +-- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/drivers

[dpdk-dev] [PATCH v2 08/20] af_packet: remove pci device driver

2015-10-05 Thread Bernard Iremonger
From: David Hunt initialise dev_flags, driver, kdrv, drv_name and numa_node fileds in eth_dev data. Signed-off-by: David Hunt Signed-off-by: Bernard Iremonger --- drivers/net/af_packet/rte_eth_af_packet.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff

[dpdk-dev] [PATCH v2 09/20] xenvirt: remove pci device driver

2015-10-05 Thread Bernard Iremonger
From: David Hunt Initialise dev_flags, driver, kdrv, drv_name and numa_node in eth_dev data. Signed-off-by: David Hunt Signed-off-by: Bernard Iremonger --- drivers/net/xenvirt/rte_eth_xenvirt.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/net

<    1   2   3   4   5   6   7   8   9   10   >