[dpdk-dev] [RFC] net/i40e: change the timing of FDIR input set configuration

2020-11-10 Thread Chenxu Di
The configuration of FDIR input set should not be set during flow validate. It should be set when flow create. Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.h | 1 + drivers/net/i40e/i40e_fdir.c | 89 +++ drivers/net/i40e/i40e_flow.c | 95

[dpdk-dev] [PATCH v4] net/i40e: fix incorrect FDIR flex configuration

2020-11-09 Thread Chenxu Di
The configuration of FDIR flex mask and flex pit should not be set during flow validate. It should be set when flow create. Fixes: 6ced3dd72f5f ("net/i40e: support flexible payload parsing for FDIR") Cc: sta...@dpdk.org Signed-off-by: Chenxu Di Tested-by: Zhou, Jun Acked-by: Jeff G

[dpdk-dev] [PATCH v3] net/i40e: fix incorrect FDIR flex configuration

2020-11-09 Thread Chenxu Di
The configuration of FDIR flex mask and flex pit should not be set during flow validate. It should be set when flow create. Fixes: 6ced3dd72f5f ("net/i40e: support flexible payload parsing for FDIR") Cc: sta...@dpdk.org Signed-off-by: Chenxu Di Tested-by: Zhou, Jun --- v3: -rebased

[dpdk-dev] [PATCH v2] net/i40e: fix incorrect FDIR flex configuration

2020-11-05 Thread Chenxu Di
The configuration of FDIR flex mask and flex pit should not be set during flow validate. It should be set when flow create. Fixes: 6ced3dd72f5f ("net/i40e: support flexible payload parsing for FDIR") Cc: sta...@dpdk.org Signed-off-by: Chenxu Di --- v2: -Merge two patches into

[dpdk-dev] [PATCH 2/2] net/i40e: fix incorrect FDIR flex pit

2020-11-04 Thread Chenxu Di
The register of FDIR flex pit should not be set during flow validate. It should be set when flow create. Fixes: 6ced3dd72f5f ("net/i40e: support flexible payload parsing for FDIR") Cc: sta...@dpdk.org Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.h | 21 --- driver

[dpdk-dev] [PATCH 1/2] net/i40e: fix incorrect FDIR flex mask

2020-11-04 Thread Chenxu Di
The register of FDIR flex mask should not be set during flow validate. It should be set when flow create. Fixes: 6ced3dd72f5f ("net/i40e: support flexible payload parsing for FDIR") Cc: sta...@dpdk.org Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.h | 1 + driver

[dpdk-dev] [PATCH 0/2] net/i40e: fix incorrect FDIR flex configuration

2020-11-04 Thread Chenxu Di
The configuration of FDIR flex mask and flex pit should not be set during flow validate. It should be set when flow create. Chenxu Di (2): net/i40e: fix incorrect FDIR flex mask net/i40e: fix incorrect FDIR flex pit drivers/net/i40e/i40e_ethdev.h | 22 ++-- drivers/net/i40e/i40e_fdir.c

[dpdk-dev] [RFC 2/2] net/i40e: add IP-in-GRE flow parsing

2020-10-20 Thread Chenxu Di
This patch adds IP in GRE flow parsing function to support IP in GRE classification. Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_flow.c | 237 +++ 1 file changed, 237 insertions(+) diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c

[dpdk-dev] [RFC 1/2] net/i40e: add VXLAN-GPE flow parsing

2020-10-20 Thread Chenxu Di
From: Junyu Jiang This patch adds VXLAN-GPE flow parsing function to support VXLAN-GPE classification. Signed-off-by: Junyu Jiang --- drivers/net/i40e/i40e_ethdev.c | 14 +- drivers/net/i40e/i40e_ethdev.h | 5 + drivers/net/i40e/i40e_flow.c | 375 + 3 files

[dpdk-dev] [RFC 0/2] net/i40e: add VXLAN-GPE and IP-in-GRE flow parsing

2020-10-20 Thread Chenxu Di
The patches add VXLAN-GPE and IP-in-GRE flow parsing function to support VXLAN-GPE and IP-in-GRE classifications. Chenxu Di (1): net/i40e: add IP-in-GRE flow parsing Junyu Jiang (1): net/i40e: add VXLAN-GPE flow parsing drivers/net/i40e/i40e_ethdev.c | 14 +- drivers/net/i40e

[dpdk-dev] [RFC 5/5] app/testpmd: add support for ixgbe FDIR configuration

2020-09-29 Thread Chenxu Di
As annouced in deprecation.rst, the "rte_eth_conf.fdir_conf" field will be removed, but IXGBE generic flow still needs to depend on these configurations. This patch adds setting FDIR configuration for IXGBE PMD by calling private API. Signed-off-by: Chenxu Di --- app/test-pmd/paramet

