[dpdk-dev] [PATCH v3 0/6] new ntuple filter replaces 2tuple and 5tuple filters

2015-02-10 Thread Jingjing Wu
eters from user interface, only the filter's key and assigned queue are visible to user. Jingjing Wu (6): ethdev: define ntuple filter type and its structure ixgbe: ntuple filter functions replace old ones for 5tuple filter e1000: ntuple filter functions replace old ones for 2tuple and 5tuple

[dpdk-dev] [PATCH v3 1/6] ethdev: define ntuple filter type and its structure

2015-02-10 Thread Jingjing Wu
This patch defines ntuple filter type RTE_ETH_FILTER_NTUPLE and its structure rte_eth_ntuple_filter. It also corrects the typo TCP_UGR_FLAG to TCP_URG_FLAG Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 50 + lib/librte_ether

[dpdk-dev] [PATCH v3 2/6] ixgbe: ntuple filter functions replace old ones for 5tuple filter

2015-02-10 Thread Jingjing Wu
This patch defines new functions dealing with ntuple filters which is corresponding to 5tuple in HW. It removes old functions which deal with 5tuple filters. Ntuple filter is dealt with through entrance ixgbe_dev_filter_ctrl. Signed-off-by: Jingjing Wu --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c

[dpdk-dev] [PATCH v3 3/6] e1000: ntuple filter functions replace old ones for 2tuple and 5tuple filter

2015-02-10 Thread Jingjing Wu
eth_igb_filter_ctrl. Signed-off-by: Jingjing Wu --- lib/librte_pmd_e1000/e1000_ethdev.h | 69 ++- lib/librte_pmd_e1000/igb_ethdev.c | 869 2 files changed, 647 insertions(+), 291 deletions(-) diff --git a/lib/librte_pmd_e1000/e1000_ethdev.h b/lib

[dpdk-dev] [PATCH v3 4/6] testpmd: new commands for ntuple filter

2015-02-10 Thread Jingjing Wu
value) queue (queue_id) Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 406 ++--- app/test-pmd/config.c | 65 2 files changed, 186 insertions(+), 285 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 59

[dpdk-dev] [PATCH v3 5/6] ethdev: remove old APIs and structures of 5tuple and 2tuple filters

2015-02-10 Thread Jingjing Wu
- rte_eth_dev_get_5tuple_filter It also move macros TCP_*_FLAG to rte_eth_ctrl.h, and removes the macro TCP_UGR_FLAG which is duplicated with TCP_URG_FLAG. Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 7 ++ lib/librte_ether/rte_ethdev.c | 116 lib/librte_ether

[dpdk-dev] [PATCH v3 6/6] doc: commands changed in testpmd_funcs for 2tuple amd 5tuple filter

2015-02-10 Thread Jingjing Wu
) dst_port (dst_port_value) src_port (src_port_value) protocol (protocol_value) mask (mask_value) tcp_flags (tcp_flags_value) priority (prio_value) queue (queue_id) Signed-off-by: Jingjing Wu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 99 ++--- 1 file changed, 21

[dpdk-dev] [PATCH v2 0/6] Integrate syn filter in igb/ixgbe driver to new API

2015-02-11 Thread Jingjing Wu
APIs. It uses new functions and structure to replace old ones in igb/ixgbe driver, new commands to replace old ones in testpmd, and removes the old APIs. Jingjing Wu (6): ethdev: define syn filter type and its structure ixgbe: new functions replace old ones for syn filter e1000: new

[dpdk-dev] [PATCH v2 1/6] ethdev: define syn filter type and its structure

2015-02-11 Thread Jingjing Wu
This patch defines syn filter type RTE_ETH_FILTER_SYN and its structure rte_eth_syn_filter. Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 12 1 file changed, 12 insertions(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index

[dpdk-dev] [PATCH v2 2/6] ixgbe: new functions replace old ones for syn filter

2015-02-11 Thread Jingjing Wu
This patch defines new functions dealing with syn filter. It removes old functions which deal with syn filter. Syn filter is dealt with through entrance ixgbe_dev_filter_ctrl. Signed-off-by: Jingjing Wu --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 167 +--- 1 file

[dpdk-dev] [PATCH v2 4/6] testpmd: new commands for syn filter

2015-02-11 Thread Jingjing Wu
) priority (high|low) queue (queue_id) Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 143 ++--- app/test-pmd/config.c | 21 2 files changed, 65 insertions(+), 99 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd

[dpdk-dev] [PATCH v2 6/6] doc: commands changed in testpmd_funcs for syn filter

2015-02-11 Thread Jingjing Wu
document of new command: - syn_filter (port_id) (add|del) priority (high|low) queue (queue_id) Signed-off-by: Jingjing Wu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 30 - 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/doc/guides

[dpdk-dev] [PATCH v2 3/6] e1000: new functions replace old ones for syn filter

