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
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
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
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
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.
Ting Xu (2):
net/ice/base: support add HW profile for RSS raw flow
net/ice: enable protocol agnostic flow
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.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_ethdev.h | 9 ++
drivers/net/ice/ice_hash.c | 286
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.
Ting Xu (3):
net/ice/base: support add HW profile for RSS raw flow
net/ice: enable protocol agnostic flow
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.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_ethdev.h | 9 ++
drivers/net/ice/ice_hash.c | 286
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.
Ting Xu (3):
net/ice/base: support add HW profile for RSS raw flow
net/ice: enable protocol agnostic flow
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.
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_ethdev.h | 9 ++
drivers/net/ice/ice_hash.c | 286
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.
Ting Xu (3):
net/ice/base: support add HW profile for RSS raw flow
net/ice: enable protocol agnostic flow
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 +
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.
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.
Ting Xu (2):
net/ice: enable protocol agnostic flow offloading in RSS
doc: add protocol agnostic flow offloading
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
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
.@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
.@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
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 | 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
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
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
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
---
drivers/net/ice/ice_dcf_sc
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
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
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
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
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
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
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
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
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
. 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
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
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
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
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
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
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
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
. 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
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
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
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
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
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
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
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
. 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
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
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
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
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
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
. 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
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
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
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
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
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
. 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
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
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
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
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
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
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
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
. 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 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
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/
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
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. Also add PPP and L2TPv2 to align with virtchnl.
Signed-off-by: Ting Xu
Fixes: e6a42fd9158b ("common/iavf: add protocol header for IP fragment
;)
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf_vchnl.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c
index 33d03af653..c17ae06227 100644
--- a/drivers/net/iavf/iavf_vch
: e436cd43835b ("net/iavf: negotiate large VF and request more queues")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf_fdir.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/net/iavf/iavf_fdir.c b/drivers/net/iavf/iavf_fdir.c
index f584e5624c..d683a468c1 10
out releasing directly. In this patch, rxrearm_nb is
initialized to be zero in rx queue reset.
Fixes: 319c421f3890 ("net/avf: enable SSE Rx Tx")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf_rxtx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/iav
Update release note for large VF, supporting up to 256 queue pairs per
VF.
Fixes: e436cd43835b ("net/iavf: negotiate large VF and request more queues")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
doc/guides/rel_notes/release_20_11.rst | 1 +
1 file changed, 1 insertion(+)
diff -
Update release note for large VF, supporting up to 256 queue pairs per VF.
Signed-off-by: Ting Xu
---
doc/guides/rel_notes/release_20_11.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/rel_notes/release_20_11.rst
b/doc/guides/rel_notes/release_20_11.rst
index 57e4b13ec0
The current virtchnl structure for enable/disable queues only supports
max 32 queue pairs. Use a new opcode and structure to indicate up to 256
queue pairs, in order to enable/disable queues in large VF case.
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h | 5 ++
drivers/net/iavf
-by: Ting Xu
---
drivers/net/iavf/iavf.h| 4 +++-
drivers/net/iavf/iavf_ethdev.c | 18 +-
drivers/net/iavf/iavf_vchnl.c | 11 ++-
3 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/drivers/net/iavf/iavf.h b/drivers/net/iavf/iavf.h
index 49ccfeece
region cannot be 16 anymore. Add the function to query max RSS queue
region from PF, use it in the RSS initialization and future filters
configuration.
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h| 7 +++-
drivers/net/iavf/iavf_ethdev.c | 74 --
drivers
virtchnl message multiple times if needed.
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h| 12 +---
drivers/net/iavf/iavf_ethdev.c | 50 +-
drivers/net/iavf/iavf_vchnl.c | 50 +++---
3 files changed, 97 insertions(+), 15
VSI queues, IRQ mapping and enable/disable queues.
Also, enable VF to query the max RSS queue region for RSS and filter
configuration.
Ting Xu (6):
net/iavf: handle virtchnl event message without interrupt
net/iavf: add IAVF request queues function
net/iavf: negotiate large VF and request more
by interrupt first, the request queues command cannot receive
the correct PF response and will wait until timeout. Therefore, disable
interrupt before requesting queues in order to handle the event message
asynchronously.
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h | 1 +
drivers
and handle
it with interrupt disabled.
To solve this issue, we add the virtchnl event message handling in the
process of reading vitchnl messages in adminq from PF.
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h | 8 ++
drivers/net/iavf/iavf_vchnl.c | 138
The current virtchnl structure for enable/disable queues only supports
max 32 queue pairs. Use a new opcode and structure to indicate up to 256
queue pairs, in order to enable/disable queues in large VF case.
Signed-off-by: Ting Xu
---
drivers/net/iavf/iavf.h | 5 ++
drivers/net/iavf
1 - 100 of 241 matches
Mail list logo