to whether
DEV_RX_OFFLOAD_KEEP_CRC is enabled.
Fixes: a5aeb2b9e225 ("net/igc: support Rx and Tx")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/igc/igc_txrx.c | 22 +-
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/drivers/net/igc/
rt of hash configuration for Fortville VF by
sending VIRTCHNL_OP_SET_RSS_HENA message to the PF after checking
that the PF does not support VIRTCHNL_VF_OFFLOAD_ADV_RSS_PF capability.
Fixes: c678299594a8 ("net/iavf: fix default RSS configuration")
Cc: sta...@dpdk.org
Signed-off-
hash configuration for i40e VF by sending
VIRTCHNL_OP_SET_RSS_HENA message to the PF after checking that the PF
does not support VIRTCHNL_VF_OFFLOAD_ADV_RSS_PF capability.
Fixes: c678299594a8 ("net/iavf: fix default RSS configuration")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
-
to whether
DEV_RX_OFFLOAD_KEEP_CRC is enabled.
Fixes: a5aeb2b9e225 ("net/igc: support Rx and Tx")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
v2: Refine the codes.
---
drivers/net/igc/igc_txrx.c | 30 --
1 file changed, 16 insertions(+), 14 deletion
hash configuration for i40e VF by sending
VIRTCHNL_OP_SET_RSS_HENA message to the PF after checking that the PF
does not support VIRTCHNL_VF_OFFLOAD_ADV_RSS_PF capability.
Fixes: c678299594a8 ("net/iavf: fix default RSS configuration")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
--
hash configuration for i40e VF by sending
VIRTCHNL_OP_SET_RSS_HENA message to the PF after checking that the PF
does not support VIRTCHNL_VF_OFFLOAD_ADV_RSS_PF capability.
Fixes: c678299594a8 ("net/iavf: fix default RSS configuration")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
--
hash configuration for i40e VF by sending
VIRTCHNL_OP_SET_RSS_HENA message to the PF after checking that the PF
does not support VIRTCHNL_VF_OFFLOAD_ADV_RSS_PF capability.
Fixes: c678299594a8 ("net/iavf: fix default RSS configuration")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
.@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/iavf/iavf_vchnl.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c
index 45096cb..6586fc3 100644
--- a/drivers/net/iavf/iavf_vchnl.c
+++ b/driver
not support VIRTCHNL_VF_OFFLOAD_ADV_RSS_PF
capability.
Fixes: c678299594a8 ("net/iavf: fix default RSS configuration")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
v2: Update commit log.
v3: Increase compatibility with old drivers.
v4: Fix compile issues.
v5:
As i40e support per queue MBUF_FAST_FREE, ice should have the
same implemenation.
Fixes: 6eac0b7fde95 ("net/ice: support advance Rx/Tx")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/ice/ice_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
As i40e support per queue MBUF_FAST_FREE, ice should have the
same implementation.
Fixes: 6eac0b7fde95 ("net/ice: support advance Rx/Tx")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/ice/ice_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
.@dpdk.org
Signed-off-by: Alvin Zhang
---
v2: Refine codes according to comments.
---
drivers/net/iavf/iavf.h | 4 ++--
drivers/net/iavf/iavf_vchnl.c | 18 --
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/drivers/net/iavf/iavf.h b/drivers/net/iavf/iavf.h
ind
VX512 offload path")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/ice/ice_rxtx.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/net/ice/ice_rxtx.c b/drivers/net/ice/ice_rxtx.c
index 92fbbc1..49abcb2 100644
--- a/drivers/net/ice/
atapath.
Fixes: 146ffa81d05e ("net/i40e: add Tx preparation for simple Tx datapath")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/i40e/i40e_rxtx.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/
Allow VLAN tag being added to L2 payload packet type RSS input set.
Fixes: ef4c16fd9148 ("net/i40e: refactor RSS flow")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/i40e/i40e_hash.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/driver
When the size of the packet is less than the minimum or greater
than the maximum, the packet will be counted twice in the error
packet counter.
Fixes: e6defdfddc3b ("net/igc: enable statistics")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/igc/igc_ethdev.c | 3 +
When the size of the packet is less than the minimum or greater
than the maximum, the packet will be counted twice in the error
packet counter.
Fixes: e6defdfddc3b ("net/igc: enable statistics")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/igc/igc_ethdev.c | 3 +
When the size of the packet is less than the minimum or greater
than the maximum, the packet will be counted twice in the error
packet counter.
Fixes: 70bdb18657da ("ethdev: add Rx error counters for missed, badcrc and
badlen packets")
Cc: sta...@dpdk.org
Signed-off-by: A
error packet twice
when counting the total number of received error packets.
Fixes: e6defdfddc3b ("net/igc: enable statistics")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
V2: Refine commit log
---
drivers/net/igc/igc_ethdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletion
error packet twice
when counting the total number of received error packets.
Fixes: 70bdb18657da ("ethdev: add Rx error counters for missed, badcrc and
badlen packets")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
V2: Refine commit log
---
drivers/net/e1000/em_ethdev.c | 3 +--
d
error packet twice
when counting the total number of received error packets.
Fixes: e6defdfddc3b ("net/igc: enable statistics")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
V2: Refine commit log
---
drivers/net/igc/igc_ethdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletion
error packet twice
when counting the total number of received error packets.
Fixes: 70bdb18657da ("ethdev: add Rx error counters for missed, badcrc and
badlen packets")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
V2: Refine commit log
---
drivers/net/e1000/em_ethdev.c | 3 +--
d
: fix max RX packet size and support dual VLAN")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/e1000/igb_ethdev.c | 5 ++---
drivers/net/e1000/igb_rxtx.c | 9 ++---
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers
t;igb: fix max RX packet size and support dual VLAN")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
V2: Update commit log
---
drivers/net/e1000/igb_ethdev.c | 5 ++---
drivers/net/e1000/igb_rxtx.c | 9 ++---
2 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers
ned-off-by: Alvin Zhang
---
drivers/net/i40e/i40e_hash.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/i40e/i40e_hash.c b/drivers/net/i40e/i40e_hash.c
index 6579b1a..508a2cf 100644
--- a/drivers/net/i40e/i40e_hash.c
+++ b/drivers/net/i40e/i40e_hash.c
@@ -28,6 +28,7 @
Signed-off-by: Alvin Zhang
---
v2: Update the flow pattern, the previous is "eth / ipv6_frag_ext",
now is "eth / ipv6 / ipv6_frag_ext"
---
doc/guides/nics/features/i40e.ini | 1 +
drivers/net/i40e/i40e_hash.c | 13 -
2 files changed, 13 insertions(+), 1
VRRP advertisement packets are dropped on i40e PF devices because
when a MAC address is added to a device, packets originating from
that MAC address are dropped. This patch disables source pruning to
work around that issue.
Signed-off-by: Alvin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 4
VRRP advertisement packets are dropped on i40e PF devices because
when a MAC address is added to a device, packets originating from
that MAC address are dropped.
This patch adds a devarg to support disabling source pruning to work
around above issue.
Signed-off-by: Alvin Zhang
---
doc/guides
VRRP advertisement packets are dropped on i40e PF devices because
when a MAC address is added to a device, packets originating from
that MAC address are dropped.
This patch adds a devarg to support disabling source pruning to work
around above issue.
Bugzilla ID: 648
Signed-off-by: Alvin Zhang
This patch adds a devarg parameter to enable/disable reducing the
Rx latency.
Signed-off-by: Alvin Zhang
---
doc/guides/nics/ice.rst | 8
drivers/net/ice/ice_ethdev.c | 26 +++---
drivers/net/ice/ice_ethdev.h | 1 +
3 files changed, 32 insertions(+), 3
uot;, this flow
causes all matching packets to be distributed to queues on
basis of IPv4 checksum.
Signed-off-by: Alvin Zhang
Reviewed-by: Qi Zhang
Acked-by: Ajit Khaparde
Acked-by: Aman Deep Singh
---
v6: rebase to eeedef70, update some note
v7: fix code style issues
v8: rebase to 22a9f34e67
ding, this patch updates it's
return type, then we can add some checks in it to confirm whether
the forwarding can be started. In addition, this patch puts the
calling part of the callback up to before some forwarding related
status being set.
Signed-off-by: Alvin Zhang
---
app/test-pmd/iee
e
all above conditions are meet.
Bugzilla ID: 797
Fixes: 79bec05b32b7 ("app/testpmd: add ability to split outgoing packets")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
app/test-pmd/txonly.c | 67 ++-
1 file changed, 55 insertions(+
This patch adds a devarg parameter to enable/disable low Rx latency.
Signed-off-by: Alvin Zhang
---
doc/guides/nics/ice.rst | 12
drivers/net/ice/ice_ethdev.c | 26 +++---
drivers/net/ice/ice_ethdev.h | 1 +
3 files changed, 36 insertions(+), 3 deletions
ding, this patch updates it's
return type, then we can add some checks in it to confirm whether
the forwarding can be started. In addition, this patch puts the
calling part of the callback up to before some forwarding related
status being set.
Signed-off-by: Alvin Zhang
---
app/test-pmd/flo
e
all above conditions are meet.
Bugzilla ID: 797
Fixes: 79bec05b32b7 ("app/testpmd: add ability to split outgoing packets")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
app/test-pmd/txonly.c | 67 ++-
1 file changed, 55 insertions(+
ding, this patch updates its
return value then we can add some checks in it to confirm whether
the forwarding can be started. In addition, this patch calls the
callback before the forwarding stats is reset and then launches the
forwarding engine.
Bugzilla ID: 797
Cc: sta...@dpdk.org
Signed-off
e
all above conditions are met.
Bugzilla ID: 797
Fixes: 79bec05b32b7 ("app/testpmd: add ability to split outgoing packets")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
app/test-pmd/txonly.c | 67 ++-
1 file changed, 55 insertions(+
ding, this patch updates its
return value then we can add some checks in it to confirm whether
the forwarding can be started. In addition, this patch calls the
callback before the forwarding stats is reset and then launches the
forwarding engine.
Bugzilla ID: 797
Cc: sta...@dpdk.org
Signed-off
e
all above conditions are met.
Bugzilla ID: 797
Fixes: 79bec05b32b7 ("app/testpmd: add ability to split outgoing packets")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
Acked-by: Xiaoyun Li
---
v5: fixes a compilation issue
---
app/test-pm
ding, this patch updates its
return value then we can add some checks in it to confirm whether
the forwarding can be started. In addition, this patch calls the
callback before the forwarding stats is reset and then launches the
forwarding engine.
Bugzilla ID: 797
Cc: sta...@dpdk.org
Signed-off
e
all above conditions are met.
Bugzilla ID: 797
Fixes: 79bec05b32b7 ("app/testpmd: add ability to split outgoing packets")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
Acked-by: Xiaoyun Li
---
v5: fixes a compilation issue
v6: update the commit summary and some logs
---
app/test-pm
This patch adds a devarg parameter to enable/disable low Rx latency.
Signed-off-by: Alvin Zhang
---
v3: rebase to dpdk-next-net-intel
---
doc/guides/nics/ice.rst | 12
drivers/net/ice/ice_ethdev.c | 26 +++---
drivers/net/ice/ice_ethdev.h | 1 +
3 files
Add supports for RSS_IPV4_CHKSUM & RSS_L4_CHKSUM RSS offload types
in RSS flow.
Signed-off-by: Alvin Zhang
---
v2: rebase to dpdk-next-net-intel
---
drivers/net/ice/ice_hash.c | 33 ++---
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/drivers/net
Add IPv4 header checksum field selector, it can be used in creating
FDIR or RSS rules related to IPv4 header checksum.
Signed-off-by: Alvin Zhang
---
v2: rebase to dpdk-next-net-intel
---
drivers/common/iavf/virtchnl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/common/iavf
Add supports for RSS_IPV4_CHKSUM & RSS_L4_CHKSUM RSS offload types
in RSS flow.
Signed-off-by: Alvin Zhang
---
v2: rebase to dpdk-next-net-intel
---
drivers/net/iavf/iavf_hash.c | 38 +++---
1 file changed, 31 insertions(+), 7 deletions(-)
diff --git a/dri
This patch adds a devarg parameter to enable/disable low Rx latency.
Signed-off-by: Alvin Zhang
---
v3: rebase to dpdk-next-net-intel
v4: rename arg rx-low-latency to rx_low_latency
---
doc/guides/nics/ice.rst | 12
drivers/net/ice/ice_ethdev.c | 26
This patch adds a devarg parameter to enable/disable low Rx latency.
Signed-off-by: Alvin Zhang
---
v3: rebase to dpdk-next-net-intel
v4: rename arg rx-low-latency to rx_low_latency
v5: rename macro ICE_RX_LOW_LATENCY to ICE_RX_LOW_LATENCY_ARG
---
doc/guides/nics/ice.rst | 12
Add supports for RSS_IPV4_CHKSUM & RSS_L4_CHKSUM RSS offload types
in RSS flow.
Signed-off-by: Alvin Zhang
---
v2: rebase to dpdk-next-net-intel
v3: add release note
---
doc/guides/rel_notes/release_21_11.rst | 3 ++-
drivers/net/ice/ice_hash.c
Add IPv4 header checksum field selector, it can be used in creating
FDIR or RSS rules related to IPv4 header checksum.
Signed-off-by: Alvin Zhang
---
v2: rebase to dpdk-next-net-intel
---
drivers/common/iavf/virtchnl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/common/iavf
Add supports for RSS_IPV4_CHKSUM & RSS_L4_CHKSUM RSS offload types
in RSS flow.
Signed-off-by: Alvin Zhang
---
v2: rebase to dpdk-next-net-intel
v3: add release note
---
doc/guides/rel_notes/release_21_11.rst | 4
drivers/net/iavf/iavf_hash.c
RXERR1' counter
when reporting DPDK statistics.
Fixes: f4a91c38b4ad ("i40e: add extended stats")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/i40e/i40e_ethdev.c | 16 +---
drivers/net/i40e/i40e_ethdev.h | 10 ++
2 files changed, 23 insertions
ster 'GL_RXERR1' can count above discarded packets.
This patch adds reading and calculation of the 'GL_RXERR1' counter
when reporting DPDK statistics.
Fixes: f4a91c38b4ad ("i40e: add extended stats")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/n
uot;, this flow
causes all matching packets to be distributed to queues on
basis of IPv4 checksum.
Signed-off-by: Alvin Zhang
Reviewed-by: Andrew Rybchenko
Acked-by: Ajit Khaparde
Acked-by: Aman Deep Singh
---
v3: Add L4 checksum RSS offload type
v4: Add doc and help string, update commit lo
ded to queue 2.
Signed-off-by: Alvin Zhang
---
drivers/net/ice/base/ice_switch.c | 31 ++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ice/base/ice_switch.c
b/drivers/net/ice/base/ice_switch.c
index 229b355..5926635 100644
--- a/drivers/
error result of above two commands and will print warnings
instead.
Fixes: 5a038d19962d ("net/iavf: fix RSS configuration on i40e VF")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/iavf/iavf_ethdev.c | 26 ++
1 file changed, 14 insertions(+), 12
error result of above two commands and will print warnings
instead.
Fixes: 5a038d19962d ("net/iavf: fix RSS configuration on i40e VF")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/iavf/iavf_ethdev.c | 34 ++
1 file changed, 22 inserti
This patch fixes coverity issue by directly passing the address
of the meter data to subfunction.
Coverity issue: 373858
Fixes: 91f27b2e39ab ("net/iavf: refactor RSS")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/iavf/iavf_hash.c | 5 ++---
1 file changed, 2 insert
This patch fixes coverity issue by directly passing the address
of the meter data to lower function.
Coverity issue: 373867
Fixes: 91f27b2e39ab ("net/iavf: refactor RSS")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/iavf/iavf_hash.c | 5 ++---
1 file changed, 2
This patch fixes coverity issue by directly passing the address
of the meter data to lower function.
Coverity issue: 373867
Fixes: 5ad3db8d4bdd ("net/ice: enable advanced RSS")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/ice/ice_hash.c | 5 ++---
1 file
This patch fixes coverity issue by directly passing the address
of the meta data to subfunction.
Coverity issue: 373867
Fixes: 5ad3db8d4bdd ("net/ice: enable advanced RSS")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/ice/ice_hash.c | 5 ++---
1 file changed, 2
rg
Signed-off-by: Alvin Zhang
---
drivers/net/ice/ice_ethdev.h | 1 +
drivers/net/ice/ice_rxtx.c | 19 +++
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ice/ice_ethdev.h b/drivers/net/ice/ice_ethdev.h
index 3a5bb9b..52daae0 100644
--- a/drive
rg
Signed-off-by: Alvin Zhang
---
drivers/net/ice/ice_ethdev.h | 1 +
drivers/net/ice/ice_rxtx.c | 19 +++
2 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/drivers/net/ice/ice_ethdev.h b/drivers/net/ice/ice_ethdev.h
index 3a5bb9b..52daae0 100644
--- a/drive
rg
Signed-off-by: Alvin Zhang
---
v3: Modify the patch according to comment.
---
drivers/net/ice/ice_ethdev.h | 1 +
drivers/net/ice/ice_rxtx.c | 10 ++
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ice/ice_ethdev.h b/drivers/net/ice/ice_ethdev.h
ind
x27;t enable/disable the TX VLAN
filter in the similar function ice_cfg_vlan_pruning.
This patch removes the setting about the TX VLAN filter in function
ice_vsi_config_vlan_filter.
Fixes: e0dcf94a0d7f ("net/ice: support VLAN ops")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
x27;t enable/disable the TX VLAN
filter in the similar function ice_cfg_vlan_pruning.
This patch removes the setting about the TX VLAN filter in function
ice_vsi_config_vlan_filter.
Fixes: e0dcf94a0d7f ("net/ice: support VLAN ops")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
uot;i40e: allow filtering on more IP header fields")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
v2: Update commit log
v3: Rename 'i40e_fd_get_field_offset' to
'i40e_get_inset_field_offset'
---
drivers/net/i40e/i40e_ethdev.c | 158
uot;i40e: allow filtering on more IP header fields")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
v2: Update commit log
v3: Rename 'i40e_fd_get_field_offset' to
'i40e_get_inset_field_offset'
---
drivers/net/i40e/i40e_ethdev.c | 158
ster 'GL_RXERR1' can count above discarded packets.
This patch adds reading and calculation of the 'GL_RXERR1' counter
when reporting DPDK statistics.
Fixes: f4a91c38b4ad ("i40e: add extended stats")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
v3:
uot;, this flow
causes all matching packets to be distributed to queues on
basis of IPv4 checksum.
Signed-off-by: Alvin Zhang
Acked-by: Ajit Khaparde
Acked-by: Aman Deep Singh
---
v5: Add release note and code commands.
---
app/test-pmd/cmdline.c | 4 ++-
app/test-pm
uot;, this flow
causes all matching packets to be distributed to queues on
basis of IPv4 checksum.
Signed-off-by: Alvin Zhang
Acked-by: Ajit Khaparde
Acked-by: Aman Deep Singh
---
v6: rebase to eeedef70, update some note
---
app/test-pmd/cmdline.c | 4 +++-
app/test-pm
uot;, this flow
causes all matching packets to be distributed to queues on
basis of IPv4 checksum.
Signed-off-by: Alvin Zhang
Acked-by: Ajit Khaparde
Acked-by: Aman Deep Singh
---
v6: rebase to eeedef70, update some note
v7: fix code style issues
---
app/test-pmd/cmdline.c | 4
Fixes: 79bec05b32b7 ("app/testpmd: add ability to split outgoing packets")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
app/test-pmd/config.c | 16 +++-
app/test-pmd/testpmd.c | 5 +
app/test-pmd/testpmd.h | 5 +
app/test-pmd/txonly.c | 7 +--
4 fi
Add supports for RSS_IPV4_CHKSUM & RSS_L4_CHKSUM RSS offload types
in RSS flow.
Signed-off-by: Alvin Zhang
---
drivers/net/ice/ice_hash.c | 33 ++---
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/drivers/net/ice/ice_hash.c b/drivers/net
Add IPv4 header checksum field selector, it can be used in creating
FDIR or RSS rules related to IPv4 header checksum.
Signed-off-by: Alvin Zhang
---
drivers/common/iavf/virtchnl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf
Add supports for RSS_IPV4_CHKSUM & RSS_L4_CHKSUM RSS offload types
in RSS flow.
Signed-off-by: Alvin Zhang
---
drivers/net/iavf/iavf_hash.c | 38 +++---
1 file changed, 31 insertions(+), 7 deletions(-)
diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/
Add DEV_RX_OFFLOAD_RSS_HASH flag to the PMD's Rx offload capabilities
for it supports RSS hash delivery.
Fixes: 4f09bc55ac3d ("net/igc: implement device base operations")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/igc/igc_ethdev.c | 3 +++
drivers/net/igc/i
2.
Signed-off-by: Alvin Zhang
---
drivers/net/ice/base/ice_switch.c | 31 ++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ice/base/ice_switch.c
b/drivers/net/ice/base/ice_switch.c
index 3dc7642..5a64cb7 100644
--- a/drivers/net/ice/base
If Tx vector mode is disabled, the txq vector mode should be
disabled too.
This patch adds checking of Tx vector mode before enabling txq
vector mode.
Fixes: 28f9002ab67f ("net/ice: add Tx AVX512 offload path")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
v2: Update
If vector mode is not allowed for Tx, no need to perform vector
related setup for Tx queue.
The patch deferred vector setup for Tx queue to the place that
vector mode is confirmed to be allowed.
Fixes: 28f9002ab67f ("net/ice: add Tx AVX512 offload path")
Signed-off-by: Alvin Zhang
This patch modifies the return status for unsupported VF messages,
in order to make it the same as the return status of the kernel driver.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/i40e/i40e_pf.c | 4 ++--
1 fi
uot;)
Signed-off-by: Alvin Zhang
---
drivers/net/iavf/iavf_vchnl.c | 13 ++---
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c
index ca5c56e..dfa7ce3 100644
--- a/drivers/net/iavf/iavf_vchnl.c
+++ b/drivers/n
Add VIRTCHNL_STATUS_ERR_NOT_IMPLEMENTED to enum virtchnl_status_code.
Fixes: e5b2a9e957e7 ("net/avf/base: add base code for avf PMD")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/common/iavf/virtchnl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/c
: 0c35eecfe8b5 ("net/iavf: fix VF to PF command failure handling")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/iavf/iavf_vchnl.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c
index 5d57e8
This patch modifies the return status for unsupported VF messages,
in order to make it the same as the return status of the kernel driver.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/i40e/i40e_pf.c | 4 ++--
1 fi
Add VIRTCHNL_STATUS_ERR_NOT_IMPLEMENTED to enum virtchnl_status_code.
Fixes: e5b2a9e957e7 ("net/avf/base: add base code for avf PMD")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/common/iavf/virtchnl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/c
: 0c35eecfe8b5 ("net/iavf: fix VF to PF command failure handling")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/iavf/iavf_vchnl.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c
index 5d57e8
This patch modifies the return status for unsupported VF messages,
in order to make it the same as the return status of the kernel driver.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/i40e/i40e_pf.c | 4 ++--
1 fi
Add VIRTCHNL_STATUS_ERR_NOT_IMPLEMENTED to enum virtchnl_status_code.
Fixes: e5b2a9e957e7 ("net/avf/base: add base code for avf PMD")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/common/iavf/virtchnl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/c
: 0c35eecfe8b5 ("net/iavf: fix VF to PF command failure handling")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/iavf/iavf_vchnl.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c
index 5d57e8
S")
Signed-off-by: Alvin Zhang
---
drivers/net/iavf/iavf_vchnl.c | 13 ++---
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c
index ca5c56e..dfa7ce3 100644
--- a/drivers/net/iavf/iavf_vchnl.c
+++ b/drivers/n
SK.
Fixes: 146ffa81d05e ("net/i40e: add Tx preparation for simple Tx datapath")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/i40e/i40e_rxtx.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i4
SK.
Fixes: 146ffa81d05e ("net/i40e: add Tx preparation for simple Tx datapath")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
v3: Update codes according to comments
---
drivers/net/i40e/i40e_rxtx.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --gi
The kernel driver supports VF RSS configuration message
"VIRTCHNL_OP_GET_RSS_HENA_CAPS and VIRTCHNL_OP_SET_RSS_HENA",
this patch adds PMD support for these messages.
Fixes: b81295c474b0 ("net/i40e: add user callback for VF to PF message")
Cc: sta...@dpdk.org
Signed
The kernel driver supports VF RSS configuration message
"VIRTCHNL_OP_GET_RSS_HENA_CAPS and VIRTCHNL_OP_SET_RSS_HENA",
this patch adds PMD support for these messages.
Fixes: b81295c474b0 ("net/i40e: add user callback for VF to PF message")
Cc: sta...@dpdk.org
Signed-off-by:
The kernel driver supports VF RSS configuration message
"VIRTCHNL_OP_GET_RSS_HENA_CAPS and VIRTCHNL_OP_SET_RSS_HENA",
this patch adds PMD support for these messages.
Fixes: b81295c474b0 ("net/i40e: add user callback for VF to PF message")
Cc: sta...@dpdk.org
Signed-off-by:
Fixed speed mode is not supported currently, this patch
removes configurations for this mode and adds fault handling
for ETH_LINK_SPEED_FIXED.
Fixes: 4f09bc55ac3d ("net/igc: implement device base operations")
Cc: sta...@dpdk.org
Signed-off-by: Alvin Zhang
---
drivers/net/igc/igc_eth
The kernel driver supports VF RSS configuration message
"VIRTCHNL_OP_GET_RSS_HENA_CAPS and VIRTCHNL_OP_SET_RSS_HENA",
this patch adds PMD support for these messages.
Fixes: b81295c474b0 ("net/i40e: add user callback for VF to PF message")
Cc: sta...@dpdk.org
Signed-off-by:
Add ETH_RSS_L3_CHKSUM macro.
Signed-off-by: Alvin Zhang
---
lib/ethdev/rte_ethdev.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index faf3bd9..4220ec5 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -537,6 +537,7
l matching packets to be distributed to queues on
basis of IPv4 checksum.
Signed-off-by: Alvin Zhang
---
app/test-pmd/cmdline.c | 2 ++
app/test-pmd/config.c | 1 +
lib/ethdev/rte_ethdev.h | 1 +
3 files changed, 4 insertions(+)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
ind
1 - 100 of 101 matches
Mail list logo