diff mbox series

[V1,01/12] test_plans/dpdk_gro_lib: DPDK code prefix DEV change to RTE_ETH

Message ID 20211108162854.96466-2-linglix.chen@intel.com (mailing list archive)
State Changes Requested
Headers show
Series DPDK code prefix DEV change to RTE_ETH | expand

Commit Message

Chen, LingliX Nov. 8, 2021, 4:28 p.m. UTC
According to dpdk commit 295968d17("ethdev: add namespace"), DPDK code prefix DEV change to RTE_ETH.

Signed-off-by: Lingli Chen <linglix.chen@intel.com>
---
 test_plans/dpdk_gro_lib_test_plan.rst | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)
diff mbox series

Patch

diff --git a/test_plans/dpdk_gro_lib_test_plan.rst b/test_plans/dpdk_gro_lib_test_plan.rst
index bdbcdf62..658a15cb 100644
--- a/test_plans/dpdk_gro_lib_test_plan.rst
+++ b/test_plans/dpdk_gro_lib_test_plan.rst
@@ -96,19 +96,19 @@  Modify the dpdk code as following::
    @@ -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;
+     dev_info->tx_offload_capa = RTE_ETH_TX_OFFLOAD_MULTI_SEGS |
+   -       RTE_ETH_TX_OFFLOAD_VLAN_INSERT;
+   - dev_info->rx_offload_capa = RTE_ETH_RX_OFFLOAD_VLAN_STRIP;
+   +       RTE_ETH_TX_OFFLOAD_VLAN_INSERT |
+   +       RTE_ETH_TX_OFFLOAD_UDP_CKSUM |
+   +       RTE_ETH_TX_OFFLOAD_TCP_CKSUM |
+   +       RTE_ETH_TX_OFFLOAD_IPV4_CKSUM |
+   +       RTE_ETH_TX_OFFLOAD_TCP_TSO;
+   + dev_info->rx_offload_capa = RTE_ETH_RX_OFFLOAD_VLAN_STRIP |
+   +       RTE_ETH_RX_OFFLOAD_TCP_CKSUM |
+   +       RTE_ETH_RX_OFFLOAD_UDP_CKSUM |
+   +       RTE_ETH_RX_OFFLOAD_IPV4_CKSUM |
+   +       RTE_ETH_RX_OFFLOAD_TCP_LRO;
     }
 
 Test flow