[dpdk-dev] [PATCH] net/ice: modify packet type table

2019-10-24 Thread Ying Wang
The original packet type table's hw-ptype index to sw-ptype mapping is wrong. This patch fixed the issue. Fixes: ab9dccf09af9 ("net/ice: support packet type getting") Cc: sta...@dpdk.org Signed-off-by: Ying Wang --- drivers/net/ice/i

[dpdk-dev] [PATCH] net/ice: fix rte flow framework

2019-10-28 Thread Ying Wang
In non-pipeline mode, switch should be used as fdir's backup. The patch fiexed rule can't be created when fdir's flow table is full. Fixes: 7615a6895009 ("net/ice: rework for generic flow enabling") Signed-off-by: Ying Wang --- drivers/net/ic

[dpdk-dev] [PATCH] net/ice: fix flow director

2019-10-29 Thread Ying Wang
Flow director rule can't be created when the flow table is nearly full. The patch fixed this issue to enable created flows reaching the maximum number. Fixes: 1a2fc1799f09 ("net/ice: reject duplicated flow for flow director") Signed-off-by: Ying Wang --- drivers/net/ice/ice_fd

[dpdk-dev] [PATCH v4 0/5] rework for ice generic flow framework and switch filter

2019-10-14 Thread Ying Wang
patch 1/5 minor code clean patch 2/5 adds devargs to control pipeline mode patch 3/5 rework for ice generic flow framework patch 4/5 add rte_flow pattern list patch 5/5 rework switch filter on new framework Qiming Yang (1): net/ice: add devargs to control pipeline mode Ying Wang (3): net/ice

[dpdk-dev] [PATCH v4 3/5] net/ice: rework for generic flow enabling

2019-10-14 Thread Ying Wang
patch also removes the existing switch filter implementation to avoid compile error. Switch filter implementation for the new framework will be added in the following patch. Signed-off-by: Ying Wang Acked-by: Qi Zhang --- drivers/net/ice/ice_ethdev.c| 20 +- drivers/net/ice/ice_ethdev.h

[dpdk-dev] [PATCH v4 1/5] net/ice: minor code clean

2019-10-14 Thread Ying Wang
The patch removes redundant code and cleans up some wrong indentations. Signed-off-by: Ying Wang Acked-by: Qi Zhang --- drivers/net/ice/ice_generic_flow.c | 39 +++--- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/drivers/net/ice

[dpdk-dev] [PATCH v4 5/5] net/ice: rework switch filter

2019-10-14 Thread Ying Wang
From: wei zhao The patch reworks packet process engine's binary classifier (switch) for the new framework. It also adds support for new packet type like PPPoE for switch filter. Signed-off-by: Wei Zhao Acked-by: Qi Zhang --- doc/guides/rel_notes/release_19_11.rst |1 + drivers/net/ice/ice

[dpdk-dev] [PATCH v4 2/5] net/ice: add devargs to control pipeline mode

2019-10-14 Thread Ying Wang
From: Qiming Yang Added a devarg to control the mode in generic flow API. We use none-pipeline mode by default. Signed-off-by: Qiming Yang Acked-by: Qi Zhang --- doc/guides/nics/ice.rst| 19 +++ doc/guides/rel_notes/release_19_11.rst | 2 ++ drivers/net/ice/ic

[dpdk-dev] [PATCH v4 4/5] net/ice: add pattern manifest

2019-10-14 Thread Ying Wang
The patch adds a manifest for all patterns which can be selected by low level filter engine to compose their supported list. Signed-off-by: Ying Wang Acked-by: Qi Zhang --- drivers/net/ice/ice_generic_flow.c | 1287 drivers/net/ice/ice_generic_flow.h | 201

[dpdk-dev] [PATCH v5 0/5] rework for ice generic flow framework and switch filter

2019-10-16 Thread Ying Wang
patch 1/5 minor code clean patch 2/5 adds devargs to control pipeline mode patch 3/5 rework for ice generic flow framework patch 4/5 add rte_flow pattern list patch 5/5 rework switch filter on new framework Qiming Yang (1): net/ice: add devargs to control pipeline mode Ying Wang (3): net/ice

[dpdk-dev] [PATCH v5 2/5] net/ice: add devargs to control pipeline mode

2019-10-16 Thread Ying Wang
From: Qiming Yang Added a devarg to control the mode in generic flow API. We use none-pipeline mode by default. Signed-off-by: Qiming Yang Acked-by: Qi Zhang --- doc/guides/nics/ice.rst| 19 +++ doc/guides/rel_notes/release_19_11.rst | 2 ++ drivers/net/ice/ic

[dpdk-dev] [PATCH v5 1/5] net/ice: minor code clean