2015-02-11 Thread Jingjing Wu
This patch defines new functions dealing with syn filter. It removes old functions of syn filter in igb driver. Syn filter is dealt with through entrance eth_igb_filter_ctrl. Signed-off-by: Jingjing Wu --- lib/librte_pmd_e1000/igb_ethdev.c | 152 -- 1 file

[dpdk-dev] [PATCH v2 5/6] ethdev: remove old APIs and structures of syn filter

2015-02-11 Thread Jingjing Wu
Structure rte_syn_filter is removed. Following APIs are removed: - rte_eth_dev_add_syn_filter - rte_eth_dev_remove_syn_filter - rte_eth_dev_get_syn_filter Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_ethdev.c | 50 lib/librte_ether/rte_ethdev.h | 67

[dpdk-dev] [PATCH] i40e: fix the issue reported by klocwork

2015-02-12 Thread Jingjing Wu
Klocwork reports array 'src_offset' may use index 16. In function i40e_srcoff_to_flx_pit, index j + 1 can reach I40E_FDIR_MAX_FLEX_LEN. This patch fixes this issue to avoid array bound. Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_fdir.c | 35 +-- 1

[dpdk-dev] [PATCH v2 0/5] Integrate flex filter in igb driver to new API

2015-02-15 Thread Jingjing Wu
old ones in igb driver, new commands to replace old ones in testpmd, and removes the old APIs. Jingjing Wu (5): ethdev: define flex filter type and its structure e1000: new functions replace old ones for flex filter testpmd: new commands for flex filter ethdev: remove old APIs

[dpdk-dev] [PATCH v2 1/5] ethdev: define flex filter type and its structure

2015-02-15 Thread Jingjing Wu
This patch defines flex filter type RTE_ETH_FILTER_FLEXIBLE and its structure rte_eth_flex_filter. Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 20 1 file changed, 20 insertions(+) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether

[dpdk-dev] [PATCH v2 3/5] testpmd: new commands for flex filter

2015-02-15 Thread Jingjing Wu
filter by using filter_ctrl API and new flex filter structure: - flex_filter (port_id) (add|del) len (len_value) bytes (bytes_value) mask (mask_value) priority (prio_value) queue (queue_id) Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 239

[dpdk-dev] [PATCH v2 4/5] ethdev: remove old APIs and structures of flex filter

2015-02-15 Thread Jingjing Wu
Structure rte_flex_filter is removed. Following APIs are removed: - rte_eth_dev_add_flex_filter - rte_eth_dev_remove_flex_filter - rte_eth_dev_get_flex_filter Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_ethdev.c | 51 - lib/librte_ether/rte_ethdev.h | 89

[dpdk-dev] [PATCH v2 0/4] Integrate ethertype filter in igb/ixgbe driver to new API

2015-01-12 Thread Jingjing Wu
ones in testpmd, and removes the old APIs. Jingjing Wu (4): ixgbe: new functions replace old ones for ethertype filter e1000: new functions replace old ones for ethertype filter testpmd: new commands for ethertype filter ethdev: remove old APIs and structures of ethertype filter app/test

[dpdk-dev] [PATCH v2 1/4] ixgbe: new functions replace old ones for ethertype filter

2015-01-12 Thread Jingjing Wu
This patch removes old functions which deal with ethertype filter in ixgbe driver. It also defines ixgbe_dev_filter_ctrl which is binding to filter_ctrl API, and ethertype filter can be dealt with through this new entrance. Signed-off-by: Jingjing Wu --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c

[dpdk-dev] [PATCH v2 3/4] testpmd: new commands for ethertype filter

2015-01-12 Thread Jingjing Wu
structure: - ethertype_filter (port_id) (add|del) (mac_addr|mac_ignr) (mac_address) ethertype (ether_type) (drop|fwd) queue (queue_id) Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 253 ++--- app/test-pmd/config.c | 27 -- 2 files

[dpdk-dev] [PATCH v2 2/4] e1000: new functions replace old ones for ethertype filter

2015-01-12 Thread Jingjing Wu
This patch removes old functions which deal with ethertype filter in igb driver. It also defines eth_igb_filter_ctrl which is binding to filter_ctrl API, and ethertype filter can be dealt with through this new entrance. Signed-off-by: Jingjing Wu --- lib/librte_pmd_e1000/e1000_ethdev.h | 13

[dpdk-dev] [PATCH v2 4/4] ethdev: remove old APIs and structures of ethertype filter

2015-01-12 Thread Jingjing Wu
Structure rte_ethertype_filter is removed. Following APIs are removed: - rte_eth_dev_add_ethertype_filter - rte_eth_dev_remove_ethertype_filter - rte_eth_dev_get_ethertype_filter Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_ethdev.c | 57 lib

[dpdk-dev] [PATCH 0/5] new ntuple filter replaces 2tuple and 5tuple filters

