When enabling hardware outer UDP TX offload checksum, the EIPT judgment
is always true because ICE_TX_CTX_EIPT_NONE = 0x0.
This patch fixes it by checking the non-zero EIPT flag.
Fixes: 2ed011776334 ("net/ice: fix outer UDP Tx checksum offload")
Cc: sta...@dpdk.org
Signed-off-by:
resetting.
v2: fix windows compilation errors
v3: add fix tag
Fixes: 3e6a5d2d310a ("net/iavf: add devargs to enable VF auto-reset")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
---
drivers/net/iavf/iavf.h| 3 ++-
drivers/net/iavf/iavf_ethdev.c | 48 +++
resetting.
v2: fix windows compilation errors
Signed-off-by: Shiyang He
---
drivers/net/iavf/iavf.h| 3 ++-
drivers/net/iavf/iavf_ethdev.c | 48 +++---
2 files changed, 40 insertions(+), 11 deletions(-)
diff --git a/drivers/net/iavf/iavf.h b/drivers/net/iavf
resetting
and creating a separate thread to handle reset event.
Signed-off-by: Shiyang He
---
drivers/net/iavf/iavf.h| 4 +-
drivers/net/iavf/iavf_ethdev.c | 172 +
drivers/net/iavf/iavf_vchnl.c | 13 +--
3 files changed, 139 insertions(+), 50 deletions
ack online when it receives a PF-to-VF event.
v2: handling reset by event handler
v3: change reset process
v4: rebase
v5: change enable_auto_reset to auto_reset
Acked-by: Qi Zhang
Signed-off-by: Shiyang He
Signed-off-by: Liang-Min Larry Wang
---
doc/guides/nics/intel_vf.rst | 3 +
ack online when it receives a PF-to-VF event.
v2: handling reset by event handler
v3: change reset process
v4: rebase
v5: change enable_auto_reset to enable_reset
Acked-by: Qi Zhang
Signed-off-by: Shiyang He
Signed-off-by: Liang-Min Larry Wang
---
doc/guides/nics/intel_vf.rst |
ack online when it receives a PF-to-VF event.
v2: handling reset by event handler
v3: change reset process
v3: rebase
Signed-off-by: Shiyang He
Signed-off-by: Liang-Min Larry Wang
---
doc/guides/nics/intel_vf.rst | 3 +
doc/guides/rel_notes/release_23_11.rst | 3 +
drivers/net/i
ack online when it receives a PF-to-VF event.
v2: handling reset by event handler
v3: change reset process
v3: rebase
Signed-off-by: Shiyang He
Signed-off-by: Liang-Min Larry Wang
---
doc/guides/nics/intel_vf.rst | 3 +
doc/guides/rel_notes/release_23_11.rst | 3 +
drivers/net/i
ack online when it receives a PF-to-VF event.
v2: handling reset by event handler
v3: change reset process
Signed-off-by: Shiyang He
Signed-off-by: Liang-Min Larry Wang
---
doc/guides/nics/intel_vf.rst | 3 +
doc/guides/rel_notes/release_23_11.rst | 3 +
drivers/net/i
ack online when it receives a PF-to-VF event.
v2: using event handler to handle reset
Signed-off-by: Shiyang He
---
doc/guides/nics/intel_vf.rst | 3 +
doc/guides/rel_notes/release_23_11.rst | 3 +
drivers/net/iavf/iavf.h| 31 +
drivers/net/iavf/iav
ack online when it receives a PF-to-VF event.
Signed-off-by: Shiyang He
---
doc/guides/nics/intel_vf.rst | 3 +
drivers/net/iavf/iavf.h| 28 ++
drivers/net/iavf/iavf_ethdev.c | 166 +
drivers/net/iavf/iavf_rxtx.c | 25 +
drivers/net/iavf/i
Use getopt_long to parse the command line for ease of extension and
improved code readability.
Fixes: 623dc9364dc6 ("app/dma-perf: introduce DMA performance test")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
---
app/test-dma-perf/main.c | 60 ++--
l2_len is not calculated correctly on 32-bit systems, resulting in
packet forwarding failure.
This patch fixes this issue by changing the l2_len calculation.
Fixes: dd827fa42a30 ("app/testpmd: fix GTP L2 length in checksum engine")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
---
The TX descriptor of tunnel packet filled incorrectly due to the MACLEN
is not set.
This patch fixes this issue by setting MACLEN to correctly fill the
TX descriptor.
Fixes: c59faf3fe8fe ("net/i40e: support TSO on tunneling packet")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
--
The TX descriptor of tunnel packet filled incorrectly due to the MACLEN
is not set.
This patch fixes this issue by setting MACLEN to correctly fill the
TX descriptor.
Fixes: bd70c451532c ("net/ice: support Tx checksum offload for tunnel")
Cc: sta...@dpdk.org
Signed-off-by:
In checksum forwarding mode, the checksum of tunnel packet calculated
incorrectly when outer header is IPv6.
This patch fixes the issue by setting L4 checksum flag.
Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
---
ap
In checksum forwarding mode, the checksum of tunnel packet calculated
incorrectly when outer header is IPv6.
This pathch fixes the issue by setting L4 checksum flag.
Fixes: daa02b5cddbb ("mbuf: add namespace to offload flags")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
---
ap
Originally, when vf received PF-to-VF reset event, the iavf PMD did not
perform special actions, resulting in vf being offline and unavailable.
This commit handle the PF-to-VF reset event by performing all necessary
actions to bring the vf back online and available.
Signed-off-by: Shiyang He
closing the dev (refer to the kernel driver) .
Fixes: e436cd43835b ("net/iavf: negotiate large VF and request more queues")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
---
drivers/net/iavf/iavf_ethdev.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/net/iavf/iav
o_get'
to get queue state from shared memory.
Fixes: 3c4426db54fc ("app/testpmd: do not poll stopped queues")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
v2: Add function return value processing
v3: Add return value description
v4: Update queue state in 's
o_get'
to get queue state from shared memory.
Fixes: 3c4426db54fc ("app/testpmd: do not poll stopped queues")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
Acked-by: Yuying Zhang
v3: Add return value description
---
app/test-pmd/testpmd.c | 45 +
o_get'
to get queue state from shared memory.
Fixes: 3c4426db54fc ("app/testpmd: do not poll stopped queues")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
Acked-by: Yuying Zhang
v2: Add function return value processing
---
app/test-pmd/testpmd.c | 35 ++
This patch follows the code of ixgbe kernel driver so that it keeps the
firmware version obtained by dpdk-ethtool consistent with that obtained
by linux-ethtool.
Fixes: 8b0b56574269 ("net/ixgbe: add firmware version get")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
v2: follow t
The firmware version obtained by dpdk-ethtool is inconsistent with that
obtained by linux-ethtool.
This commit fixes the issue.
Fixes: 8b0b56574269 ("net/ixgbe: add firmware version get")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
---
drivers/net/ixgbe/ixgbe_ethdev.c | 2 +-
1 fi
o_get'
to get queue state from shared memory.
Fixes: a78040c990cb ("app/testpmd: update forward engine beginning")
Cc: sta...@dpdk.org
Signed-off-by: Shiyang He
---
app/test-pmd/testpmd.c | 29 +++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff -
25 matches
Mail list logo