[dpdk-dev] [RFC 1/5] net/i40e: decouple dependency from superseded structures

2020-09-29 Thread Chenxu Di
From: Junyu Jiang The legacy filter API will be removed, the associated rte_eth_ctrl.h will also be removed. This patch replaces these superseded structures by the PMD internal structures. The macros RTE_ETH_FILTER_GENERIC and RTE_ETH_FILTER_GET are not replaced, they are needed to follow librte

[dpdk-dev] [RFC 2/5] net/igc: decouple dependency from superseded structures

2020-09-29 Thread Chenxu Di
From: Junyu Jiang The legacy filter API will be removed, the associated rte_eth_ctrl.h will also be removed. This patch replaces these superseded structures by the PMD internal structures. Signed-off-by: Junyu Jiang --- drivers/net/igc/igc_filter.c | 2 +- drivers/net/igc/igc_filter.h | 2 ++

[dpdk-dev] [RFC 4/5] net/ixgbe: decouple dependency from superseded structures

2020-09-29 Thread Chenxu Di
"rte_eth_conf.fdir_conf" field will also be removed, but IXGBE generic flow still needs to depend on these configurations. So this patch also defines a private API to passthrough user's configurations. Signed-off-by: Chenxu Di --- drivers/net/ixgbe/ixgbe_ethdev.c| 79 +++--

[dpdk-dev] [RFC 3/5] net/e1000: decouple dependency from superseded structures

2020-09-29 Thread Chenxu Di
-off-by: Chenxu Di --- drivers/net/e1000/e1000_ethdev.h | 113 -- drivers/net/e1000/igb_ethdev.c | 80 ++--- drivers/net/e1000/igb_flow.c | 199 --- 3 files changed, 245 insertions(+), 147 deletions(-) diff --git a/drivers/net/e1000

[dpdk-dev] [RFC 0/5] decouple dependency from superseded structures

2020-09-29 Thread Chenxu Di
will be removed but IXGBE PMD still needs to depend on it. So a fdir_conf private api is defined to instead it. Chenxu Di (3): net/e1000: decouple dependency from superseded structures net/ixgbe: decouple dependency from superseded structures app/testpmd: add support for ixgbe FDIR configura

[dpdk-dev] [PATCH v2] net/dpaa2: fix build error about timesync functions

2020-09-17 Thread Chenxu Di
dk_conf. Fixes: 184c39d16568 ("net/dpaa2: add DPRTC sub-module") Cc: sta...@dpdk.org Signed-off-by: Chenxu Di --- drivers/net/dpaa2/meson.build | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build index 6dd0eb274..43d625dc5 10064

[dpdk-dev] [PATCH] net/dpaa2: fix build error about timesync functions

2020-09-14 Thread Chenxu Di
dk_conf. Fixes: 184c39d16568 ("net/dpaa2: add DPRTC sub-module") Cc: sta...@dpdk.org Signed-off-by: Chenxu Di --- drivers/net/dpaa2/meson.build | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build index 6dd0eb274..d9aadfdae 10064

[dpdk-dev] [PATCH v2] app/testpmd: fix incorrect output format in flow query

2020-07-13 Thread Chenxu Di
This patch fix the error line break in the output format of flow query Fixes: bdb1d61690f7 ("app/testpmd: support RSS config in flow query") Signed-off-by: Chenxu Di --- app/test-pmd/config.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/test-pmd/conf

[dpdk-dev] [PATCH] app/testpmd: fix display issue in flow query

2020-07-12 Thread Chenxu Di
This patch fix the error line break in the display info of flow query Fixes: bdb1d61690f7 ("app/testpmd: support RSS config in flow query") Signed-off-by: Chenxu Di --- app/test-pmd/config.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/conf

[dpdk-dev] [PATCH v4 4/5] net/i40e: enable flow query RSS

2020-07-07 Thread Chenxu Di
This patch enables flow query function to get the configuration of the specified rule. Signed-off-by: Chenxu Di Acked-by: Jeff Guo --- doc/guides/rel_notes/release_20_08.rst | 1 + drivers/net/i40e/i40e_flow.c | 49 ++ 2 files changed, 50 insertions(+) diff

[dpdk-dev] [PATCH v4 3/5] app/testpmd: re-implement commands by using private API

2020-07-07 Thread Chenxu Di
The legacy filter API will be superseded. This patch use private api to change the implementation of commands global_config gre-key-len and show port fdir Signed-off-by: Chenxu Di --- app/test-pmd/cmdline.c | 4 +++ app/test-pmd/config.c | 57 ++ 2

[dpdk-dev] [PATCH v4 5/5] app/testpmd: support query RSS config in flow query

