<html>
    <head>
      <base href="https://bugs.dpdk.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - [dpdk-23.07] iavf performance drop 8%"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1254">1254</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[dpdk-23.07] iavf performance drop 8%
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DPDK
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>23.07
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>testpmd
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dev@dpdk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>yingyax.han@intel.com
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">Steps to reproduce

1.create vfs and bind to vfio-pci
echo 1 > /sys/bus/pci/devices/0000\:31\:00.0/sriov_numvfs
echo 1 > /sys/bus/pci/devices/0000\:4b\:00.0/sriov_numvfs
ip link set ens85f0 vf 0 spoofchk off
ip link set ens85f0 vf 0 trust on
ip link set ens93f0 vf 0 spoofchk off
ip link set ens93f0 vf 0 trust on

./usertools/dpdk-devbind.py -b vfio-pci 31:01.0 4b:01.0 

2.start testpmd with io fwd
dpdk-testpmd -l 5,6,7 -n 8 --force-max-simd-bitwidth=512 -- -i --txq=2 --rxq=2
--nb-cores=2
EAL: Detected CPU lcores: 128
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:31:01.0 (socket 0)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:4b:01.0 (socket 0)
TELEMETRY: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=163456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
iavf_configure_queues(): request RXDID[22] in Queue[0]
iavf_configure_queues(): request RXDID[22] in Queue[1]Port 0: link state change
eventPort 0: link state change eventPort 0: link state change eventPort 0: link
state change event
Port 0: 6A:CF:11:53:D5:96
Configuring Port 1 (socket 0)
iavf_configure_queues(): request RXDID[22] in Queue[0]
iavf_configure_queues(): request RXDID[22] in Queue[1]Port 1: link state change
eventPort 1: link state change eventPort 1: link state change eventPort 1: link
state change event
Port 1: 7E:4B:A0:11:25:5B
Checking link statuses...
Done
testpmd> start

3.Start transmit traffic from ixia.
transmit rate: 100%
frame size: 64
IP/fixed dst, ramdom src

4.Actual Result.
| Fwd_core | Frame Size | Throughput
| 2C/2T    | 64         | 80.7 Mpps 

5.Expected Result.
| Fwd_core | Frame Size | Throughput
| 2C/2T    | 64         | 87.9 Mpps 

6. DPDK Bad commit.
commit ed090599c8bdcf5788d3459a752f1bbac0cef176
Author: Tyler Retzlaff <<a href="mailto:roretzla@linux.microsoft.com">roretzla@linux.microsoft.com</a>>
Date:   Mon Mar 20 12:00:21 2023 -0700     

rework atomic intrinsics fetch operations
          </pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
      <div itemscope itemtype="http://schema.org/EmailMessage">
        <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
          
          <link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1254">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>