[dpdk-dev] AF_PACKET poll mode driver
Rapelly, Varun
vrapelly at sonusnet.com
Tue Apr 12 12:56:34 CEST 2016
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
More information about the dev
mailing list