From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f174.google.com (mail-yk0-f174.google.com [209.85.160.174]) by dpdk.org (Postfix) with ESMTP id 51A8A559C for ; Tue, 10 Nov 2015 05:35:22 +0100 (CET) Received: by ykfs79 with SMTP id s79so69598249ykf.1 for ; Mon, 09 Nov 2015 20:35:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=callistech_com.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=bCLBU4OAnqmis9fDEmtlpQT+8IYA8l7SfItTYwy7eA8=; b=s+BIvuOwG2pvA0DfTnTi59Uc+IpdRAZ8Q3f9GosL4kjgcNUGq8SI6JYa+mBL7Lmfo9 s/5sv1EA0BOtAcWIlDBe0lMYT+xRvHQo1Qt3zKa4FaFGAj5410YFZGCB4gCgIt8DgUpQ TcOsU9Z0HVefUTinbeCE2iD+I56OqtushFZiszlL35yD2m/OCroU74GUYT7XRobMw/Nv DBJy2bfOvWu4nkBWk3snG5YiUCbDJHcDfVp52oicEXgvnibsdPYbem+xsK8hbmJHDY9/ dCNwlD2dZT+5mVOPwqQy0t99g4NqcxIEIOxTgWwVoHdnwJPZOH/zPe++DFyyZ33O+nfU HKBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=bCLBU4OAnqmis9fDEmtlpQT+8IYA8l7SfItTYwy7eA8=; b=Jetq/vRElhECP96Q/0zClw6DNuxNQAVYBoofebh2QeRUw3PzPbTLayv4uj00IqVBOE TSYK55z/vwUDdur51ouZq0knWzO8OvaoNb9oWLQBLQy7Nd8KrwwYivRA7o+LrwyjLqn+ 9dsUu4WG2vV6s2XDoAqq/1X76MWwHqmbcmpprnbE2qGnz8Jtl3iXCDP6O8KRP5qQ/zYL XQ4T2gm3WZD9bcRI80F5QQCHVoWkPtlEMUjOH5cOX8hJyOHUMIIHypiBPFn62jgGSDhK prUGN3VKjVvyb39EiWXvP0EIdsHt8XDK8yJiF9HB3ClxclOjtHd1A14/CCf0ReIj7N4a 4KYA== X-Gm-Message-State: ALoCoQlXb8KEOfVflndAVp1L4PPD3MogFG2KpspD9V2K+VoC4eoyo7T4qyKjoYnqvUwvmLX1THTb MIME-Version: 1.0 X-Received: by 10.13.204.134 with SMTP id o128mr1254108ywd.132.1447130121791; Mon, 09 Nov 2015 20:35:21 -0800 (PST) Received: by 10.13.204.203 with HTTP; Mon, 9 Nov 2015 20:35:21 -0800 (PST) Date: Tue, 10 Nov 2015 01:35:21 -0300 Message-ID: From: Ariel Rodriguez To: "dev@dpdk.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] URGENT please help. Issue on ixgbe_tx_free_bufs version 2.0.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2015 04:35:22 -0000 Dear dpdk experts. Im having a recurrent segmentation fault under the function ixgbe_tx_free_bufs (ixgbe_rxtx.c:150) (i enable -g3 -O0). Surfing the core dump i find out this: txep = &(txq->sw_ring[txq->tx_next_dd - (txq->tx_rs_thresh - 1)]); txq->tx_next_dd = 31 txq->txq->tx_rs_thresh=32 Obviosly txep points out to the first element but *(txep).mbuf == INVALID MBUF ADDRESS The same applies to *(txep+1).mbuf ; *(txep +2).mbuf;*(txep+3).mbuf from *(txep+4) .mbuf to *(txep+31).mbuf seems to be valid because im able to derefence the mbuf's Note: I disable CONFIG_RTE_IXGBE_INC_VECTOR because i gets similiar behavior , I thought the problem would disappear disabling that feature. the program always runs well up to 4 or 5 hours and then crash ... always in the same line. this is the backtrace of the program: #0 0x0000000000677a64 in rte_atomic16_read (v=0x47dc14c18b14) at /opt/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/generic/rte_atomic.h:151 #1 0x0000000000677c1d in rte_mbuf_refcnt_read (m=0x47dc14c18b00) at /opt/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:411 #2 0x000000000067a13c in __rte_pktmbuf_prefree_seg (m=0x47dc14c18b00) at /opt/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:778 #3 rte_pktmbuf_free_seg (m=0x47dc14c18b00) at /opt/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:810 #4 ixgbe_tx_free_bufs (txq=0x7ffb40ae52c0) at /opt/dpdk-2.0.0/lib/librte_pmd_ixgbe/ixgbe_rxtx.c:150 #5 tx_xmit_pkts (tx_queue=0x7ffb40ae52c0, tx_pkts=0x64534770 , nb_pkts=32) at /opt/dpdk-2.0.0/lib/librte_pmd_ixgbe/ixgbe_rxtx.c:256 #6 0x000000000067c6f3 in ixgbe_xmit_pkts_simple (tx_queue=0x7ffb40ae52c0, tx_pkts=0x64534570 , nb_pkts=80) at /opt/dpdk-2.0.0/lib/librte_pmd_ixgbe/ixgbe_rxtx.c:343 #7 0x00000000004ec93d in rte_eth_tx_burst (port_id=1 '\001', queue_id=0, tx_pkts=0x64534570 , nb_pkts=144) at /opt/dpdk-2.0.0/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:2572 frame 5 tx queue: print *txq {tx_ring = 0x7ffd9d3f1880, tx_ring_phys_addr = 79947569280, sw_ring = 0x7ffb40ae1280, tdt_reg_addr = 0x7fff0002a018, nb_tx_desc = 1024, tx_tail = 1008, tx_free_thresh = 32, tx_rs_thresh = 32, nb_tx_used = 0, last_desc_cleaned = 1023, nb_tx_free = 15, tx_next_dd = 31, tx_next_rs = 1023, queue_id = 0, reg_idx = 0, port_id = 1 '\001', pthresh = 32 ' ', hthresh = 0 '\000', wthresh = 0 '\000', txq_flags = 3841, ctx_curr = 0, ctx_cache = {{ flags = 0, tx_offload = {data = 0, {l2_len = 0, l3_len = 0, l4_len = 0, tso_segsz = 0, vlan_tci = 0}}, tx_offload_mask = {data = 0, {l2_len = 0, l3_len = 0, l4_len = 0, tso_segsz = 0, vlan_tci = 0}}}, {flags = 0, tx_offload = { data = 0, {l2_len = 0, l3_len = 0, l4_len = 0, tso_segsz = 0, vlan_tci = 0}}, tx_offload_mask = {data = 0, {l2_len = 0, l3_len = 0, l4_len = 0, tso_segsz = 0, vlan_tci = 0}}}}, ops = 0x7616d0 , tx_deferred_start = 0 '\000'} Please help me !!! Regards. Ariel Rodriguez.