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.
Chenxu Di (5):
net/e1000: cleanup Tx buffers
net/fm10k: cleanup Tx buffers
net/i40e: cleanup Tx buffers
From: Di ChenxuX
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
From: Di ChenxuX
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
From: Di ChenxuX
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
, 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
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
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
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
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
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
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
.
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
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
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 +++
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
.
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
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
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
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 +++
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
__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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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: Di ChenxuX
---
drivers/net/ice/ice_ethdev.c | 1 +
drivers/net/ice/ice_rxtx.c | 41
drivers/net/ice/ice_rxtx.h
From: Di ChenxuX
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: Di ChenxuX
---
drivers/net/i40e/i40e_ethdev.c| 1 +
drivers/net/i40e/i40e_ethdev_vf.c | 1 +
drivers/net/i40e/i40e_rxtx.c | 40 +
From: Di ChenxuX
Add support to the drivers inclulding fm10k, i40e, ice, ixgbe
for the API rte_eth_tx_done_cleanup to
force free consumed buffers on Tx ring.
Di ChenxuX (4):
net/fm10k: cleanup Tx buffers
net/i40e: cleanup Tx buffers
net/ice: cleanup Tx buffers
net/ixgbe: cleanup Tx buf
From: Di ChenxuX
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: Di ChenxuX
---
drivers/net/fm10k/fm10k.h| 2 ++
drivers/net/fm10k/fm10k_ethdev.c | 1 +
drivers/net/fm10k/fm10k_rxtx.c | 45 ++
From: Di ChenxuX
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: Di ChenxuX
---
drivers/net/ixgbe/ixgbe_ethdev.c | 2 ++
drivers/net/ixgbe/ixgbe_rxtx.c | 39
drivers/net/ixgbe/ixg
")
Cc: sta...@dpdk.org
Signed-off-by: Chenxu Di
---
drivers/net/i40e/i40e_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 5999c964b..8b2500391 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/d
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
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
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
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
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
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
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
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
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
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
1 - 100 of 110 matches
Mail list logo