<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-dumpcap not allowed to do multiple invocations on the same interface"
   href="https://bugs.dpdk.org/show_bug.cgi?id=1608">1608</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>dpdk-dumpcap  not allowed to do multiple invocations on the same interface
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>23.11
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>other
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>junwang01@cestc.cn
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div class="bz_comment_block">
          <pre class="bz_comment_text">In practical use, many scenarios may require distinguishing between inbound and
outbound traffic based on matching rules, which would necessitate calling
dpdk-dumpcap twice on the same interface. However, it seems that this is not
supported at the moment. Additionally, even when using the --file-prefix
option, the same limitation applies.


The first invocation:
[root@xgw-dpdk /]# /dpdk/app/dpdk-dumpcap -i 0000:21:00.0 
File: /tmp/dpdk-dumpcap_0_0000:21:00.0_20241227024137.pcapng
Capturing on '0000:21:00.0'
Packets captured: 108 ^C

The second invocation:
[root@xgw-dpdk /]# /dpdk/app/dpdk-dumpcap -i 0000:21:00.0 
File: /tmp/dpdk-dumpcap_0_0000:21:00.0_20241227024149.pcapng
pdump_prepare_client_request(): client request for pdump enable/disable failed
EAL: Error - exiting with code: 1
  Cause: Packet dump enable on 0:0000:21:00.0 failed File exists
          </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=1608">
          <meta itemprop="name" content="View bug">
        </div>
        <meta itemprop="description" content="Bugzilla bug update notification">
      </div>
    </body>
</html>