2020-07-07 Thread Chenxu Di
func symmetric_toeplitz / end" and then query it "flow query 0 0 rss" the log will be follow RSS: queues: none function: symmetric_toeplitz types: ipv4-tcp l3-src-only l4-dst-only Signed-off-by: Chenxu Di --- app/test-pmd/config.c | 55 +++

[dpdk-dev] [PATCH v4 2/5] net/ixgbe: add private APIs

2020-07-07 Thread Chenxu Di
The legacy filter API will be superseded by rte_flow. There are also several small features which can not be implemented in rte_flow. This patch re-implemented these features as private API. Two APIs are added: rte_pmd_ixgbe_get_fdir_info. rte_pmd_ixgbe_get_fdir_stats. Signed-off-by: Chenxu Di

[dpdk-dev] [PATCH v4 0/5] re-implement legacy filter functions by private API

2020-07-07 Thread Chenxu Di
code in testpmd v3: -updated the init of ret in testpmd -updated the log style v2: -fixed the __rte_experimental flag Chenxu Di (5): net/i40e: add private APIs net/ixgbe: add private APIs app/testpmd: re-implement commands by using private API net/i40e: enable flow query RSS app/testpmd

[dpdk-dev] [PATCH v4 1/5] net/i40e: add private APIs

2020-07-07 Thread Chenxu Di
. Signed-off-by: Chenxu Di Acked-by: Jeff Guo --- doc/guides/rel_notes/release_20_08.rst| 7 drivers/net/i40e/i40e_ethdev.c| 2 +- drivers/net/i40e/i40e_ethdev.h| 5 +++ drivers/net/i40e/i40e_fdir.c | 4 +- drivers/net/i40e/rte_pmd_i40e.c

[dpdk-dev] [PATCH v3 4/5] net/i40e: enable flow query RSS

2020-07-01 Thread Chenxu Di
This patch enables flow query function to get the configuration of the specified rule. Signed-off-by: Chenxu Di --- doc/guides/rel_notes/release_20_08.rst | 1 + drivers/net/i40e/i40e_flow.c | 49 ++ 2 files changed, 50 insertions(+) diff --git a/doc/guides

[dpdk-dev] [PATCH v3 5/5] app/testpmd: support query RSS config in flow query

2020-07-01 Thread Chenxu Di
func symmetric_toeplitz / end" and then query it "flow query 0 0 rss" the log will be follow RSS: queues: none function: symmetric_toeplitz types: ipv4-tcp l3-src-only l4-dst-only Signed-off-by: Chenxu Di --- app/test-pmd/config.c | 55 +++

[dpdk-dev] [PATCH v3 1/5] net/i40e: add private APIs

2020-07-01 Thread Chenxu Di
. Signed-off-by: Chenxu Di --- doc/guides/rel_notes/release_20_08.rst| 7 drivers/net/i40e/i40e_ethdev.c| 2 +- drivers/net/i40e/i40e_ethdev.h| 5 +++ drivers/net/i40e/i40e_fdir.c | 4 +- drivers/net/i40e/rte_pmd_i40e.c | 51

[dpdk-dev] [PATCH v3 2/5] net/ixgbe: add private APIs

2020-07-01 Thread Chenxu Di
The legacy filter API will be superseded by rte_flow. There are also several small features which can not be implemented in rte_flow. This patch re-implemented these features as private API. Two APIs are added: rte_pmd_ixgbe_get_fdir_info. rte_pmd_ixgbe_get_fdir_stats. Signed-off-by: Chenxu Di

[dpdk-dev] [PATCH v3 3/5] app/testpmd: re-implement commands by using private API

2020-07-01 Thread Chenxu Di
The legacy filter API will be superseded. This patch use private api to change the implementation of commands global_config gre-key-len and show port fdir Signed-off-by: Chenxu Di --- app/test-pmd/cmdline.c | 6 app/test-pmd/config.c | 65 +++--- 2

[dpdk-dev] [PATCH v3 0/5] re-implement legacy filter functions by private API

2020-07-01 Thread Chenxu Di
the init of ret in testpmd -updated the log style -added sample in commit log v2: -fixed the __rte_experimental flag Chenxu Di (5): net/i40e: add private APIs net/ixgbe: add private APIs app/testpmd: re-implement commands by using private API net/i40e: enable flow query RSS app/testpmd

[dpdk-dev] [PATCH v2 4/5] net/i40e: enable flow query RSS

2020-06-14 Thread Chenxu Di
This patch enables flow query function to get the configuration ofthe specified rule. Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_flow.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c

[dpdk-dev] [PATCH v2 5/5] app/testpmd: support query RSS config in flow query

2020-06-14 Thread Chenxu Di
This patch support RSS action in flow query. It can display the RSS configuration of the specified rule. Signed-off-by: Chenxu Di --- app/test-pmd/config.c | 55 +++ 1 file changed, 55 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd

[dpdk-dev] [PATCH v2 2/5] net/ixgbe: add private APIs