2015-01-15 Thread Jingjing Wu
. It removes the filter's index parameters from user interface, only the filter's key and assigned queue are visible to user. Jingjing Wu (5): ethdev: define ntuple filter type and its structure ixgbe: ntuple filter functions replace old ones for 5tuple filter e1000: ntuple filter functions

[dpdk-dev] [PATCH 1/5] ethdev: define ntuple filter type and its structure

2015-01-15 Thread Jingjing Wu
This patch defines ntuple filter type RTE_ETH_FILTER_NTUPLE and its structure rte_eth_ntuple_filter. It also corrects the typo TCP_UGR_FLAG to TCP_URG_FLAG Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 50 + lib/librte_ether

[dpdk-dev] [PATCH 2/5] ixgbe: ntuple filter functions replace old ones for 5tuple filter

2015-01-15 Thread Jingjing Wu
. Signed-off-by: Jingjing Wu --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 489 +++- lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 62 - 2 files changed, 421 insertions(+), 130 deletions(-) diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c b/lib/librte_pmd_ixgbe

[dpdk-dev] [PATCH 3/5] e1000: ntuple filter functions replace old ones for 2tuple and 5tuple filter

2015-01-15 Thread Jingjing Wu
is binding to filter_ctrl API, and ntuple filter can be dealt with through this new entrance. Signed-off-by: Jingjing Wu --- lib/librte_pmd_e1000/e1000_ethdev.h | 79 +++- lib/librte_pmd_e1000/igb_ethdev.c | 892 +--- 2 files changed, 680 insertions(+), 291 deletions

[dpdk-dev] [PATCH 4/5] testpmd: new commands for ntuple filter

2015-01-15 Thread Jingjing Wu
igned-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 406 ++--- app/test-pmd/config.c | 65 2 files changed, 186 insertions(+), 285 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 882a5a2..1d74870 100644 ---

[dpdk-dev] [PATCH 5/5] ethdev: remove old APIs and structures of 5tuple and 2tuple filters

2015-01-15 Thread Jingjing Wu
- rte_eth_dev_get_5tuple_filter It also move macros TCP_*_FLAG to rte_eth_ctrl.h, and removes the macro TCP_UGR_FLAG which is duplicated with TCP_URG_FLAG. Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 7 ++ lib/librte_ether/rte_ethdev.c | 116 lib/librte_ether

[dpdk-dev] [PATCH] i40e: fix the VF rss issue when nb_rx_queue is less than nb_tx_queue

2015-07-13 Thread Jingjing Wu
From: "jingjing.wu" I40e VF driver uses the num_queue_pairs in vf structure to construct queue index look up table. When the nb_rx_queue is less than nb_tx_queue, num_queue_pairs is equal to nb_tx_queue. It will make the table use invalid queue index, then application

[dpdk-dev] [RFC] examples: remove l3fwd-vf example

2015-07-14 Thread Jingjing Wu
Because VF multi-queues can be supported, l3fwd can run on vf. Suggest to remove the l3fwd-vf example. Signed-off-by: jingjing.wu --- doc/guides/sample_app_ug/index.rst |1 - doc/guides/sample_app_ug/l3_forward_virtual.rst | 158 examples/l3fwd-vf/Makefile

[dpdk-dev] [PATCH] doc: announce ABI change for rte_eth_fdir_filter

2015-07-20 Thread Jingjing Wu
To fix the FVL's flow director issue for SCTP flow, rte_eth_fdir_filter need to be change to support SCTP flow keys extension. Here announce the ABI deprecation. Signed-off-by: jingjing.wu --- doc/guides/rel_notes/deprecation.rst | 4 1 file changed, 4 insertions(+) diff --git

[dpdk-dev] [PATCH] i40e: correct the private data size for i40e vf driver

2015-07-28 Thread Jingjing Wu
The patch fixes the i40e VF crash issue. The issue's root cause is that the dev_private_size in i40e virtual function driver struct rte_i40evf_pmd was set incorrectly. Signed-off-by: jingjing.wu --- drivers/net/i40e/i40e_ethdev_vf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[dpdk-dev] [PATCH V2] i40evf: fix crash when setup tx queues on vf port

2015-07-28 Thread Jingjing Wu
From: "jingjing.wu" This patch fixes the issue: Testpmd crashed with Segmentation fault when setup tx queues on vf Steps for reproduce: - create one vf device from i40e driver - bind vf device to igb_uio and start testpmd With debugging tools, we saw the struct

[dpdk-dev] [PATCH v2 0/4] enable mirror functionality in i40e driver

2015-06-02 Thread Jingjing Wu
This patch set enables mirror functionality in i40e driver, and redefines structure and macros used to configure mirror. v2 changes: - correct comments style - add doc change Jingjing Wu (4): ethdev: rename rte_eth_vmdq_mirror_conf ethdev: redefine the mirror type i40e: enable mirror

[dpdk-dev] [PATCH v2 1/4] ethdev: rename rte_eth_vmdq_mirror_conf

