From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172]) by dpdk.org (Postfix) with ESMTP id 917382BD1 for ; Sat, 8 Apr 2017 23:06:39 +0200 (CEST) Received: by mail-io0-f172.google.com with SMTP id t68so32549988iof.0 for ; Sat, 08 Apr 2017 14:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=JLYG2ydT4VC1Jsc5PGU7iOup8NUbDTFMQTiiR3RQp3Q=; b=TV6HkZDcvj8SZOp3pfQFmLzZWxV2a5sIUGm/gOMiPKTQLqPSBkCaCnpfGbxg/mN/44 Au14K1r8ehJtLHiMI0MzbWhx97eE29HiC3zUmy6hmGGEQNn0xHL33qyMlCqwj+6Kzf2v t2euOxWG/HNBzYDLnY3hAWMOKCBVRlyMFp8lNQXGkXK5unjLMP2UbNSu8YFJ1xojNUMp 1gvy0QBpxkV2oVIUoIJobXyRimgRQH5XmnxpRjtj4iRNUPQMJiCd+7TkD91kf1uQvTQ/ knz7Jo7mwHOzDnZ9zKwZD+CcrFpNNNsPq9H6g75ex385bhaNJJNDEMbvz9fyH6mNMQNc yYGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JLYG2ydT4VC1Jsc5PGU7iOup8NUbDTFMQTiiR3RQp3Q=; b=hW/qXoEbr5X8GNSkPY2ZnCdFiVUBZV3vvr7jCNvXQ1EwOaZvSm7iG/sJtzm+hqk5kv i8MDSvUgwDnoIbjzrgXYgRb9yeOoOUyWGcp/fsdNGN0MFfTkPtj8cxfIeluyoCNl+eOp QjJ0yI7n2GtqjwscztI+st10o1FKN4OTrM+mHP73SC2axy6MOV4D71vs8TBYJ0FXfWHX 88yNVlagan3RoeDmMtQGOfhfgyefUASoEYPIeikFtiPSZkQiMr4pip1agLipjZceJgK+ 0oGsreP/V++RlharoLDBwZbQiU8P9zno7JD7rPYqWy5CD8k/7Xy/mfjzEMEoDwB7UGu2 kaHA== X-Gm-Message-State: AFeK/H2YmE8hujrV8OxWhx0bzMmVwtc9rpYYVP0mOa58qjUrJm3A7tiFVL3rGch6w8QW61ox9MPpJ/9D0WEHtw== X-Received: by 10.107.173.169 with SMTP id m41mr44894881ioo.190.1491685598665; Sat, 08 Apr 2017 14:06:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.6.230 with HTTP; Sat, 8 Apr 2017 14:06:38 -0700 (PDT) From: Cliff Burdick Date: Sat, 8 Apr 2017 14:06:38 -0700 Message-ID: To: users Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] rte_eth_tx_burst not freeing mbufs X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2017 21:06:39 -0000 Hi, I have an application where I'm sending a very low rate (1pps) to certain ports just for gratuitous arp. I allocate a pktmbuf on a different core, send it through a ring to my tx core thread, and use rte_eth_tx_burst() to send that packet, and hopefully free. I've noticed that even though the packets are sent, the driver is never freeing the packets back to the mempool, which just throws errors when I try to allocate another one. I've tried playing with tx_conf.tx_free_thresh, but that didn't seem to have any effect. If I called rte_pktmbuf_free() right after sending, it appears to free just fine, although that's not a solution. Does anyone know what might cause this?