2020-06-14 Thread Chenxu Di
The legacy filter API will be superseded by rte_flow. There are also several small features which can not be implemented in rte_flow. This patch re-implemented these features as private API. Two APIs are added: rte_pmd_ixgbe_get_fdir_info. rte_pmd_ixgbe_get_fdir_stats. Signed-off-by: Chenxu Di

[dpdk-dev] [PATCH v2 0/5] re-implement legacy filter functions by private API

2020-06-14 Thread Chenxu Di
__rte_experimental flag Chenxu Di (5): net/i40e: add private APIs net/ixgbe: add private APIs app/testpmd: re-implement commands by using private API net/i40e: enable flow query RSS app/testpmd: support query RSS config in flow query app/test-pmd/cmdline.c | 23

[dpdk-dev] [PATCH v2 1/5] net/i40e: add private APIs

2020-06-14 Thread Chenxu Di
. Signed-off-by: Chenxu Di --- doc/guides/rel_notes/release_20_08.rst| 14 +++ drivers/net/i40e/i40e_ethdev.c| 2 +- drivers/net/i40e/i40e_ethdev.h| 5 +++ drivers/net/i40e/i40e_fdir.c | 4 +- drivers/net/i40e/rte_pmd_i40e.c | 51

[dpdk-dev] [PATCH v2 3/5] app/testpmd: re-implement commands by using private API

2020-06-14 Thread Chenxu Di
The legacy filter API will be superseded. This patch use private api to change the implementation of commands global_config gre-key-len and show port fdir Signed-off-by: Chenxu Di --- app/test-pmd/cmdline.c | 23 - app/test-pmd/config.c | 74

[dpdk-dev] [PATCH 5/5] app/testpmd: support query RSS config in flow query

2020-06-10 Thread Chenxu Di
This patch support RSS action in flow query. It can display the RSS configuration of the specified rule. Signed-off-by: Chenxu Di --- app/test-pmd/config.c | 55 +++ 1 file changed, 55 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd

[dpdk-dev] [PATCH 2/5] net/ixgbe: add private APIs

2020-06-10 Thread Chenxu Di
The legacy filter API will be superseded by rte_flow. There are also several small features which can not be implemented in rte_flow. This patch re-implemented these features as private API. Two APIs are added: rte_pmd_ixgbe_get_fdir_info. rte_pmd_ixgbe_get_fdir_stats. Signed-off-by: Chenxu Di

[dpdk-dev] [PATCH 0/5] re-implement legacy filter functions by private API

