From: Wei Ling <weix.ling@intel.com>
To: dts@dpdk.org
Cc: Wei Ling <weix.ling@intel.com>
Subject: [dts][PATCH V1 3/6] test_plans/dpdk_gro_lib_cbdma_test_plan: delete modify dpdk code by dpdk change
Date: Fri, 24 Jun 2022 01:31:42 -0400 [thread overview]
Message-ID: <20220624053142.2832084-1-weix.ling@intel.com> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 3184 bytes --]
According to the dpdk commit 1945c64674(app/testpmd: perform SW IP
checksum for GRO/GSO packets) and commit 8ba1723783(net/vhost:
perform SW checksum in Tx path), no need to modify DPDK code to test.
Signed-off-by: Wei Ling <weix.ling@intel.com>
---
test_plans/dpdk_gro_lib_cbdma_test_plan.rst | 50 ---------------------
1 file changed, 50 deletions(-)
diff --git a/test_plans/dpdk_gro_lib_cbdma_test_plan.rst b/test_plans/dpdk_gro_lib_cbdma_test_plan.rst
index 14aa5d3c..562ecdd0 100644
--- a/test_plans/dpdk_gro_lib_cbdma_test_plan.rst
+++ b/test_plans/dpdk_gro_lib_cbdma_test_plan.rst
@@ -45,52 +45,6 @@ This test plan includes dpdk gro lib test with TCP/IPv4 traffic with CBDMA.
Prerequisites
=============
-Modify the testpmd code as following::
-
- --- a/app/test-pmd/csumonly.c
- +++ b/app/test-pmd/csumonly.c
- @@ -693,10 +693,12 @@ pkt_burst_checksum_forward(struct fwd_stream *fs)
- * and inner headers */
-
- eth_hdr = rte_pktmbuf_mtod(m, struct ether_hdr *);
- +#if 0
- ether_addr_copy(&peer_eth_addrs[fs->peer_addr],
- ð_hdr->d_addr);
- ether_addr_copy(&ports[fs->tx_port].eth_addr,
- ð_hdr->s_addr);
- +#endif
- parse_ethernet(eth_hdr, &info);
- l3_hdr = (char *)eth_hdr + info.l2_len;
-
-Modify the dpdk code as following::
-
- diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c
- index b38a4b6b1..573250dbe 100644
- --- a/drivers/net/vhost/rte_eth_vhost.c
- +++ b/drivers/net/vhost/rte_eth_vhost.c
- @@ -1071,8 +1071,14 @@ eth_dev_info(struct rte_eth_dev *dev,
- dev_info->min_rx_bufsize = 0;
-
- dev_info->tx_offload_capa = DEV_TX_OFFLOAD_MULTI_SEGS |
- - DEV_TX_OFFLOAD_VLAN_INSERT;
- - dev_info->rx_offload_capa = DEV_RX_OFFLOAD_VLAN_STRIP;
- + DEV_TX_OFFLOAD_VLAN_INSERT |
- + DEV_TX_OFFLOAD_UDP_CKSUM |
- + DEV_TX_OFFLOAD_TCP_CKSUM |
- + DEV_TX_OFFLOAD_IPV4_CKSUM |
- + DEV_TX_OFFLOAD_TCP_TSO;
- + dev_info->rx_offload_capa = DEV_RX_OFFLOAD_VLAN_STRIP |
- + DEV_RX_OFFLOAD_TCP_CKSUM |
- + DEV_RX_OFFLOAD_UDP_CKSUM |
- + DEV_RX_OFFLOAD_IPV4_CKSUM |
- + DEV_RX_OFFLOAD_TCP_LRO;
- }
-
-Compile DPDK as following::
-
- CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib --default-library=static x86_64-native-linuxapp-gcc
- ninja -C x86_64-native-linuxapp-gcc -j 110
-
Test flow
=========
@@ -100,10 +54,6 @@ NIC2(In kernel) -> NIC1(DPDK) -> testpmd(csum fwd) -> Vhost -> Virtio-net
Test Case1: DPDK GRO test with two queues and two CBDMA channels using tcp/ipv4 traffic
=======================================================================================
-Test flow
-=========
-
-
1. Connect two nic port directly, put nic2 into another namesapce and turn on the tso of this nic port by below cmds::
ip netns del ns1
--
2.25.1
reply other threads:[~2022-06-24 5:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220624053142.2832084-1-weix.ling@intel.com \
--to=weix.ling@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).