DPDK usage discussions
 help / color / mirror / Atom feed
From: Lokesh Chakka <lvenkatakumarchakka@gmail.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: users <users@dpdk.org>
Subject: Re: rte_eth_dev_stop crashing consistently
Date: Tue, 18 Feb 2025 09:48:37 +0530	[thread overview]
Message-ID: <CACh--sg7sTDwpjpO8FGJXPjEPDqUqV4sGwSy+60kOmW3jOstFw@mail.gmail.com> (raw)
In-Reply-To: <20250217075819.5d9af8df@hermes.local>

[-- Attachment #1: Type: text/plain, Size: 2246 bytes --]

hi,

I've done the build with "meson setup build --buildtype=debug".
I'm seeing a lot function names if I do "file build/lib/librte_eal.so"
version I'm working on is dpdk-stable-24.11.1

Inside, the code I've set rte_log_set_global_level(RTE_LOG_DEBUG);
while compiling the code, I've included "-lrte_eal -lrte_log -lrte_mbuf
-lrte_ethdev -lrte_me    mpool -mssse3" libraries.
Still I'm seeing only generic EAL Logs.

while executing, I'am using the command "sudo pmd_tx_rx -l 0-3 -n 4
--log-level=8"

still I'am always seeing only the following lines :

==========================================================
EAL: Detected CPU lcores: 16
EAL: Detected NUMA nodes: 1
EAL: Detected shared 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)
ICE_INIT: ice_load_pkg_type(): Active package is: 1.3.39.1, ICE OS Default
Package (single VLAN mode)
ICE_INIT: ice_load_pkg_type(): Active package is: 1.3.39.1, ICE OS Default
Package (single VLAN mode)
tx_all_threads_function 188 pkt size: 1500
ICE_DRIVER: ice_set_rx_function(): Using AVX2 Vector Rx (port 0).
==========================================================

could you please let me know if any more debug flags to be provided....


Thanks & Regards
--
Lokesh Chakka.


On Mon, Feb 17, 2025 at 9:28 PM Stephen Hemminger <
stephen@networkplumber.org> wrote:

> On Mon, 17 Feb 2025 18:36:07 +0530
> Lokesh Chakka <lvenkatakumarchakka@gmail.com> wrote:
>
> > Hello,
> >
> > I've written a few pieces of code for sending and receiving packets.
> > Here is the link for the same.
> >
> > If I try running only pmd_tx.c or only pmd_rx.c, I'm not seeing any
> crashes.
> > But if the same code is copied into dpdk_tx_rx.c, I'm seeing a consistent
> > crash.
> >
> > Can someone help me understand what I'm doing wrong?
> >
> >
> > Thanks & Regards
> > --
> > Lokesh Chakka.
>
> This is all your own code, so it is up to you to debug it.
> Did you try running in debugger (gdb) and/or enabling some of the debug
> flags in the DPDK build. The debug flags will cause more of the code paths
> to validate arguments.
>

[-- Attachment #2: Type: text/html, Size: 3288 bytes --]

  reply	other threads:[~2025-02-18  4:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-17 13:06 Lokesh Chakka
2025-02-17 15:58 ` Stephen Hemminger
2025-02-18  4:18   ` Lokesh Chakka [this message]
2025-02-19 13:39     ` Lokesh Chakka

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=CACh--sg7sTDwpjpO8FGJXPjEPDqUqV4sGwSy+60kOmW3jOstFw@mail.gmail.com \
    --to=lvenkatakumarchakka@gmail.com \
    --cc=stephen@networkplumber.org \
    --cc=users@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).