2020-06-10 Thread Chenxu Di
The legacy filter API will be superseded by rte_flow. There are also several small features which can not be implemented in rte_flow. This patch re-implemented features get_fdir_info, get_fdir_stat and set_gre_key_len as private API. This patch also enable RSS action in flow query. Chenxu Di (5

[dpdk-dev] [PATCH 4/5] net/i40e: enable flow query RSS

2020-06-10 Thread Chenxu Di
This patch enables flow query function to get the configuration ofthe specified rule. Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_flow.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c

[dpdk-dev] [PATCH 3/5] app/testpmd: re-implement commands by using private API

2020-06-10 Thread Chenxu Di
The legacy filter API will be superseded. This patch use private api to change the implementation of commands global_config gre-key-len and show port fdir Signed-off-by: Chenxu Di --- app/test-pmd/cmdline.c | 23 - app/test-pmd/config.c | 74

[dpdk-dev] [PATCH 1/5] net/i40e: add private APIs

2020-06-10 Thread Chenxu Di
. Signed-off-by: Chenxu Di --- doc/guides/rel_notes/release_20_08.rst| 14 +++ drivers/net/i40e/i40e_ethdev.c| 2 +- drivers/net/i40e/i40e_ethdev.h| 5 +++ drivers/net/i40e/i40e_fdir.c | 4 +- drivers/net/i40e/rte_pmd_i40e.c | 51

[dpdk-dev] [PATCH v4] net/i40e: fix out of bounds read issue

2020-05-14 Thread Chenxu Di
This patch fixes (out-of-bounds read) coverity issue. Coverity issue: 357699 Coverity issue: 357694 Fixes: feaae285b342 ("net/i40e: support hash configuration in RSS flow") Signed-off-by: Chenxu Di --- v4: -Updated the return value. --- drivers/net/i40e/i40e_ethdev.c | 6 ++ 1 fi

[dpdk-dev] [PATCH v3] net/i40e: fix out of bounds read issue

2020-05-12 Thread Chenxu Di
This patch fixes (out-of-bounds read) coverity issue. Coverity issue: 357699 Coverity issue: 357694 Fixes: feaae285b342 ("net/i40e: support hash configuration in RSS flow") Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c | 6 ++ 1 file changed, 6 insertions(+) di

[dpdk-dev] [PATCH v2] net/i40e: fix out of bounds read issue

2020-05-07 Thread Chenxu Di
This patch fixes (out-of-bounds read) coverity issue. Coverity issue: 357699 Coverity issue: 357694 Fixes: feaae285b342 ("net/i40e: support hash configuration in RSS flow") Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c | 6 ++ 1 file changed, 6 insertions(+) di

[dpdk-dev] [PATCH] net/i40e: fix out of bounds read issue

2020-05-06 Thread Chenxu Di
This patch fixes (out-of-bounds read) coverity issue. Coverity issue: 357699 Coverity issue: 357694 Fixes: feaae285b342 ("net/i40e: support hash configuration in RSS flow") Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[dpdk-dev] [PATCH v9] net/i40e: enable hash configuration in RSS flow

2020-04-15 Thread Chenxu Di
This patch supports: - Symmetric hash configuration - Hash input set configuration Signed-off-by: Chenxu Di --- v9: -Updated code about enable hash. --- doc/guides/nics/i40e.rst | 37 ++ doc/guides/rel_notes/release_20_05.rst | 2 + drivers/net/i40e/i40e_ethdev.c | 528

[dpdk-dev] [PATCH v8] net/i40e: enable advanced RSS

2020-04-13 Thread Chenxu Di
This patch supports: - symmetric hash configuration - Input set configuration Signed-off-by: Chenxu Di --- doc/guides/nics/i40e.rst | 35 ++ doc/guides/rel_notes/release_20_05.rst | 7 + drivers/net/i40e/i40e_ethdev.c | 509 ++--- drivers/net/i40e

[dpdk-dev] [PATCH v7] net/i40e: enable advanced RSS

2020-04-12 Thread Chenxu Di
This patch supports: - symmetric hash by rte_flow RSS action. - input set change by rte_flow RSS action. Signed-off-by: Chenxu Di --- v7: -Updated code about symmetric hash function --- doc/guides/nics/i40e.rst | 35 ++ doc/guides/rel_notes/release_20_05.rst | 7 + drivers/net

[dpdk-dev] [PATCH v6] net/i40e: implement hash function in rte flow API

2020-03-30 Thread Chenxu Di
implement set hash global configurations, set symmetric hash enable and set hash input set in rte flow API. Signed-off-by: Chenxu Di --- v6: -Modified the docs and various name. v5: -Modified the doc i40e.rst and various name. v4: -added check for l3 pctype with l4 input set. v3: -modified the

[dpdk-dev] [PATCH v5] net/i40e: implement hash function in rte flow API

2020-03-24 Thread Chenxu Di
implement set hash global configurations, set symmetric hash enable and set hash input set in rte flow API. Signed-off-by: Chenxu Di --- v5: -Modified the doc i40e.rst and various name. v4: -added check for l3 pctype with l4 input set. v3: -modified the doc i40e.rst v2: -canceled remove legacy

[dpdk-dev] [PATCH v4] net/i40e: implement hash function in rte flow API

2020-03-23 Thread Chenxu Di
implement set hash global configurations, set symmetric hash enable and set hash input set in rte flow API. Signed-off-by: Chenxu Di --- v4: -added check for l3 pctype with l4 input set. v3: -modified the doc i40e.rst v2: -canceled remove legacy filter functions. --- doc/guides/nics/i40e.rst

[dpdk-dev] [PATCH v3] net/i40e: implement hash function in rte flow API

2020-03-19 Thread Chenxu Di
implement set hash global configurations, set symmetric hash enable and set hash input set in rte flow API. Signed-off-by: Chenxu Di --- v3: -modified the doc i40e.rst v2: -canceled remove legacy filter functions. --- doc/guides/nics/i40e.rst | 14 + doc/guides/rel_notes

[dpdk-dev] [PATCH v2] net/i40e: implement hash function in rte flow API

2020-03-18 Thread Chenxu Di
implement set hash global configurations, set symmetric hash enable and set hash input set in rte flow API. Signed-off-by: Chenxu Di --- v2: -canceled remove legacy filter functions. --- doc/guides/nics/i40e.rst | 14 + doc/guides/rel_notes/release_20_05.rst | 6 + drivers/net

[dpdk-dev] [PATCH 4/4] net/i40e: implement hash function in rte flow API

2020-03-17 Thread Chenxu Di
implement set hash global configurations, set symmetric hash enable and set hash input set in rte flow API. Signed-off-by: Chenxu Di --- doc/guides/nics/i40e.rst | 14 + drivers/net/i40e/i40e_ethdev.c | 451 ++--- drivers/net/i40e/i40e_ethdev.h | 18

[dpdk-dev] [PATCH 1/4] net/e1000: remove the legacy filter functions

2020-03-17 Thread Chenxu Di
remove the legacy filter functions in Intel igb driver. Signed-off-by: Chenxu Di --- doc/guides/rel_notes/release_20_05.rst | 9 +++ drivers/net/e1000/igb_ethdev.c | 36 -- 2 files changed, 9 insertions(+), 36 deletions(-) diff --git a/doc/guides/rel_notes

[dpdk-dev] [PATCH 3/4] net/i40e: remove the legacy filter functions

2020-03-17 Thread Chenxu Di
remove the legacy filter functions in Intel i40e driver Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c | 454 - drivers/net/i40e/i40e_ethdev.h | 8 - drivers/net/i40e/i40e_fdir.c | 393 3 files changed, 855 deletions

[dpdk-dev] [PATCH 0/4] drivers/net: remove legacy filter API and switch to rte flow

2020-03-17 Thread Chenxu Di
remove legacy filter functions already implemented in rte_flow for drivers igb, ixgbe, and i40e. implement hash function include set hash function and set hash input set in rte_flow for driver i40e. Chenxu Di (4): net/e1000: remove the legacy filter functions net/ixgbe: remove the legacy

[dpdk-dev] [PATCH 2/4] net/ixgbe: remove the legacy filter functions

2020-03-17 Thread Chenxu Di
remove the legacy filter functions in Intel ixgbe driver Signed-off-by: Chenxu Di --- drivers/net/ixgbe/ixgbe_ethdev.c | 78 drivers/net/ixgbe/ixgbe_fdir.c | 11 - 2 files changed, 89 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers

[dpdk-dev] [PATCH v9 4/4] net/e1000: cleanup Tx buffers

2020-01-13 Thread Chenxu Di
Add support to the igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/e1000/igb_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index

[dpdk-dev] [PATCH v9 3/4] net/ixgbe: cleanup Tx buffers

2020-01-13 Thread Chenxu Di
Add support to the ixgbe driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ixgbe/ixgbe_ethdev.c | 2 + drivers/net/ixgbe/ixgbe_rxtx.c | 109 +++ drivers/net/ixgbe/ixgbe_rxtx.h | 2

[dpdk-dev] [PATCH v9 2/4] net/ice: cleanup Tx buffers

2020-01-13 Thread Chenxu Di
Add support to the ice driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ice/ice_ethdev.c | 1 + drivers/net/ice/ice_rxtx.c | 111 +++ drivers/net/ice/ice_rxtx.h | 2 + 3 files

[dpdk-dev] [PATCH v9 1/4] net/i40e: cleanup Tx buffers

2020-01-13 Thread Chenxu Di
Add support to the i40e driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c| 1 + drivers/net/i40e/i40e_ethdev_vf.c | 1 + drivers/net/i40e/i40e_rxtx.c | 107

[dpdk-dev] [PATCH v9 0/4] drivers/net: cleanup Tx buffers

2020-01-13 Thread Chenxu Di
, reuse exist function. Chenxu Di (4): net/i40e: cleanup Tx buffers net/ice: cleanup Tx buffers net/ixgbe: cleanup Tx buffers net/e1000: cleanup Tx buffers drivers/net/e1000/igb_ethdev.c| 1 + drivers/net/i40e/i40e_ethdev.c| 1 + drivers/net/i40e/i40e_ethdev_vf.c | 1

[dpdk-dev] [PATCH v8 3/4] net/ixgbe: cleanup Tx buffers

2020-01-10 Thread Chenxu Di
Add support to the ixgbe driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ixgbe/ixgbe_ethdev.c| 2 + drivers/net/ixgbe/ixgbe_rxtx.c | 109 drivers/net/ixgbe/ixgbe_rxtx.h

[dpdk-dev] [PATCH v8 1/4] net/i40e: cleanup Tx buffers

2020-01-10 Thread Chenxu Di
Add support to the i40e driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c| 1 + drivers/net/i40e/i40e_ethdev_vf.c | 1 + drivers/net/i40e/i40e_rxtx.c | 109

[dpdk-dev] [PATCH v8 2/4] net/ice: cleanup Tx buffers

2020-01-10 Thread Chenxu Di
Add support to the ice driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ice/ice_ethdev.c | 1 + drivers/net/ice/ice_rxtx.c | 113 +++ drivers/net/ice/ice_rxtx.h | 5 ++ 3 files

[dpdk-dev] [PATCH v8 4/4] net/e1000: cleanup Tx buffers

2020-01-10 Thread Chenxu Di
Add support to the igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/e1000/igb_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index

[dpdk-dev] [PATCH v8 0/4] drivers/net: cleanup Tx buffers

2020-01-10 Thread Chenxu Di
Add support to the drivers inclulding i40e, ice, ixgbe and igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. --- v8: deleted function pointer by using other way. v7: changed the design of code, reuse exist function. Chenxu Di (4): net/i40e: cleanup Tx

[dpdk-dev] [PATCH v7 4/4] net/e1000: cleanup Tx buffers

2020-01-09 Thread Chenxu Di
Add support to the igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/e1000/igb_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index

[dpdk-dev] [PATCH v7 3/4] net/ixgbe: cleanup Tx buffers

2020-01-09 Thread Chenxu Di
Add support to the ixgbe driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 + drivers/net/ixgbe/ixgbe_rxtx.c | 156 ++- drivers/net/ixgbe/ixgbe_rxtx.h | 10

[dpdk-dev] [PATCH v7 2/4] net/ice: cleanup Tx buffers

2020-01-09 Thread Chenxu Di
Add support to the ice driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ice/ice_ethdev.c | 3 + drivers/net/ice/ice_rxtx.c | 155 +++ drivers/net/ice/ice_rxtx.h | 11 +++ 3 files

[dpdk-dev] [PATCH v7 1/4] net/i40e: cleanup Tx buffers

2020-01-09 Thread Chenxu Di
Add support to the i40e driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c| 3 + drivers/net/i40e/i40e_ethdev_vf.c | 3 + drivers/net/i40e/i40e_rxtx.c | 151

[dpdk-dev] [PATCH v7 0/4] drivers/net: cleanup Tx buffers

2020-01-09 Thread Chenxu Di
Add support to the drivers inclulding i40e, ice, ixgbe and igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. --- v7: changed the design of code, reuse exist function. Chenxu Di (4): net/i40e: cleanup Tx buffers net/ice: cleanup Tx buffers net/ixgbe

[dpdk-dev] [PATCH v6 2/4] net/ice: cleanup Tx buffers

2019-12-30 Thread Chenxu Di
Add support to the ice driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ice/ice_ethdev.c | 1 + drivers/net/ice/ice_rxtx.c | 118 +++ drivers/net/ice/ice_rxtx.h | 1 + 3 files

[dpdk-dev] [PATCH v6 4/4] net/e1000: cleanup Tx buffers

2019-12-30 Thread Chenxu Di
Add support to the igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/e1000/igb_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index

[dpdk-dev] [PATCH v6 3/4] net/ixgbe: cleanup Tx buffers

2019-12-30 Thread Chenxu Di
Add support to the ixgbe driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ixgbe/ixgbe_ethdev.c | 2 + drivers/net/ixgbe/ixgbe_rxtx.c | 116 +++ drivers/net/ixgbe/ixgbe_rxtx.h | 2

[dpdk-dev] [PATCH v6 0/4] drivers/net: cleanup Tx buffers

2019-12-30 Thread Chenxu Di
checkpatch warnings Reviewed-by: Xiao Zhang Chenxu Di (4): net/i40e: cleanup Tx buffers net/ice: cleanup Tx buffers net/ixgbe: cleanup Tx buffers net/e1000: cleanup Tx buffers drivers/net/e1000/igb_ethdev.c| 1 + drivers/net/i40e/i40e_ethdev.c| 1 + drivers/net/i40e

[dpdk-dev] [PATCH v6 1/4] net/i40e: cleanup Tx buffers

2019-12-30 Thread Chenxu Di
Add support to the i40e driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c| 1 + drivers/net/i40e/i40e_ethdev_vf.c | 1 + drivers/net/i40e/i40e_rxtx.c | 121

[dpdk-dev] [PATCH v5 4/4] net/e1000: cleanup Tx buffers

2019-12-26 Thread Chenxu Di
Add support to the igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/e1000/igb_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index

[dpdk-dev] [PATCH v5 3/4] net/ixgbe: cleanup Tx buffers

2019-12-26 Thread Chenxu Di
Add support to the ixgbe driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ixgbe/ixgbe_ethdev.c | 2 + drivers/net/ixgbe/ixgbe_rxtx.c | 121 +++ drivers/net/ixgbe/ixgbe_rxtx.h | 2

[dpdk-dev] [PATCH v5 2/4] net/ice: cleanup Tx buffers

2019-12-26 Thread Chenxu Di
Add support to the ice driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ice/ice_ethdev.c | 1 + drivers/net/ice/ice_rxtx.c | 123 +++ drivers/net/ice/ice_rxtx.h | 1 + 3 files

[dpdk-dev] [PATCH v5 1/4] net/i40e: cleanup Tx buffers

2019-12-26 Thread Chenxu Di
Add support to the i40e driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c| 1 + drivers/net/i40e/i40e_ethdev_vf.c | 1 + drivers/net/i40e/i40e_rxtx.c | 122

[dpdk-dev] [PATCH v5 0/4] drivers/net: cleanup Tx buffers

2019-12-26 Thread Chenxu Di
Add support to the drivers inclulding i40e, ice, ixgbe and igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. --- v2: added code about igb vf. v3: changed information of author v4: changed code. v5: fixed code and notes. removed code for fm10k. Chenxu Di (4

[dpdk-dev] [PATCH v4 5/5] net/e1000: cleanup Tx buffers

2019-12-23 Thread Chenxu Di
Add support to the igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/e1000/igb_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index

[dpdk-dev] [PATCH v4 4/5] net/ixgbe: cleanup Tx buffers

2019-12-23 Thread Chenxu Di
Add support to the ixgbe driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ixgbe/ixgbe_ethdev.c | 2 + drivers/net/ixgbe/ixgbe_rxtx.c | 121 +++ drivers/net/ixgbe/ixgbe_rxtx.h | 2

[dpdk-dev] [PATCH v4 2/5] net/i40e: cleanup Tx buffers

2019-12-23 Thread Chenxu Di
Add support to the i40e driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c| 1 + drivers/net/i40e/i40e_ethdev_vf.c | 1 + drivers/net/i40e/i40e_rxtx.c | 122

[dpdk-dev] [PATCH v4 0/5] drivers/net: cleanup Tx buffers

2019-12-23 Thread Chenxu Di
Add support to the drivers inclulding fm10k, i40e, ice, ixgbe and igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. --- v2: added code about igb vf. v3: changed information of author v4: changed code. Chenxu Di (5): net/fm10k: cleanup Tx buffers net/i40e

[dpdk-dev] [PATCH v4 3/5] net/ice: cleanup Tx buffers

2019-12-23 Thread Chenxu Di
Add support to the ice driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ice/ice_ethdev.c | 1 + drivers/net/ice/ice_rxtx.c | 123 +++ drivers/net/ice/ice_rxtx.h | 1 + 3 files

[dpdk-dev] [PATCH v4 1/5] net/fm10k: cleanup Tx buffers

2019-12-23 Thread Chenxu Di
Add support to the fm10k driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/fm10k/fm10k.h| 2 ++ drivers/net/fm10k/fm10k_ethdev.c | 1 + drivers/net/fm10k/fm10k_rxtx.c | 45

[dpdk-dev] [PATCH v3 4/5] net/ixgbe: cleanup Tx buffers

2019-12-19 Thread Chenxu Di
Add support to the ixgbe driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ixgbe/ixgbe_ethdev.c | 2 ++ drivers/net/ixgbe/ixgbe_rxtx.c | 39 drivers/net/ixgbe/ixgbe_rxtx.h | 2

[dpdk-dev] [PATCH v3 3/5] net/ice: cleanup Tx buffers

2019-12-19 Thread Chenxu Di
Add support to the ice driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ice/ice_ethdev.c | 1 + drivers/net/ice/ice_rxtx.c | 41 drivers/net/ice/ice_rxtx.h | 1 + 3 files

[dpdk-dev] [PATCH v3 2/5] net/i40e: cleanup Tx buffers

2019-12-19 Thread Chenxu Di
Add support to the i40e driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/i40e/i40e_ethdev.c| 1 + drivers/net/i40e/i40e_ethdev_vf.c | 1 + drivers/net/i40e/i40e_rxtx.c | 40

[dpdk-dev] [PATCH v3 5/5] net/e1000: cleanup Tx buffers

2019-12-19 Thread Chenxu Di
Add support to the igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/e1000/igb_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index

[dpdk-dev] [PATCH v3 1/5] net/fm10k: cleanup Tx buffers

2019-12-19 Thread Chenxu Di
Add support to the fm10k driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/fm10k/fm10k.h| 2 ++ drivers/net/fm10k/fm10k_ethdev.c | 1 + drivers/net/fm10k/fm10k_rxtx.c | 45

[dpdk-dev] [PATCH v3 0/5] drivers/net: cleanup Tx buffers

2019-12-19 Thread Chenxu Di
Add support to the drivers inclulding fm10k, i40e, ice, ixgbe and igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. --- v2: added code about igb vf. v3: changed infomation of author Chenxu Di (5): net/fm10k: cleanup Tx buffers net/i40e: cleanup Tx

[dpdk-dev] [PATCH v2 3/5] net/ice: cleanup Tx buffers

2019-12-19 Thread Chenxu Di
From: Di ChenxuX Add support to the ice driver for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/ice/ice_ethdev.c | 1 + drivers/net/ice/ice_rxtx.c | 41 drivers/net/ice/ice_rxtx.h

[dpdk-dev] [PATCH v2 5/5] net/e1000: cleanup Tx buffers

2019-12-19 Thread Chenxu Di
Add support to the igb vf for the API rte_eth_tx_done_cleanup to force free consumed buffers on Tx ring. Signed-off-by: Chenxu Di --- drivers/net/e1000/igb_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index

  1   2   >