DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Rapelly, Varun" <vrapelly@sonusnet.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Cc: "Hegde, Ganapati" <ghegde@sonusnet.com>
Subject: [dpdk-dev] AF_PACKET poll mode driver
Date: Tue, 12 Apr 2016 10:56:34 +0000	[thread overview]
Message-ID: <BY2PR0301MB1542037F2D4C1E51447529F3B7950@BY2PR0301MB1542.namprd03.prod.outlook.com> (raw)

Hi,

We are facing a problem in DPDK - AF_PACKET poll mode driver.

We are able to create RAW socket and receive RTP-Signaling packets successfully and our application is running fine.

But if we try doing scp to the same interface we are facing a crash.

The stack trace:

(gdb) bt
#0  __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:1644
#1  0x000000000059053e in eth_af_packet_rx (queue=0x7f6b2936c060, bufs=0x7f6b27df16e0, nb_pkts=32)
    at /software/src/cmn_thirdparty/Intel/DPDK/2.1/blddir/dpdk-2.1.0/drivers/net/af_packet/rte_eth_af_packet.c:186
#2  0x00000000004330aa in rte_eth_rx_burst (queue_id=0, nb_pkts=32, rx_pkts=0x7f6b27df16e0, port_id=0 '\000')
    at /software/src/cmn_thirdparty/Intel/DPDK/2.1/blddir/dpdk-2.1.0//x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2629
#3  drain_mgt_pkts (tim=<optimized out>, arg=<optimized out>) at bp.c:1157
#4  0x00000000004a33d4 in rte_timer_manage ()
#5  0x0000000000433953 in handle_timers () at bp.c:1101
#6  packet_capture_loop () at bp.c:1265
#7  0x0000000000434149 in ssbc_pkt_capture_launch_one_lcore (dummy=<optimized out>) at bp.c:1502
#8  0x00000000004d2755 in eal_thread_loop ()
#9  0x00007f6ba9c06b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#10 0x00007f6ba995095d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
(gdb) bt full
#0  __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:1644
No locals.
#1  0x000000000059053e in eth_af_packet_rx (queue=0x7f6b2936c060, bufs=0x7f6b27df16e0, nb_pkts=32)
    at /software/src/cmn_thirdparty/Intel/DPDK/2.1/blddir/dpdk-2.1.0/drivers/net/af_packet/rte_eth_af_packet.c:186
        ethVlan = 0x7f6ba3e550c0
        i = 7
        ppd = 0x7f6ba9410800
        mbuf = 0x7f6ba3e55840
        pbuf = 0x7f6ba9410842 <Address 0x7f6ba9410842 out of bounds>
        pkt_q = 0x7f6b2936c060
        num_rx = 7
        framecount = 512
        framenum = 291
#2  0x00000000004330aa in rte_eth_rx_burst (queue_id=0, nb_pkts=32, rx_pkts=0x7f6b27df16e0, port_id=0 '\000')
    at /software/src/cmn_thirdparty/Intel/DPDK/2.1/blddir/dpdk-2.1.0//x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2629
        temp = <optimized out>
        internal_af = <optimized out>
        dev = 0x8448ee0
        nb_rx = 0
        cb = <optimized out>



Please help us out regarding this issue.

I will provide more information if you require any in reproducing the issue.

Thanks,
Ganapati Hegde

                 reply	other threads:[~2016-04-12 10:56 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=BY2PR0301MB1542037F2D4C1E51447529F3B7950@BY2PR0301MB1542.namprd03.prod.outlook.com \
    --to=vrapelly@sonusnet.com \
    --cc=dev@dpdk.org \
    --cc=ghegde@sonusnet.com \
    /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).