2015-06-02 Thread Jingjing Wu
rename rte_eth_vmdq_mirror_conf to rte_eth_mirror_conf and move the maximum rule id check from ethdev level to driver Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 22 +++--- drivers/net/ixgbe/ixgbe_ethdev.c | 11 +++ drivers/net/ixgbe/ixgbe_ethdev.h

[dpdk-dev] [PATCH v2 2/4] ethdev: redefine the mirror type

2015-06-02 Thread Jingjing Wu
This path renames the mirror type in rte_eth_mirror_conf and macros, and rework the mirror set in ixgbe dirvers by using new definition. It also fixes some coding style. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 42 +++ drivers/net/ixgbe

[dpdk-dev] [PATCH v2 3/4] i40e: enable mirror functionality in i40e driver

2015-06-02 Thread Jingjing Wu
enable mirror functionality in i40e driver .mirror_rule_set .mirror_rule_reset Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 334 + drivers/net/i40e/i40e_ethdev.h | 23 +++ 2 files changed, 357 insertions(+) diff --git a/drivers/net

[dpdk-dev] [PATCH v2 4/4] doc: modify the command about mirror in testpmd guide

2015-06-02 Thread Jingjing Wu
This patch modifies the mirror command about type extension and adds link mirror command. Signed-off-by: Jingjing Wu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc

[dpdk-dev] [PATCH v3 0/4] enable mirror functionality in i40e driver