2019-10-16 Thread Ying Wang
The patch removes redundant code and cleans up some wrong indentations. Signed-off-by: Ying Wang Acked-by: Qi Zhang --- drivers/net/ice/ice_generic_flow.c | 39 +++--- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/drivers/net/ice

[dpdk-dev] [PATCH v5 5/5] net/ice: rework switch filter

2019-10-16 Thread Ying Wang
From: wei zhao The patch reworks packet process engine's binary classifier (switch) for the new framework. It also adds support for new packet type like PPPoE for switch filter. Signed-off-by: Wei Zhao Acked-by: Qi Zhang --- doc/guides/rel_notes/release_19_11.rst |1 + drivers/net/ice/ice

[dpdk-dev] [PATCH v5 4/5] net/ice: add pattern manifest

2019-10-16 Thread Ying Wang
The patch adds a manifest for all patterns which can be selected by low level filter engine to compose their supported list. Signed-off-by: Ying Wang Acked-by: Qi Zhang --- drivers/net/ice/ice_generic_flow.c | 1287 drivers/net/ice/ice_generic_flow.h | 201

[dpdk-dev] [PATCH v5 3/5] net/ice: rework for generic flow enabling

2019-10-16 Thread Ying Wang
patch also removes the existing switch filter implementation to avoid compile error. Switch filter implementation for the new framework will be added in the following patch. Signed-off-by: Ying Wang Acked-by: Qi Zhang --- drivers/net/ice/ice_ethdev.c| 20 +- drivers/net/ice/ice_ethdev.h

[dpdk-dev] [PATCH v2] net/ice: cleanup RSS/FDIR profile when device init

2019-10-17 Thread Ying Wang
When app restart, RSS/FDIR profile ID will increase which may run out of all the profile resources. The patch cleanup RSS/FDIR profile resources when device init to fix this issue. Fixes: d7d150b93070 ("net/ice: enable RSS when device init") Cc: sta...@dpdk.org Signed-off-by:

[dpdk-dev] [PATCH 0/4] rework for ice generic flow framework and switch filter

2019-09-03 Thread Ying Wang
: support device-specific DDP package loading (2) http://patches.dpdk.org/patch/58102/ [v4,1/2] ethdev: add GTP extension header to flow API (3) http://patches.dpdk.org/patch/58103/ [v4,2/2] ethdev: add PPPoE to flow API Qiming Yang (1): net/ice: add devargs to control pipeline mode Ying

[dpdk-dev] [PATCH 1/4] net/ice: add devargs to control pipeline mode

2019-09-03 Thread Ying Wang
From: Qiming Yang Added a devarg to control the mode in generic flow API. We use none-pipeline mode by default. Signed-off-by: Qiming Yang --- doc/guides/nics/ice.rst | 11 +++ drivers/net/ice/ice_ethdev.c | 16 +++- drivers/net/ice/ice_ethdev.h | 1 + 3 files changed

[dpdk-dev] [PATCH 4/4] net/ice: rework switch filter

2019-09-03 Thread Ying Wang
From: wei zhao The patch reworks packet process engine's binary classifier (switch) for the new framework. Signed-off-by: Wei Zhao --- drivers/net/ice/ice_switch_filter.c | 1292 +++ drivers/net/ice/ice_switch_filter.h |6 - 2 files changed, 1292 insertions(

[dpdk-dev] [PATCH 3/4] net/ice: add pattern manifest

2019-09-03 Thread Ying Wang
The patch adds a manifest for all patterns which can be selected by low level filter engine to compose their supported list. Signed-off-by: Ying Wang --- drivers/net/ice/ice_generic_flow.c | 1287 drivers/net/ice/ice_generic_flow.h | 200 ++ 2 files

[dpdk-dev] [PATCH 2/4] net/ice: rework for generic flow enabling

2019-09-03 Thread Ying Wang
patch also removes the existing switch filter implementation to avoid compile error. Switch filter implementation for the new framework will be added in the following patch. Signed-off-by: Ying Wang --- drivers/net/ice/ice_ethdev.c| 22 +- drivers/net/ice/ice_ethdev.h| 15

[dpdk-dev] [PATCH v2 0/5] rework for ice generic flow framework and switch filter

2019-09-17 Thread Ying Wang
control pipeline mode Ying Wang (3): net/ice: minor code clean net/ice: rework for generic flow enabling net/ice: add pattern manifest wei zhao (1): net/ice: rework switch filter --- v2: modify codes according to the comments; update doc and release note; add a separate code

[dpdk-dev] [PATCH v2 3/5] net/ice: rework for generic flow enabling

