The new virtchnl protocol header types for IPv4 and IPv6 fragment are
not added in order, which will break ABI. Move them to the end of the
list. Also add PPP and L2TPv2 to align with virtchnl.
Signed-off-by: Ting Xu
Fixes: e6a42fd9158b ("common/iavf: add protocol header for IP fragment
Added two virtchnl protocol header types for L2TPv2 and PPP to support
the RSS hash for PPPoL2TPv2oUDP.
Signed-off-by: Ting Xu
---
drivers/common/iavf/virtchnl.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h
index
The new virtchnl protocol header types for IPv4 and IPv6 fragment are
not added in order, which will break ABI. Move them to the end of the
list.
Signed-off-by: Ting Xu
Fixes: e6a42fd9158b ("common/iavf: add protocol header for IP fragment")
Cc: sta...@dpdk.org
---
drivers/c
The new virtchnl protocol header types for IPv4 and IPv6 fragment are
not added in order, which will break ABI. Move them to the end of the
list.
Signed-off-by: Ting Xu
Fixes: e6a42fd9158b ("common/iavf: add protocol header for IP fragment")
Cc: sta...@dpdk.org
---
drivers/c
. The scheduler tree will be passed to hardware to enable
all above functions.
Ting Xu (5):
common/iavf: support ETS-based QoS offload configuration
net/ice/base: support DCF query port ETS adminq
net/ice: support DCF link status event handling
net/ice: support QoS config VF bandwidth in DCF
continuous and all
allocated queues should be mapped.
Signed-off-by: Ting Xu
---
drivers/common/iavf/iavf_type.h | 2 +
drivers/common/iavf/virtchnl.h | 125
2 files changed, 127 insertions(+)
diff --git a/drivers/common/iavf/iavf_type.h b/drivers/common/iavf
In the adminq command query port ETS function, the root node teid is
needed. However, for DCF, the root node is not initialized, which will
cause error when we refer to the variable. In this patch, we will check
whether the root node is available or not first.
Signed-off-by: Ting Xu
---
drivers
When link status changes, DCF will receive virtchnl PF event message.
Add support to handle this event, change link status and update link
info.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.h| 6
drivers/net/ice/ice_dcf_ethdev.c | 54 ++--
drivers
This patch supports the ETS-based QoS configuration. It enables the DCF
to configure bandwidth limits for each VF VSI of different TCs. A
hierarchy scheduler tree is built with port, TC and VSI nodes.
Signed-off-by: Qiming Yang
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.c| 6
virtchnl.
Signed-off-by: Qiming Yang
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h| 45 +++
drivers/net/iavf/iavf_ethdev.c | 31 ++
drivers/net/iavf/iavf_tm.c | 663 +
drivers/net/iavf/iavf_vchnl.c | 56 ++-
drivers/net/iavf/meson.build | 1
. The scheduler tree will be passed to hardware to enable
all above functions.
Ting Xu (5):
common/iavf: support ETS-based QoS offload configuration
net/ice/base: support DCF query port ETS adminq
net/ice: support DCF link status event handling
net/ice: support QoS config VF bandwidth in DCF
continuous and all
allocated queues should be mapped.
Signed-off-by: Ting Xu
---
drivers/common/iavf/iavf_type.h | 2 +
drivers/common/iavf/virtchnl.h | 131
2 files changed, 133 insertions(+)
diff --git a/drivers/common/iavf/iavf_type.h b/drivers/common/iavf
In the adminq command query port ETS function, the root node teid is
needed. However, for DCF, the root node is not initialized, which will
cause error when we refer to the variable. In this patch, we will check
whether the root node is available or not first.
Signed-off-by: Ting Xu
---
drivers
When link status changes, DCF will receive virtchnl PF event message.
Add support to handle this event, change link status and update link
info.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.h| 6
drivers/net/ice/ice_dcf_ethdev.c | 54 ++--
drivers
This patch supports the ETS-based QoS configuration. It enables the DCF
to configure bandwidth limits for each VF VSI of different TCs. A
hierarchy scheduler tree is built with port, TC and VSI nodes.
Signed-off-by: Qiming Yang
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.c| 6
virtchnl.
Signed-off-by: Qiming Yang
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h| 45 +++
drivers/net/iavf/iavf_ethdev.c | 31 ++
drivers/net/iavf/iavf_tm.c | 667 +
drivers/net/iavf/iavf_vchnl.c | 56 ++-
drivers/net/iavf/meson.build | 1
. The scheduler tree will be passed to hardware to enable
all above functions.
Ting Xu (7):
common/iavf: support ETS-based QoS offload configuration
net/ice/base: support DCF query port ETS adminq
net/ice: support DCF link status event handling
net/ice: support QoS config VF bandwidth in DCF
continuous and all
allocated queues should be mapped.
Signed-off-by: Ting Xu
---
drivers/common/iavf/iavf_type.h | 2 +
drivers/common/iavf/virtchnl.h | 131
2 files changed, 133 insertions(+)
diff --git a/drivers/common/iavf/iavf_type.h b/drivers/common/iavf
In the adminq command query port ETS function, the root node teid is
needed. However, for DCF, the root node is not initialized, which will
cause error when we refer to the variable. In this patch, we will check
whether the root node is available or not first.
Signed-off-by: Ting Xu
---
drivers
When link status changes, DCF will receive virtchnl PF event message.
Add support to handle this event, change link status and update link
info.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.h| 6
drivers/net/ice/ice_dcf_ethdev.c | 54 ++--
drivers
This patch supports the ETS-based QoS configuration. It enables the DCF
to configure bandwidth limits for each VF VSI of different TCs. A
hierarchy scheduler tree is built with port, TC and VSI nodes.
Signed-off-by: Qiming Yang
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.c| 9
virtchnl.
Signed-off-by: Qiming Yang
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h| 46 +++
drivers/net/iavf/iavf_ethdev.c | 34 ++
drivers/net/iavf/iavf_tm.c | 714 +
drivers/net/iavf/iavf_vchnl.c | 56 ++-
drivers/net/iavf/meson.build | 1
Add check in the Tx packet preparation function, to guarantee that the
packet with specific user priority is distributed to the correct Tx
queue according to the configured Tx queue TC mapping.
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h | 10 +
drivers/net/iavf/iavf_rxtx.c
Add 21.08 release note for ETS-based Tx QoS
Signed-off-by: Ting Xu
---
doc/guides/rel_notes/release_21_08.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_08.rst
b/doc/guides/rel_notes/release_21_08.rst
index a6ecfdf3ce..35aa76a270 100644
--- a/doc
. The scheduler tree will be passed to hardware to enable
all above functions.
Ting Xu (7):
common/iavf: support ETS-based QoS offload configuration
net/ice/base: support DCF query port ETS adminq
net/ice: support DCF link status event handling
net/ice: support QoS config VF bandwidth in DCF
continuous and all
allocated queues should be mapped.
Signed-off-by: Ting Xu
---
drivers/common/iavf/iavf_type.h | 2 +
drivers/common/iavf/virtchnl.h | 131
2 files changed, 133 insertions(+)
diff --git a/drivers/common/iavf/iavf_type.h b/drivers/common/iavf
In the adminq command query port ETS function, the root node teid is
needed. However, for DCF, the root node is not initialized, which will
cause error when we refer to the variable. In this patch, we will check
whether the root node is available or not first.
Signed-off-by: Ting Xu
---
drivers
When link status changes, DCF will receive virtchnl PF event message.
Add support to handle this event, change link status and update link
info.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.h| 6
drivers/net/ice/ice_dcf_ethdev.c | 54 ++--
drivers
This patch supports the ETS-based QoS configuration. It enables the DCF
to configure bandwidth limits for each VF VSI of different TCs. A
hierarchy scheduler tree is built with port, TC and VSI nodes.
Signed-off-by: Qiming Yang
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.c| 9
virtchnl.
Signed-off-by: Qiming Yang
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h| 46 +++
drivers/net/iavf/iavf_ethdev.c | 34 ++
drivers/net/iavf/iavf_tm.c | 724 +
drivers/net/iavf/iavf_vchnl.c | 56 ++-
drivers/net/iavf/meson.build | 1
Add check in the Tx packet preparation function, to guarantee that the
packet with specific user priority is distributed to the correct Tx
queue according to the configured Tx queue TC mapping.
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h | 10 +
drivers/net/iavf/iavf_rxtx.c
Add 21.08 release note for ETS-based Tx QoS
Signed-off-by: Ting Xu
---
doc/guides/rel_notes/release_21_08.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_08.rst
b/doc/guides/rel_notes/release_21_08.rst
index a6ecfdf3ce..35aa76a270 100644
--- a/doc
. The scheduler tree will be passed to hardware to enable
all above functions.
Ting Xu (7):
common/iavf: support ETS-based QoS offload configuration
net/ice/base: support DCF query port ETS adminq
net/ice: support DCF link status event handling
net/ice: support QoS config VF bandwidth in DCF
continuous and all
allocated queues should be mapped.
Signed-off-by: Ting Xu
---
drivers/common/iavf/iavf_type.h | 2 +
drivers/common/iavf/virtchnl.h | 131
2 files changed, 133 insertions(+)
diff --git a/drivers/common/iavf/iavf_type.h b/drivers/common/iavf
In the adminq command query port ETS function, the root node teid is
needed. However, for DCF, the root node is not initialized, which will
cause error when we refer to the variable. In this patch, we will check
whether the root node is available or not first.
Signed-off-by: Ting Xu
---
drivers
When link status changes, DCF will receive virtchnl PF event message.
Add support to handle this event, change link status and update link
info.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.h| 6
drivers/net/ice/ice_dcf_ethdev.c | 54 ++--
drivers
This patch supports the ETS-based QoS configuration. It enables the DCF
to configure bandwidth limits for each VF VSI of different TCs. A
hierarchy scheduler tree is built with port, TC and VSI nodes.
Signed-off-by: Qiming Yang
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.c| 9
virtchnl.
Signed-off-by: Qiming Yang
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h| 46 +++
drivers/net/iavf/iavf_ethdev.c | 37 ++
drivers/net/iavf/iavf_tm.c | 730 +
drivers/net/iavf/iavf_vchnl.c | 56 ++-
drivers/net/iavf/meson.build | 1
Add check in the Tx packet preparation function, to guarantee that the
packet with specific user priority is distributed to the correct Tx
queue according to the configured Tx queue TC mapping.
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h | 10
drivers/net/iavf/iavf_rxtx.c
Add 21.08 release note for ETS-based Tx QoS
Signed-off-by: Ting Xu
---
doc/guides/rel_notes/release_21_08.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/rel_notes/release_21_08.rst
b/doc/guides/rel_notes/release_21_08.rst
index a6ecfdf3ce..35aa76a270 100644
--- a/doc
changed, bandwidth configuration will be replayed.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.c| 11 +--
drivers/net/ice/ice_dcf.h| 2 ++
drivers/net/ice/ice_dcf_ethdev.c | 1 -
drivers/net/ice/ice_dcf_parent.c | 3 ++
drivers/net/ice/ice_dcf_sched.c | 53
the step to configure DCF bandwidth.
Fixes: 3a5a5bfc618b ("net/ice: support QoS config VF bandwidth in DCF")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf_sched.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ice/ice_dcf
This patch fixed some unreasonable error check. Move all checks into one
helper function before configuring. Skip the check for DCF (VF0).
Fixes: 3a5a5bfc618b ("net/ice: support QoS config VF bandwidth in DCF")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf_sc
This patch fixed the unmatched interger type issue in the comparison,
which causing compilation failure on RHEL.
Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in DCF")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf_sched.c | 2 +-
1 file
This patch fixed some unreasonable error check. Move all checks into one
helper function before configuring. Skip the check for DCF (VF0).
Fixes: 3a5a5bfc618b ("net/ice: support QoS config VF bandwidth in DCF")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
v1->v2: rebase
---
dr
changed, bandwidth configuration will be replayed.
Signed-off-by: Ting Xu
---
v1->v2: rebase
---
drivers/net/ice/ice_dcf.c| 11 +--
drivers/net/ice/ice_dcf.h| 2 ++
drivers/net/ice/ice_dcf_ethdev.c | 1 -
drivers/net/ice/ice_dcf_parent.c | 3 ++
drivers/net/ice/ice_dcf_sche
stop. Then users can delete and add nodes to commit a new
TM hierarchy configuration.
Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in DCF")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf_ethdev.c | 7 +++
drivers/net/ice/ice_dcf_sched.c | 8 +
stop. Then users can delete and add nodes to commit a new
TM hierarchy configuration.
Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in DCF")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf_ethdev.c | 7 +++
drivers/net/ice/ice_dcf_sched.c | 8 +
Enable protocol agnostic flow offloading to support raw pattern input
for RSS hash flow rule creation. It is based on Parser Libary feature.
Current rte_flow raw API is utilized.
Ting Xu (3):
net/ice/base: support add HW profile for RSS raw flow
net/ice: enable protocol agnostic flow
Enable protocol agnostic flow offloading to support raw pattern input
for RSS hash flow rule creation. It is based on Parser Libary feature.
Current rte_flow raw API is utilized.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_hash.c | 182 -
1 file changed
Enable protocol agnostic flow offloading to support raw pattern input
for RSS hash flow rule creation. It is based on Parser Libary feature.
Current rte_flow raw API is utilized.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_ethdev.h | 9 ++
drivers/net/ice/ice_hash.c | 286
Protocol agnostic flow offloading for RSS hash is supported. Raw pattern
input can be used to create RSS hash flow rules, using current rte_flow
raw API.
Signed-off-by: Ting Xu
---
doc/guides/rel_notes/release_21_11.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/rel_notes
Enable protocol agnostic flow offloading to support raw pattern input
for RSS hash flow rule creation. It is based on Parser Libary feature.
Current rte_flow raw API is utilized.
Ting Xu (3):
net/ice/base: support add HW profile for RSS raw flow
net/ice: enable protocol agnostic flow
Based on the parser library, we can directly set HW profile and
associate VSI for RSS raw flows. Add symmetric hash configuration
for raw flow.
Signed-off-by: Ting Xu
---
drivers/net/ice/base/ice_flow.c | 109
drivers/net/ice/base/ice_flow.h | 16 +
2 files
Enable protocol agnostic flow offloading to support raw pattern input
for RSS hash flow rule creation. It is based on Parser Libary feature.
Current rte_flow raw API is utilized.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_ethdev.h | 9 ++
drivers/net/ice/ice_hash.c | 286
Protocol agnostic flow offloading for RSS hash is supported. Raw pattern
input can be used to create RSS hash flow rules, using current rte_flow
raw API.
Signed-off-by: Ting Xu
---
doc/guides/rel_notes/release_21_11.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/rel_notes
Enable protocol agnostic flow offloading to support raw pattern input
for RSS hash flow rule creation. It is based on Parser Library feature.
Current rte_flow raw API is utilized.
Ting Xu (3):
net/ice/base: support add HW profile for RSS raw flow
net/ice: enable protocol agnostic flow
Based on the parser library, we can directly set HW profile and
associate VSI for RSS raw flows. Add symmetric hash configuration
for raw flow.
Signed-off-by: Ting Xu
---
drivers/net/ice/base/ice_flow.c | 109
drivers/net/ice/base/ice_flow.h | 16 +
2 files
Enable protocol agnostic flow offloading to support raw pattern input
for RSS hash flow rule creation. It is based on Parser Library feature.
Current rte_flow raw API is utilized.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_ethdev.h | 9 ++
drivers/net/ice/ice_hash.c | 286
Protocol agnostic flow offloading for RSS hash is supported. Raw pattern
input can be used to create RSS hash flow rules, using current rte_flow
raw API.
Signed-off-by: Ting Xu
---
doc/guides/rel_notes/release_21_11.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/rel_notes
Enable protocol agnostic flow offloading to support raw pattern input
for RSS hash flow rule creation. It is based on Parser Library feature.
Current rte_flow raw API is utilized.
Ting Xu (2):
net/ice/base: support add HW profile for RSS raw flow
net/ice: enable protocol agnostic flow
Based on the parser library, we can directly set HW profile and
associate VSI for RSS raw flows. Add symmetric hash configuration
for raw flow.
Signed-off-by: Ting Xu
---
drivers/net/ice/base/ice_flow.c | 109
drivers/net/ice/base/ice_flow.h | 16 +
2 files
Enable protocol agnostic flow offloading to support raw pattern input
for RSS hash flow rule creation. It is based on Parser Library feature.
Current rte_flow raw API is utilized.
Signed-off-by: Ting Xu
---
doc/guides/rel_notes/release_21_11.rst | 1 +
drivers/net/ice/ice_ethdev.h
.@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf_tm.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/net/iavf/iavf_tm.c b/drivers/net/iavf/iavf_tm.c
index 558021014e..c2908986b9 100644
--- a/drivers/net/iavf/iavf_tm.c
+++ b/drivers/net/iavf
starts next time.
Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in DCF")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.c | 10 ++---
drivers/net/ice/ice_dcf.h | 1 +
drivers/net/ice/ice_dcf_sched.c | 39 ++
.@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf_tm.c | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/drivers/net/iavf/iavf_tm.c b/drivers/net/iavf/iavf_tm.c
index 558021014e..613c472619 100644
--- a/drivers/net/iavf/iavf_tm.c
+++ b/driver
.@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf_tm.c | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/drivers/net/iavf/iavf_tm.c b/drivers/net/iavf/iavf_tm.c
index 558021014e..3c80276ff3 100644
--- a/drivers/net/iavf/iavf_tm.c
+++ b/driver
Since the header type of IPv6 fragment is wrong, the L3 dst/src RSS hash
fields cannot work properly. This patch changed the header type from any
to outer.
Fixes: f1ea76eb6394 ("net/ice: support RSS hash for IP fragment")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drive
The memory size of bandwidth config parameters is not set correctly in
memory copy process, which leads to the wrong values. This patch fixed
the size to the correct value.
Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in DCF")
Signed-off-by: Ting Xu
---
drive
Enable protocol agnostic flow offloading to support raw pattern input
for RSS hash flow rule creation. It is based on Parser Libary feature.
Current rte_flow raw API is utilized.
Ting Xu (2):
net/ice: enable protocol agnostic flow offloading in RSS
doc: add protocol agnostic flow offloading
Enable protocol agnostic flow offloading to support raw pattern input
for RSS hash flow rule creation. It is based on Parser Libary feature.
Current rte_flow raw API is utilized.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_hash.c | 182 -
1 file changed
Protocol agnostic flow offloading for RSS hash is supported. Raw pattern
input can be used to create RSS hash flow rules, using current rte_flow
raw API.
Signed-off-by: Ting Xu
---
doc/guides/rel_notes/release_21_11.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/rel_notes
Inner IPv4 and IPv6 symmetric RSS hash is not valid for raw pattern.
This patch fixes the issue by adding the corresponding protocol ID
for inner IPv4/6.
Fixes: 0837da2e27ae ("net/ice/base: support add HW profile for RSS raw
flow")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drive
t;net/ice: enable protocol agnostic flow offloading in
FDIR")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_fdir_filter.c | 25 +++--
1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ice/ice_fdir_filter.c
b/drive
t;net/ice: enable protocol agnostic flow offloading in
FDIR")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_fdir_filter.c | 25 +++--
1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ice/ice_fdir_filter.c
b/drive
ned-off-by: Ting Xu
---
drivers/net/ice/ice_hash.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ice/ice_hash.c b/drivers/net/ice/ice_hash.c
index afbb357fa3..6b338dc3e1 100644
--- a/drivers/net/ice/ice_hash.c
+++ b/drivers/net/ice/ice_hash.c
@@ -656,6 +656,7 @@ ice_hash_parse_r
types.
Fixes: 672f321d09ed ("net/ice: support RSS hash for IP fragment")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_hash.c | 21 +++--
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/drivers/net/ice/ice_hash.c b/drivers/net/ice/
, this patch only selects one of the above two segment header types
based on rss types.
Fixes: 672f321d09ed ("net/ice: support RSS hash for IP fragment")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_hash.c | 21 +++--
1 file changed, 11 inserti
. The scheduler tree will be passed to hardware to enable
all above functions.
Ting Xu (5):
common/iavf: add support for ETS-based Tx QoS
net/ice/base: support DCF query port ETS adminq
net/ice: support DCF link status event handling
net/ice: support QoS config VF bandwidth in DCF
net/iavf
This patch adds support to configure ETS-based Tx QoS. Three parts of
new virtchnl structures and opcodes are added to achieve:
1. Configure VF TC bandwidth limits.
2. VF queries current QoS configuration from PF.
3. Set up VF queue TC mapping.
Signed-off-by: Ting Xu
---
drivers/common/iavf
In the adminq command query port ETS function, the root node teid is
needed. However, for DCF, the root node is not initialized, which will
cause error when we refer to the variable. In this patch, we will check
whether the root node is available or not first.
Signed-off-by: Ting Xu
---
drivers
When link status changes, DCF will receive virtchnl PF event message.
Add support to handle this event, change link status and update link
info.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.h| 6
drivers/net/ice/ice_dcf_ethdev.c | 54 ++--
drivers
This patch supports the ETS-based QoS configuration. It enables the DCF
to configure bandwidth limits for each VF VSI of different TCs. A
hierarchy scheduler tree is built with port, TC and VSI nodes.
Signed-off-by: Qiming Yang
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.c| 6
virtchnl.
Signed-off-by: Qiming Yang
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h| 45 +++
drivers/net/iavf/iavf_ethdev.c | 31 ++
drivers/net/iavf/iavf_tm.c | 675 +
drivers/net/iavf/iavf_vchnl.c | 56 ++-
drivers/net/iavf/meson.build | 1
flow director for IP fragment packet")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_fdir_filter.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ice/ice_fdir_filter.c
b/drivers/net/ice/ice_fdir_filter.c
index 092c704503..5cba56918a 100644
--- a/drive
bitmaps.
Fixes: 843452817561 ("net/ice/base: support IP fragment RSS and FDIR")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/base/ice_flow.c | 36 ++---
1 file changed, 20 insertions(+), 16 deletions(-)
diff --git a/drivers/net/ice/base/ic
t;net/ice: enable protocol agnostic flow offloading in
FDIR")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_fdir_filter.c | 25 +++--
1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ice/ice_fdir_filter.c
b/drive
This patch added new device IDs for C822N.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_ethdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
index de189daba..2cbd82c94 100644
--- a/drivers/net/ice/ice_ethdev.c
+++ b
ned-off-by: Ting Xu
---
drivers/net/ice/ice_dcf.c| 15 +++
drivers/net/ice/ice_dcf_ethdev.c | 4 +++-
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c
index 712f43825..2d803c57a 100644
--- a/drivers/net/ice
ned-off-by: Ting Xu
---
drivers/net/ice/ice_hash.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/net/ice/ice_hash.c b/drivers/net/ice/ice_hash.c
index 3433cab28c..3c84a6a73f 100644
--- a/drivers/net/ice/ice_hash.c
+++ b/drivers/net/ice/ice_hash.c
@@ -1044,
When create softnic hash table with 16 keys, it failed on 32bit
environment because of the structure rte_bucket_4_16 alignment
issue. Add __rte_cache_aligned to ensure correct cache align.
Fixes: 8aa327214c ("table: hash")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
lib/li
When create softnic hash table with 16 keys, it failed on 32bit
environment because of the structure rte_bucket_4_16 alignment
issue. Add __rte_cache_aligned to ensure correct cache align.
Fixes: 8aa327214c ("table: hash")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
v2->v3:
When create softnic hash table with 16 keys, it failed on 32bit
environment because of the structure rte_bucket_4_16 alignment
issue. Add __rte_cache_aligned to ensure correct cache align.
Fixes: 8aa327214c ("table: hash")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
v2->v3:
variable rss_conf
to avoid random address.
Fixes: b57b66a97ebf ("app/testpmd: support mbuf dynamic flag")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
app/test-pmd/testpmd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index
without reporting error.
Fixes: b8b4c54ef9b0 ("net/iavf: support flexible Rx descriptor in normal path")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf_vchnl.c | 44 +--
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/d
rss_conf
to avoid this situation.
Fixes: ac7c491c3fec ("app/testpmd: fix DCB config")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
v1->v2: modify commit log, move memset to else leg
---
app/test-pmd/testpmd.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/test-pmd/te
rss_conf
to avoid this situation.
Fixes: ac7c491c3fec ("app/testpmd: fix DCB config")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
v2->v3: move memset to rte_eth_dev_rss_hash_conf_get from testpmd
v1->v2: modify commit log, move memset to else leg
---
lib/librte_ethdev/rte_et
rss_conf
to avoid this situation.
Fixes: ac7c491c3fec ("app/testpmd: fix DCB config")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
V3->v4: fix build failure
v2->v3: move memset to rte_eth_dev_rss_hash_conf_get from testpmd
v1->v2: modify commit log, move memset t
: 16321de09396 ("ethdev: allow to get RSS hash functions and key")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
v4->v5: modify commit log
V3->v4: fix build failure
v2->v3: move memset to rte_eth_dev_rss_hash_conf_get from testpmd
v1->v2: modify commit log, move memset to else leg
stats for DCF
net/ice: set MAC filter during dev start for DCF
Ting Xu (1):
doc: enable DCF datapath configuration
doc/guides/rel_notes/release_20_08.rst | 5 +
drivers/net/ice/ice_dcf.c | 412 +-
drivers/net/ice/ice_dcf.h | 17 +
drivers/net/ice
1 - 100 of 241 matches
Mail list logo