2015-06-05 Thread Jingjing Wu
This patch set enables mirror functionality in i40e driver, and redefines structure and macros used to configure mirror. v2 changes: - correct comments style - add doc change v3 changes: - change the mirror rule type to support bit mask and avoid ABI broken - fix code style Jingjing Wu (4

[dpdk-dev] [PATCH v3 1/4] ethdev: rename rte_eth_vmdq_mirror_conf

2015-06-05 Thread Jingjing Wu
rename rte_eth_vmdq_mirror_conf to rte_eth_mirror_conf and move the maximum rule id check from ethdev level to driver Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 22 +++--- drivers/net/ixgbe/ixgbe_ethdev.c | 11 +++ drivers/net/ixgbe/ixgbe_ethdev.h

[dpdk-dev] [PATCH v3 2/4] ethdev: redefine the mirror type

2015-06-05 Thread Jingjing Wu
This path renames the mirror type in rte_eth_mirror_conf and macros, and rework the mirror set in ixgbe dirvers by using new definition. It also fixes some coding style. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 42 +-- drivers/net/ixgbe

[dpdk-dev] [PATCH v3 3/4] i40e: enable mirror functionality in i40e driver

2015-06-05 Thread Jingjing Wu
enable mirror functionality in i40e driver .mirror_rule_set .mirror_rule_reset Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 334 + drivers/net/i40e/i40e_ethdev.h | 23 +++ 2 files changed, 357 insertions(+) diff --git a/drivers/net

[dpdk-dev] [PATCH v3 4/4] doc: modify the command about mirror in testpmd guide

2015-06-05 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 761172e..2cd3461 100644 --- a/doc/guides

[dpdk-dev] [PATCH v4 0/4] enable mirror functionality in i40e driver

2015-06-10 Thread Jingjing Wu
check ixgbe Jingjing Wu (4): ethdev: rename rte_eth_vmdq_mirror_conf ethdev: rename and extend the mirror type i40e: enable mirror functionality in i40e driver doc: modify the command about mirror in testpmd guide app/test-pmd/cmdline.c | 62 +++--- doc/guides

[dpdk-dev] [PATCH v4 2/4] ethdev: rename and extend the mirror type

2015-06-10 Thread Jingjing Wu
This path renames the mirror type in rte_eth_mirror_conf and macros, and rework the mirror set in ixgbe dirvers by using new definition. It also fixes some coding style. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 42 ++--- drivers/net/ixgbe

[dpdk-dev] [PATCH v4 3/4] i40e: enable mirror functionality in i40e driver

2015-06-10 Thread Jingjing Wu
enable mirror functionality in i40e driver .mirror_rule_set .mirror_rule_reset Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 334 + drivers/net/i40e/i40e_ethdev.h | 23 +++ 2 files changed, 357 insertions(+) diff --git a/drivers/net

[dpdk-dev] [PATCH v4 1/4] ethdev: rename rte_eth_vmdq_mirror_conf

2015-06-10 Thread Jingjing Wu
rename rte_eth_vmdq_mirror_conf to rte_eth_mirror_conf and move the maximum rule id check from ethdev level to driver Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 22 +++--- drivers/net/ixgbe/ixgbe_ethdev.c | 11 +++ drivers/net/ixgbe/ixgbe_ethdev.h

[dpdk-dev] [PATCH v4 4/4] doc: modify the command about mirror in testpmd guide

2015-06-10 Thread Jingjing Wu
Signed-off-by: Jingjing Wu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index 761172e..2cd3461 100644 --- a/doc/guides

[dpdk-dev] [PATCH v2 0/4] extend flow director to support L2_paylod type

2015-06-16 Thread Jingjing Wu
This patch set extends flow director to support L2_paylod type in i40e driver. v2 change: - remove the flow director VF filtering from this patch to avoid breaking ABI. Jingjing Wu (4): ethdev: add struct rte_eth_l2_flow to support l2_payload flow type i40e: extend flow diretcor to support

[dpdk-dev] [PATCH v2 3/4] testpmd: extend commands

2015-06-16 Thread Jingjing Wu
This patch extends flow director commands to support l2_payload flow type. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 48 +--- 1 file changed, 45 insertions(+), 3 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c

[dpdk-dev] [PATCH v2 4/4] doc: extend commands in testpmd

2015-06-16 Thread Jingjing Wu
Modify the doc about flow director commands to support l2_payload flow type. Signed-off-by: Jingjing Wu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides

[dpdk-dev] [PATCH] ixgbe: fix the flow director flexbytes offset issues

2015-06-19 Thread Jingjing Wu
The flexbytes offset can not be set, because the value is over written when fdir is enabled. This patch fixes this issue, and also removes some reduplicate lines. Reported-by: David Marchand Signed-off-by: Jingjing Wu --- drivers/net/ixgbe/ixgbe_fdir.c | 24 1 file

[dpdk-dev] [PATCH] doc: announce ABI change for old flow director APIs removing

2015-08-11 Thread Jingjing Wu
-by: Jingjing Wu --- doc/guides/rel_notes/deprecation.rst | 36 1 file changed, 36 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 5330d3b..b1be38f 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b

[dpdk-dev] [PATCH] i40e: fix set max frame size to default

2015-12-15 Thread Jingjing Wu
river") Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 22b240c..bf6220d 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c

[dpdk-dev] [PATCH] app/testpmd: fix dead code

2015-12-15 Thread Jingjing Wu
Coverity issue (CID 119254): Control flow issues (DEADCODE). Fixes: 1a572499beb6 ("app/testpmd: setup DCB forwarding based on traffic class") Signed-off-by: Jingjing Wu --- app/test-pmd/config.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/test-pmd/conf

[dpdk-dev] [PATCH] i40e: fix unintended sign extension

2015-12-16 Thread Jingjing Wu
d long (64 bits, unsigned). If vsi_id << 23 is greater than 0x7FFF, the upper bits of the result will all be 1. Fixes: 88ebc2b7f976 ("i40e: extend flow director to support VF") Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_fdir.c | 2 +- 1 file changed, 1 insertion(+

[dpdk-dev] [PATCH 0/4] extend flow director's IP fields in i40e driver

2015-12-25 Thread Jingjing Wu
This patch set extends flow director to support filtering by TOS, Protocol and TTL in i40e driver. Jingjing Wu (4): ethdev: extend flow director to support input set selection i40e: split function for input set change of hash and fdir i40e: extend flow director to filter by more IP Header

[dpdk-dev] [PATCH 2/4] i40e: split function for input set change of hash and fdir

2015-12-25 Thread Jingjing Wu
This patch splited function for input set change of hash and fdir, and added a new function to set the input set to default when initialization. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 330 + drivers/net/i40e/i40e_ethdev.h | 11

[dpdk-dev] [PATCH 1/4] ethdev: extend flow director to support input set selection

2015-12-25 Thread Jingjing Wu
This patch add RTE_ETH_INPUT_SET_L3_IP4_TTL, RTE_ETH_INPUT_SET_L3_IP6_HOP_LIMITS input field type and extends struct rte_eth_ipv4_flow and rte_eth_ipv6_flow to support filtering by tos, protocol and ttl. Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_eth_ctrl.h | 8 1 file changed

[dpdk-dev] [PATCH 4/4] testpmd: extend commands for filter's input set changing

2015-12-25 Thread Jingjing Wu
This patch extends commands for filter's input set changing. It added tos, protocol and ttl as filter's input fields, and remove the words selection from flex payloads for flow director. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c | 100

[dpdk-dev] [PATCH 3/4] i40e: extend flow director to filter by more IP Header fields

2015-12-25 Thread Jingjing Wu
This patch extended flow director to select more IP Header fields as filter input set. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 69 ++ drivers/net/i40e/i40e_fdir.c | 26 +++- 2 files changed, 75 insertions(+), 20

[dpdk-dev] [PATCH] doc: correct the format of quota

2015-03-03 Thread Jingjing Wu
remove the coma character by using ' character Signed-off-by: Jingjing Wu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst index a99e14d

[dpdk-dev] [PATCH 0/2] correct the flow director based on unified flow type

2015-03-06 Thread Jingjing Wu
Due the unified flow type changes, this patchset updates the commands for flow director and correct the flow types ixgbe supported. Jingjing Wu (2): ixgbe: correct the flow types supported doc: update flow director commands app/test-pmd/cmdline.c | 18

[dpdk-dev] [PATCH 1/2] ixgbe: correct the flow types supported

2015-03-06 Thread Jingjing Wu
te flex mask setting unrelated with flow type in testpmd for ixgbe. Signed-off-by: Jingjing Wu --- app/test-pmd/cmdline.c| 18 +++--- lib/librte_pmd_ixgbe/ixgbe_fdir.c | 8 +++- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/app/test-pmd/cmdl

[dpdk-dev] [PATCH 2/2] doc: update flow director commands

2015-03-06 Thread Jingjing Wu
Because of the changing of unified flow type, commands for flow director need to be updated. Signed-off-by: Jingjing Wu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/guides/testpmd_app_ug

[dpdk-dev] [PATCH] i40e: remove ALLOW_LB flag on SRIOV vsi

2015-03-20 Thread Jingjing Wu
Disable VEB switching by removing ALLOW_LB on SRIOV vsi. If the source mac address of packet sent from VF is not listed in the VEB's mac table, the VEB will switch the packet back to the VF. It's a hardware issue. Enabling ALLOW_LB flag will block VF functions. Signed-off-by: Jingjing Wu

[dpdk-dev] [PATCH] ixgbe: fix the issue second 5tuple filter overwrites the first one

2015-03-25 Thread Jingjing Wu
This patch corrects the index to fix the issue that is second 5tuple filter overwrites the first one. Signed-off-by: Jingjing Wu --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c b/lib

[dpdk-dev] [PATCH] i40e: zero local variable

2015-03-26 Thread Jingjing Wu
This patch sets the local variable ctxt to zero to avoid uncertain data causes error when creating a vsi for flow director. Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b

[dpdk-dev] [PATCH] e1000: modify mac type checking before flex filter is programmed

2015-03-26 Thread Jingjing Wu
This patch changes MAC_TYPE_FILTER_SUP to MAC_TYPE_FILTER_SUP_EXT in flex filter handling function. It will remove NIC 82576 from flex filter support. Signed-off-by: Jingjing Wu --- lib/librte_pmd_e1000/igb_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib

[dpdk-dev] [PATCH 0/6] Support flow director programming on fortville

2014-08-01 Thread Jingjing Wu
The patch set supports flow director programming on fortville. It includes: - reserve i40e resources for flow director, such as queue and vsi. - support the new ethdev AP Irx_classification_filter_ctl for all the configuration or queries for receive classification filters. - support

[dpdk-dev] [PATCH 1/6] i40e: flow director resource reserve and initialize on i40e

2014-08-01 Thread Jingjing Wu
flow director resource reserve and initialize on i40e, it includes - queue initialization and switch on and vsi creation during setup - queue vsi for flow director release during close Signed-off-by: jingjing.wu --- lib/librte_pmd_i40e/Makefile | 1 + lib/librte_pmd_i40e/i40e_ethdev.c

[dpdk-dev] [PATCH 3/6] ethdev: define new ethdev API rx_classification_filter_ctl

2014-08-01 Thread Jingjing Wu
support a new ethdev API rx_classification_filter_ctl for all the configuration or queries for receive classification filters. this patch supports commands the API used below: RTE_CMD_FDIR_RULE_ADD RTE_CMD_FDIR_RULE_DEL RTE_CMD_FDIR_FLUSH RTE_CMD_FDIR_INFO_GET Signed-off-by: jingjing.wu

[dpdk-dev] [PATCH 5/6] app/test-pmd: add commands and config functions for i40e flow director support

2014-08-01 Thread Jingjing Wu
add structure definition to construct programming packet. add commands to programming 6 flow types for the flow director filters, which is called PCTYPE in fortville: ipv4, tcpv4, udpv4, ipv6, tcpv6, udpv6 add command to support flushing flow director table Signed-off-by: jingjing.wu ---

[dpdk-dev] [PATCH 6/6] i40e: support FD ID report and match counter for i40e flow director

2014-08-01 Thread Jingjing Wu
support to get the fdir_match counter support to set the FDIR flag and FD_ID reported in mbuf Signed-off-by: jingjing.wu --- lib/librte_pmd_i40e/i40e_ethdev.c | 5 lib/librte_pmd_i40e/i40e_rxtx.c | 49 ++- 2 files changed, 53 insertions(+), 1

[dpdk-dev] [PATCH v2 0/7] Support flow director programming on fortville

2014-08-27 Thread Jingjing Wu
The patch set supports flow director programming on fortville. It includes: - reserve i40e resources for flow director, such as queue and vsi. - support the new ethdev API rx_classification_filter_ctl for all the configuration or queries for receive classification filters. - support

[dpdk-dev] [PATCH v2 4/7] i40e: function implement in i40e for flow director flush and info get

2014-08-27 Thread Jingjing Wu
support the API ops defined in ethdev, the behavior according to each command: RTE_CMD_FDIR_FLUSH : clear all FDIR filter rules. RTE_CMD_FDIR_INFO_GET: get FDIR information. Signed-off-by: jingjing.wu Reviewed-by: Helin Zhang Reviewed-by: Jing Chen Reviewed-by: Jijiang Liu ---

[dpdk-dev] [PATCH v2 7/7]app/testpmd: add commands and config functions for i40e flow director support

2014-08-27 Thread Jingjing Wu
add structure definition to construct programming packet. add commands to programming 6 flow types for the flow director filters, which is called PCTYPE in fortville: ipv4, tcpv4, udpv4, ipv6, tcpv6, udpv6 add commands to support flushing flow director table and get info Signed-off-by:

[dpdk-dev] [PATCH 0/4] Integrate ethertype filter in igb/ixgbe driver to new API

2014-12-25 Thread Jingjing Wu
The patch set uses new filter_ctrl API to replace old ethertype filter APIs. It uses new functions and structure to replace old ones in igb/ixgbe driver, new commands to replace old ones in testpmd, and removes the old APIs. Jingjing Wu (4): ixgbe: new functions replaces old ones for ethertype

[dpdk-dev] [PATCH 2/4] e1000: new functions replace old ones for ethertype filters

2014-12-25 Thread Jingjing Wu
This patch removes old functions which deal with ethertype filters in ixgbe driver. It also defines eth_igb_filter_ctrl which is binding to filter_ctrl API, and ethertype filter can be dealt with through this new entrance. Signed-off-by: Jingjing Wu --- lib/librte_pmd_e1000/e1000_ethdev.h

[dpdk-dev] [PATCH 1/4] ixgbe: new functions replace old ones for ethertype filter

2014-12-25 Thread Jingjing Wu
This patch removes old functions which deal with ethertype filter in ixgbe driver. It also defines ixgbe_dev_filter_ctrl which is binding to filter_ctrl API, and ethertype filter can be dealt with through this new entrance. Signed-off-by: Jingjing Wu --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c

[dpdk-dev] [PATCH 4/4] ethdev: remove old APIs and structures of ethertype filter

2014-12-25 Thread Jingjing Wu
Struct rte_ethertype_filter is removed. Following APIs are removed: - rte_eth_dev_add_ethertype_filter - rte_eth_dev_remove_ethertype_filter - rte_eth_dev_get_ethertype_filter Signed-off-by: Jingjing Wu --- lib/librte_ether/rte_ethdev.c | 57 lib/librte_ether

[dpdk-dev] [PATCH v3 0/4] NIC filters support for generic filter

2014-06-12 Thread Jingjing Wu
--- the v3 patchset changes: --- comments alignment --- the v2 patchset changes: --- add NIC filter support for 82576 --- rework for the whitespace and tab warning if using git apply to apply patch A generic filter mechanism for handling special packet is required. It will allow filters to be

[dpdk-dev] [PATCH v3 1/4] ethdev: add ethdev APIs for NIC filters of generic filter

2014-06-12 Thread Jingjing Wu
This patch adds APIs for NIC filters list below: ethertype filter, syn filter, 2tuple filter, flex filter, 5tuple filter Signed-off-by: jingjing.wu --- lib/librte_ether/rte_ethdev.c | 281 lib/librte_ether/rte_ethdev.h | 425

[dpdk-dev] [PATCH v3 2/4] e1000: add igb NIC filters of generic filter feature

2014-06-12 Thread Jingjing Wu
This patch adds following igb NIC filters implement: syn filter, ethertype filter, 2tuple filter, flex filter for intel NIC 82580 and i350 syn filter, ethertype filter, 5tuple filter for intel NIC 82576 Signed-off-by: jingjing.wu --- lib/librte_pmd_e1000/e1000_ethdev.h | 53 +++

[dpdk-dev] [PATCH v3 4/4] app/test-pmd: add commands in testpmd for NIC filters

2014-06-12 Thread Jingjing Wu
add commands in testpmd for NIC filters: add_ethertype_filter remove_ethertype_filter get_ethertype_filter add_2tuple_filter remove_2tuple_filter get_2tuple_filter add_5tuple_filter remove_5tuple_filter get_5tuple_filter add_syn_filter remove_syn_filter get_syn_filter add_flex_filter

[dpdk-dev] [PATCH v3 3/4] ixgbe: add ixgbe NIC filters of generic filter feature

2014-06-12 Thread Jingjing Wu
This patch adds following ixgbe NIC filters implement: syn filter, ethertype filter, 5tuple filter for intel NIC 82599 Signed-off-by: jingjing.wu --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 408 lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 34 +++ 2 files changed,

[dpdk-dev] [PATCH v4 4/4] app/test-pmd: add commands in testpmd for NIC filters

2014-06-16 Thread Jingjing Wu
add commands in testpmd for NIC filters: add_ethertype_filter remove_ethertype_filter get_ethertype_filter add_2tuple_filter remove_2tuple_filter get_2tuple_filter add_5tuple_filter remove_5tuple_filter get_5tuple_filter add_syn_filter remove_syn_filter get_syn_filter add_flex_filter

[dpdk-dev] [PATCH v4 1/4] ethdev: add ethdev APIs for NIC filters of generic filter

2014-06-16 Thread Jingjing Wu
This patch adds APIs for NIC filters list below: ethertype filter, syn filter, 2tuple filter, flex filter, 5tuple filter Signed-off-by: jingjing.wu --- lib/librte_ether/rte_ethdev.c | 275 +++ lib/librte_ether/rte_ethdev.h | 428 ++

[dpdk-dev] [PATCH v4 2/4] e1000: add igb NIC filters of generic filter feature

2014-06-16 Thread Jingjing Wu
This patch adds following igb NIC filters implement: syn filter, ethertype filter, 2tuple filter, flex filter for intel NIC 82580 and i350 syn filter, ethertype filter, 5tuple filter for intel NIC 82576 Signed-off-by: jingjing.wu --- lib/librte_pmd_e1000/e1000_ethdev.h | 53 +++

[dpdk-dev] [PATCH v4 3/4] ixgbe: add ixgbe NIC filters of generic filter feature

2014-06-16 Thread Jingjing Wu
This patch adds following ixgbe NIC filters implement: syn filter, ethertype filter, 5tuple filter for intel NIC 82599 Signed-off-by: jingjing.wu --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 440 lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 34 +++ 2 files changed,

[dpdk-dev] [PATCH 0/4][PMD][GENERIC_FILTER] ***NIC filters support of generic feature***

2014-05-20 Thread Jingjing Wu
A generic filter mechanism for handling special packet is required. It will allow filters to be set in HW when available so that specific packet may be filtered by NICs to specific descriptor queues for processing. Currently only Flow Director for Intel's 10GbE 82599 devices is available. Other

[dpdk-dev] [PATCH 2/4][PMD][GENERIC_FILTER]add igb NIC filters of generic filter feature

2014-05-20 Thread Jingjing Wu
This patch adds following igb NIC filters implement for intel NIC 82580 and i350 syn filter, ethertype filter, 2tuple filter, flex filter Signed-off-by: jingjing.wu --- lib/librte_pmd_e1000/e1000_ethdev.h | 38 +++ lib/librte_pmd_e1000/igb_ethdev.c | 512

[dpdk-dev] [PATCH 4/4][PMD][GENERIC_FILTER] add commands in testpmd for NIC filters

2014-05-20 Thread Jingjing Wu
add commands in testpmd for NIC filters: add_ethertype_filter remove_ethertype_filter get_ethertype_filter add_2tuple_filter remove_2tuple_filter get_2tuple_filter add_5tuple_filter remove_5tuple_filter get_5tuple_filter add_syn_filter remove_syn_filter get_syn_filter

[dpdk-dev] [PATCH 1/4][PMD][GENERIC_FILTER]add ethdev APIs for NIC filters of generic filter feature

2014-05-20 Thread Jingjing Wu
This patch add APIs for NIC filters list below: ethertype filter, syn filter, 2tuple filter, flex filter, 5tuple filter Signed-off-by: jingjing.wu --- lib/librte_ether/rte_ethdev.c | 300 + lib/librte_ether/rte_ethdev.h | 428

[dpdk-dev] [PATCH 3/4][PMD][GENERIC_FILTER]add ixgbe NIC filters of generic filter feature

2014-05-20 Thread Jingjing Wu
This patch adds following ixgbe NIC filters implement for intel NIC 82599 syn filter, ethertype filter, 5tuple filter Signed-off-by: jingjing.wu --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 365 lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 33 2 files changed,

[dpdk-dev] [PATCH v5 02/21] i40e: tear down flow director

2014-10-30 Thread Jingjing Wu
To support flow director tear down, this patch includes - queue 0 pair release - release vsi Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_ethdev.c | 4 +++- lib/librte_pmd_i40e/i40e_ethdev.h | 1 + lib/librte_pmd_i40e/i40e_fdir.c | 19 +++ 3 files changed, 23

[dpdk-dev] [PATCH v5 00/21] Support flow director programming on Fortville

2014-10-30 Thread Jingjing Wu
APIs definitions from this patch set - extend mbuf field to support flex bytes report - fix typos v5 changes: - redefine structure rte_eth_fdir_info - add doxygen comments about flexible payload and mbuf extend - fix typos Jingjing Wu (21): i40e: set up and initialize flow director i40e

[dpdk-dev] [PATCH v5 05/21] i40e: implement operations to add/delete flow director

2014-10-30 Thread Jingjing Wu
Deal with two operations for flow director - RTE_ETH_FILTER_ADD - RTE_ETH_FILTER_DELETE Encode the flow inputs to programming packet. Sent the packet to filter programming queue and check status on the status report queue. Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_ethdev.c | 3

  1   2   3   4   5   6   >