2019-09-17 Thread Ying Wang
patch also removes the existing switch filter implementation to avoid compile error. Switch filter implementation for the new framework will be added in the following patch. Signed-off-by: Ying Wang --- drivers/net/ice/ice_ethdev.c| 21 +- drivers/net/ice/ice_ethdev.h| 15

[dpdk-dev] [PATCH v2 1/5] net/ice: minor code clean

2019-09-17 Thread Ying Wang
The patch removes redundant code and cleans up some wrong indentations. Signed-off-by: Ying Wang --- drivers/net/ice/ice_generic_flow.c | 39 +++--- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/drivers/net/ice/ice_generic_flow.c b/drivers/net

[dpdk-dev] [PATCH v2 5/5] net/ice: rework switch filter

2019-09-17 Thread Ying Wang
From: wei zhao The patch reworks packet process engine's binary classifier (switch) for the new framework. It also adds support for new packet type like PPPoE for switch filter. Signed-off-by: Wei Zhao --- doc/guides/rel_notes/release_19_11.rst |1 + drivers/net/ice/ice_switch_filter.c

[dpdk-dev] [PATCH v2 2/5] net/ice: add devargs to control pipeline mode

2019-09-17 Thread Ying Wang
From: Qiming Yang Added a devarg to control the mode in generic flow API. We use none-pipeline mode by default. Signed-off-by: Qiming Yang --- doc/guides/nics/ice.rst| 19 +++ doc/guides/rel_notes/release_19_11.rst | 2 ++ drivers/net/ice/ice_ethdev.c

[dpdk-dev] [PATCH v2 4/5] net/ice: add pattern manifest

2019-09-17 Thread Ying Wang
The patch adds a manifest for all patterns which can be selected by low level filter engine to compose their supported list. Signed-off-by: Ying Wang --- drivers/net/ice/ice_generic_flow.c | 1287 drivers/net/ice/ice_generic_flow.h | 200 ++ 2 files

[dpdk-dev] [PATCH v3 0/5] rework for ice generic flow framework and switch filter

2019-09-26 Thread Ying Wang
/patch/58102/ [v4,1/2] ethdev: add GTP extension header to flow API (2) http://patches.dpdk.org/patch/58103/ [v4,2/2] ethdev: add PPPoE to flow API Qiming Yang (1): net/ice: add devargs to control pipeline mode Ying Wang (3): net/ice: minor code clean net/ice: rework for generic flow

[dpdk-dev] [PATCH v3 1/5] net/ice: minor code clean

2019-09-26 Thread Ying Wang
The patch removes redundant code and cleans up some wrong indentations. Signed-off-by: Ying Wang --- drivers/net/ice/ice_generic_flow.c | 39 +++--- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/drivers/net/ice/ice_generic_flow.c b/drivers/net

[dpdk-dev] [PATCH v3 3/5] net/ice: rework for generic flow enabling

2019-09-26 Thread Ying Wang
patch also removes the existing switch filter implementation to avoid compile error. Switch filter implementation for the new framework will be added in the following patch. Signed-off-by: Ying Wang --- drivers/net/ice/ice_ethdev.c| 21 +- drivers/net/ice/ice_ethdev.h| 15

[dpdk-dev] [PATCH v3 4/5] net/ice: add pattern manifest

2019-09-26 Thread Ying Wang
The patch adds a manifest for all patterns which can be selected by low level filter engine to compose their supported list. Signed-off-by: Ying Wang --- drivers/net/ice/ice_generic_flow.c | 1287 drivers/net/ice/ice_generic_flow.h | 201 ++ 2 files

[dpdk-dev] [PATCH v3 2/5] net/ice: add devargs to control pipeline mode

2019-09-26 Thread Ying Wang
From: Qiming Yang Added a devarg to control the mode in generic flow API. We use none-pipeline mode by default. Signed-off-by: Qiming Yang --- doc/guides/nics/ice.rst| 19 +++ doc/guides/rel_notes/release_19_11.rst | 2 ++ drivers/net/ice/ice_ethdev.c

[dpdk-dev] [PATCH v3 5/5] net/ice: rework switch filter

2019-09-26 Thread Ying Wang
From: wei zhao The patch reworks packet process engine's binary classifier (switch) for the new framework. It also adds support for new packet type like PPPoE for switch filter. Signed-off-by: Wei Zhao --- doc/guides/rel_notes/release_19_11.rst |1 + drivers/net/ice/ice_switch_filter.c

[dpdk-dev] [PATCH] net/ice: cleanup RSS/FDIR profile when device init

2019-09-27 Thread Ying Wang
The patch cleanup RSS/FDIR profile resources when device init to fix profile ID increase issue. Fixes: d7d150b93070 ("net/ice: enable RSS when device init") Cc: sta...@dpdk.org Signed-off-by: Ying Wang --- --- This patch depends on the following patches in patchwork