From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay-out6.mail.masterhost.ru (relay-out6.mail.masterhost.ru [83.222.12.16]) by dpdk.org (Postfix) with ESMTP id 663884C8C for ; Mon, 30 Jul 2018 11:00:02 +0200 (CEST) Received: from [37.139.80.50] (helo=nw) by relay6.mail.masterhost.ru with esmtpa envelope from authenticated with alex@therouter.net message id 1fk41x-0003yX-Hi; Mon, 30 Jul 2018 11:59:53 +0300 Date: Mon, 30 Jul 2018 11:59:46 +0300 From: Alex Kiselev Message-ID: <331592539.20180730115946@therouter.net> To: users@dpdk.org, Ferruh Yigit MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Lua-Profiles: 127352 [Jul 30 2018] X-KLMS-AntiSpam-Version: 5.8.3.0 X-KLMS-AntiSpam-Envelope-From: alex@therouter.net X-KLMS-AntiSpam-Rate: 0 X-KLMS-AntiSpam-Status: not_detected X-KLMS-AntiSpam-Method: none X-KLMS-AntiSpam-Info: LuaCore: 154 154 10ac65fc0be4dc8fae28ad3bc2cab1531f7b62d5, {rep_avail}, DmarcAF: none X-MS-Exchange-Organization-SCL: -1 X-KLMS-AntiSpam-Interceptor-Info: scan successful X-KLMS-AntiPhishing: not scanned, disabled by settings X-KLMS-AntiVirus: Kaspersky Security for Linux Mail Server, version 8.0.2.16, not scanned, license restriction Subject: [dpdk-users] sending a mbuf clone to KNI 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: Mon, 30 Jul 2018 09:00:02 -0000 Hi. Is it safe to send a mbuf clone to a KNI interface? I had a lot of troubles while doing so. At first my KNI interfaces stoped working after a while while my application was still forwarding packets. Then my app started almost immediately crash. Then I changed a code a little bit and rather sending a mbuf clone to KNI I switched to sending a mbuf to KNI and send a mbuf clone to the second destination (another lcore). So far, this approach works good. So, I would say that it's not safe. But why? And is it safe to send a mbuf to KNI and its clone to another core at the same time? Thanks.